AcutronicRobotics / HRIM

An information model for robot hardware. Facilitates interoperability across modules from different robot manufacturers. Built around ROS 2.0
https://acutronicrobotics.com/technology/hrim/
Apache License 2.0
66 stars 22 forks source link

Update compiling, parsing, printing #18

Closed LanderU closed 5 years ago

LanderU commented 5 years ago

These updates avoid the following error:

lander@MacBook-Pro-de-Lander:/tmp/new_HRIM/HRIM (master)$ python hrim.py generate --platform ros2 all
Traceback (most recent call last):
  File "hrim.py", line 5, in <module>
    from printing import ModulePrinter
  File "scripts/printing.py", line 1, in <module>
    import lxml.etree as ET
ImportError: No module named lxml.etree

I know that this is on the README.md but just in case. Take or leave it, is just a suggestion.

ibaiape commented 5 years ago

I'd go through with this, maybe after reviewing https://github.com/erlerobot/HRIM/pull/21 (as this code would probably have to be modified). Also easy to add more platforms.

ahcorde commented 5 years ago

@ibaiape please review this PR