You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The robot class is generated without the version attribute and if I run:
import urdf_parser_py
import xml
xml.etree.ElementTree.tostring(urdf_parser_py.urdf.URDF("robot_name").to_xml())
I got this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-x86_64/egg/urdf_parser_py/xml_reflection/core.py", line 588, in to_xml
File "build/bdist.linux-x86_64/egg/urdf_parser_py/xml_reflection/core.py", line 581, in write_xml
File "build/bdist.linux-x86_64/egg/urdf_parser_py/xml_reflection/core.py", line 554, in add_to_xml
File "build/bdist.linux-x86_64/egg/urdf_parser_py/xml_reflection/core.py", line 336, in add_to_xml
AttributeError: 'Robot' object has no attribute 'version'
Is it possible to set the default robot class with version attribute equal to 1.0?
In this way I can avoid to specify every time the robot version.
import urdf_parser_py
import xml
xml.etree.ElementTree.tostring(urdf_parser_py.urdf.URDF("robot_name", 1.0).to_xml())
I did these tests on melodic-devel branch
The text was updated successfully, but these errors were encountered:
The robot class is generated without the version attribute and if I run:
I got this error:
Is it possible to set the default robot class with version attribute equal to
1.0
?In this way I can avoid to specify every time the
robot version
.I did these tests on
melodic-devel
branchThe text was updated successfully, but these errors were encountered: