-
Notifications
You must be signed in to change notification settings - Fork 4
Description
This Issue substitute: ipa320/ros-model-cloud#35
@aremazeilles
As discussed this repository holds python parsers for the ROS models.
The current version is a first draft of the parser which only works for models that contains an unique node (case if you use the HAROS extractor) and it support ros services and topics (missed parameters and actions).
I have added a help script to make easier for you the tests.
You just have to create the parser (giving as input the path to the .ros model file or directly a string with the content of the file) and then call parse:
the result (static_model) is an array that contains all the information found on the model, to filter the different interfaces you can call the get function with the key of the selected interface:
This is a very preliminary version, there is a lot of room for improvements but should be enough for the first tests, let me know if this approach can work for you!