CentroEPiaggio / kuka-lwr

Software related to the KUKA LWR 4+: for real and for simulation.
The Unlicense
101 stars 81 forks source link

xacro issue: unexpected EOF while parsing #47

Closed xwavex closed 8 years ago

xwavex commented 8 years ago

Hi folks, I am trying to launch the latest version of the simulation example: roslaunch --ros-args single_lwr_launch single_lwr.launch Unfortunately, this gives me the following error while parsing the utils.xacro file... unexpected EOF while parsing (<string>, line 1) when evaluating expression 'mass * (3 * radius * radius + length * length) / 12)'

Any ideas how to solve this issue?

Below you can find the full log: Traditional processing is deprecated. Switch to --inorder processing! To check for compatibility of your document, use option --check-order. For more infos, see http://wiki.ros.org/xacro#Processing_Order inconsistent namespace redefinitions for xmlns:xacro: old: http://www.ros.org/wiki/xacro new: http://ros.org/wiki/xacro (/homes/rosws/kukapisaWS/src/kuka-lwr/lwr_description/model/kuka_materials.xacro) inconsistent namespace redefinitions for xmlns:xacro: old: http://www.ros.org/wiki/xacro new: http://ros.org/wiki/xacro (/homes/rosws/kukapisaWS/src/kuka-lwr/lwr_description/model/kuka_lwr.gazebo.xacro) inconsistent namespace redefinitions for xmlns:xacro: old: http://www.ros.org/wiki/xacro new: http://ros.org/wiki/xacro (/homes/rosws/kukapisaWS/src/kuka-lwr/lwr_description/model/kuka_lwr.transmission.xacro) unexpected EOF while parsing (<string>, line 1) when evaluating expression 'mass (3 radius radius + length length) / 12)' when instantiating macro: cylinder_inertia_def (/homes/rosws/kukapisaWS/src/kuka-lwr/single_lwr_example/single_lwr_robot/robot/single_lwr_robot.urdf.xacro) instantiated from: kuka_lwr (/homes/rosws/kukapisaWS/src/kuka-lwr/single_lwr_example/single_lwr_robot/robot/single_lwr_robot.urdf.xacro) in file: /homes/rosws/kukapisaWS/src/kuka-lwr/single_lwr_example/single_lwr_robot/robot/single_lwr_robot.urdf.xacro Invalid <param> tag: Cannot load command parameter [robot_description]: command [/vol/nirobots/ros/indigo/share/xacro/xacro.py /homes/rosws/kukapisaWS/src/kuka-lwr/single_lwr_example/single_lwr_robot/robot/single_lwr_robot.urdf.xacro] returned with code [2]. Param xml is <param command="$(find xacro)/xacro.py $(find single_lwr_robot)/robot/$(arg robot_name).urdf.xacro" name="robot_description"/>

xwavex commented 8 years ago

In the file utils.xacro are too many closing brackets making this file invalid.