-
Notifications
You must be signed in to change notification settings - Fork 231
Description
I submitted #117, which built successfully, then updated to use the new ${radians(foo)} syntax and it failed. The error was:
<?xml version="1.0" encoding="UTF-8"?>
<testsuite tests="1" failures="1" time="1" errors="0" name="roslaunch-check_test_roslaunch_test_lbr_iiwa_7_r800.xml.xml">
<testcase name="test_ran" status="run" time="1" classname="Results">
<failure message="roslaunch check [/root/catkin_ws/src/kuka_experimental/kuka_lbr_iiwa_support/test/roslaunch_test_lbr_iiwa_7_r800.xml] failed" type=""/>
</testcase>
<system-out><![CDATA[[
[/root/catkin_ws/src/kuka_experimental/kuka_lbr_iiwa_support/test/roslaunch_test_lbr_iiwa_7_r800.xml]:
while processing /root/catkin_ws/src/kuka_experimental/kuka_lbr_iiwa_support/launch/load_lbr_iiwa_7_r800.launch:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [/opt/ros/indigo/share/xacro/xacro.py '/root/catkin_ws/src/kuka_experimental/kuka_lbr_iiwa_support/urdf/lbr_iiwa_7_r800.xacro'] returned with code [1].
Param xml is <param command="$(find xacro)/xacro.py '$(find kuka_lbr_iiwa_support)/urdf/lbr_iiwa_7_r800.xacro'" name="robot_description"/>
]]></system-out>
</testsuite>
In comparing to other launch/load_robot.launch files, I noticed three differences:
- missing
<?xml version="1.0"?>tag at the top xacro.pyvsxacro- no
--inorderflag
That PR has had four build checks on Travis so far:
- 182: passed, none of the above
- 184: failed, none of the above, only change was from floats to
${radians(foo)} - 187: failed, added
xmltag and changed toxacro(no.py) - 188: passed, added
--inorderto the commit that ran in build test 187 above.
Looking at the documentation, I see:
Because --inorder processing is much more powerful, in future version beyond Jade, the new processing style will become default and you should check the compatibility of your xacro files. Usually, both processing styles should give identical results.
The docs suggest generating an xml for the .xacro with rosrun xacro xacro [--inorder] file.xacro, running diff on the output with and without the flag. For both the lbr_7_r800 (updated to new standards) and the existing lbr_14_r820 (with none of the three features bulleted above), I get no difference, so I'm confused on the build data.
In the end, it likely doesn't matter... if this is the new standard, I can update the ~10 grep hits I get for xacro.py and no --inorder flag. I'm documenting this for the benefit of others running into build errors around this.
Any input/suggestions?