HRIM icon indicating copy to clipboard operation
HRIM copied to clipboard

How to generate the MARA HRIM interface?

Open ricardotellez opened this issue 5 years ago • 2 comments

Hi, I have downloaded the MARA simulation and HRIM generated packages for messages.

I can see that in the generated directory, there are all the message packages required to make MARA run using the HRIM interface (generic, geometry, gripper, rotaryservo). However, if I have correctly understood, those packages have been generated by compiling the XML files that define the MARA interfaces, using the command: python3 hrim.py generate <some_xml_file>

Where can I get those XML files? They will be very useful for me in order to better understand how to create my own.

ricardotellez avatar Jan 19 '19 14:01 ricardotellez

Hello @ricardotellez, you can find most of the models at https://github.com/erlerobot/HRIM/tree/master/models. Is that what you're looking for?

There're only models yet and contributions are super welcome. Our team would be delighted to get your input!

vmayoral avatar Jan 19 '19 15:01 vmayoral

Thanks @vmayoral So if I have correctly understood, the generated packages for MARA are using the models defined in the https://github.com/erlerobot/HRIM/tree/master/models directory. Is that correct?

So in order to get the hrim_actuator_rotaryservo_msgs package of MARA, you just used the model of the servo defined in the servo.xml file and compiled it with:

python3 hrim.py generate models/actuator/servo/servo.xml

Is that correct?

ricardotellez avatar Jan 19 '19 16:01 ricardotellez