Closed cardboardcode closed 2 years ago
The source of the error seems to be that the following .dae
3D model files were not properly filled out.
To resolve this quickly, please edit the concerned .dae
files concerning mecharm_pi robot model:
base.dae
link1.dae
link2.dae
link3.dae
link4.dae
link5.dae
link6.dae
For each file, remove the highlighted lines (as indicated by <---- REMOVE THIS ) below from all aforementioned files:
<?xml version="1.0" encoding="UTF-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset>
<contributor>
<author /> <---- REMOVE THIS
<authoring_tool>Rhinoceros 7.5.21082.11001</authoring_tool>
<comments>Output from Rhinoceros COLLADA Exporter</comments>
<copyright /> <---- REMOVE THIS
<source_data /> <---- REMOVE THIS
</contributor>
<created>2022-04-22T03:05:56Z</created>
<modified>2022-04-22T03:05:56Z</modified>
<unit meter="0.001" name="Millimeters" />
<up_axis>Z_UP</up_axis>
</asset>
As a proper fix for the long-term, it would be better to modify the .dae
files as follows:
<?xml version="1.0" encoding="UTF-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset>
<contributor>
<author>Elephant Robotics</author>
<authoring_tool>Rhinoceros 7.5.21082.11001</authoring_tool>
<comments>Output from Rhinoceros COLLADA Exporter</comments>
<copyright>Apache 2.0</copyright>
<source_data></source_data>
</contributor>
<created>2022-04-22T03:05:56Z</created>
<modified>2022-04-22T03:05:56Z</modified>
<unit meter="0.001" name="Millimeters" />
<up_axis>Z_UP</up_axis>
</asset>
Issue Description
Thank you for creating and maintaining this ROS1 support for the various Elephant Robotics robotic models. Would like to contribute to the development of this GitHub repository codebase by highlighting the following error encountered and offering both a quick short-term workaround as well as suggest a long-term fix for it constructively.
I will also make a pull request shortly to introduce the aforementioned workaround for the issue.
Unable to run
roslaunch mecharm_pi test.launch
ROS1 package. Critical error encountered in the corresponding.dae
files concerning mecharm _pi robot model.Environment
20.04
Steps to Reproduce Issue
Please run the commands below, given the environment mentioned above:
Expected Behaviour
RViz
starts up and visualizesmecharm_pi.urdf
as follows:Actual Behaviour
RViz
does not start up. The following error is outputted to terminal:Comments
The aforementioned short-term workaround and the long-term fix suggestion will be added below shortly.