parameter error when running

asked 2020-11-14 17:44:24 -0500

rob.merritt@usask.ca gravatar image

updated 2020-12-18 13:38:26 -0500

gerkey gravatar image

Can you have a look at this error I am trying to run a Clearpath grizzly environment using

roslaunch grizzly_gazebo grizzly_empty_world.launch

[roslaunch][INFO] 2020-11-14 17:53:02,979: starting in server mode
[roslaunch.parent][INFO] 2020-11-14 17:53:02,980: starting roslaunch parent run
[roslaunch][INFO] 2020-11-14 17:53:02,980: loading roscore config file /opt/ros/kinetic/etc/ros/roscore.xml
[roslaunch][INFO] 2020-11-14 17:53:03,362: Added core node of type [rosout/rosout] in namespace [/]
[roslaunch.config][INFO] 2020-11-14 17:53:03,362: loading config file /opt/ros/kinetic/share/grizzly_gazebo/launch/grizzly_empty_world.launch
[roslaunch][INFO] 2020-11-14 17:53:03,394: Added node of type [gazebo_ros/gzserver] in namespace [/]
[roslaunch][INFO] 2020-11-14 17:53:03,396: Added node of type [gazebo_ros/gzclient] in namespace [/]
[roslaunch][ERROR] 2020-11-14 17:53:03,609: while processing /opt/ros/kinetic/share/grizzly_gazebo/launch/spawn_grizzly.launch:
while processing /opt/ros/kinetic/share/grizzly_control/launch/control.launch:
while processing /opt/ros/kinetic/share/grizzly_description/launch/description.launch:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [     /opt/ros/kinetic/lib/grizzly_description/env_run     /opt/ros/kinetic/share/grizzly_description/urdf/configs/empty     /opt/ros/kinetic/lib/xacro/xacro '/opt/ros/kinetic/share/grizzly_description/urdf/grizzly.urdf.xacro'     --inorder     robot_namespace:=/     urdf_extras:=     ] returned with code [2].

Param xml is <param command="     $(find grizzly_description)/scripts/env_run     $(find grizzly_description)/urdf/configs/$(arg config)     $(find xacro)/xacro '$(find grizzly_description)/urdf/grizzly.urdf.xacro'     --inorder     robot_namespace:=$(arg robot_namespace)     urdf_extras:=$(arg urdf_extras)     " name="robot_description"/>
[roslaunch][ERROR] 2020-11-14 17:53:03,609: The traceback for the exception was written to the log file
[roslaunch][ERROR] 2020-11-14 17:53:03,609: Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/__init__.py", line 308, in main
    p.start()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 268, in start
    self._start_infrastructure()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 217, in _start_infrastructure
    self._load_config()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 132, in _load_config
    roslaunch_strs=self.roslaunch_strs, verbose=self.verbose)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/config.py", line 453, in load_config_default
    raise RLException(e)
RLException: while processing /opt/ros/kinetic/share/grizzly_gazebo/launch/spawn_grizzly.launch:
while processing /opt/ros/kinetic/share/grizzly_control/launch/control.launch:
while processing /opt/ros/kinetic/share/grizzly_description/launch/description.launch:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [     /opt/ros/kinetic/lib/grizzly_description/env_run     /opt/ros/kinetic/share/grizzly_description/urdf/configs/empty     /opt/ros/kinetic/lib/xacro/xacro '/opt/ros/kinetic/share/grizzly_description/urdf/grizzly.urdf.xacro'     --inorder     robot_namespace:=/     urdf_extras:=     ] returned with code [2]. 

Param xml is <param command="     $(find grizzly_description)/scripts/env_run     $(find grizzly_description)/urdf/configs/$(arg config)     $(find xacro)/xacro '$(find grizzly_description)/urdf/grizzly.urdf.xacro'     --inorder     robot_namespace:=$(arg robot_namespace)     urdf_extras:=$(arg urdf_extras)     " name="robot_description"/>

[rospy.core][INFO] 2020-11-14 17:53:03,609: signal_shutdown [atexit]
edit retag flag offensive close merge delete

Comments

These error messages are really hard to read. Could you reformat them as code? (101010 button)

chfritz gravatar image chfritz  ( 2020-11-15 11:09:58 -0500 )edit

I don't have a Kinetic install handy for testing, but from tracing the errors, it would seem that this xacro invocation is throwing an error. I would start by running a simple version of that command at the command-line to see what happens, e.g.,

rosrun xacro xacro `rospack find grizzly_description`/urdf/grizzly.urdf.xacro

It should produce a bunch of XML to stdout.

gerkey gravatar image gerkey  ( 2020-12-18 13:48:05 -0500 )edit