Cannot run fetch gazebo simulator in Indigo
It has been almost 4~5 hours now for the error below: I have installed ros-indigo (from source) on my ubuntu 16.04 Now I am trying to run fetch gazebo simulator by running: "roslaunch fetch_gazebo simulation.launch" But, I cannot avoid the error msg below. Can anyone help me ?
... logging to /home/hankm/.ros/log/8316172e-1167-11e8-9a7f-107b448e8cda/roslaunch-retina-22849.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
Traceback (most recent call last):
File "/home/hankm/ros_catkin_ws/install_isolated/share/xacro/xacro.py", line 62, in <module>
xacro.main()
File "/home/hankm/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/xacro/__init__.py", line 687, in main
process_includes(doc, os.path.dirname(args[0]))
File "/home/hankm/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/xacro/__init__.py", line 246, in process_includes
filename_spec = eval_text(elt.getAttribute('filename'), {})
File "/home/hankm/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/xacro/__init__.py", line 485, in eval_text
results.append(handle_extension(lex.next()[1][2:-1]))
File "/home/hankm/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/xacro/__init__.py", line 473, in handle_extension
return eval_extension("$(%s)" % s)
File "/home/hankm/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/xacro/__init__.py", line 66, in eval_extension
return substitution_args.resolve_args(str, context=substitution_args_context, resolve_anon=False)
File "/home/hankm/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 316, in resolve_args
resolved = _resolve_args(resolved, context, resolve_anon, commands)
File "/home/hankm/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 329, in _resolve_args
resolved = commands[command](resolved, a, args, context)
File "/home/hankm/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 157, in _find
pkg_path = rp.get_path(args[0])
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 203, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: fetch_description
ROS path [0]=/home/hankm/ros_catkin_ws/install_isolated/share/ros
ROS path [1]=/home/hankm/ros_catkin_ws/install_isolated/share
ROS path [2]=/home/hankm/ros_catkin_ws/install_isolated/stacks
while processing /home/hankm/ros_catkin_ws/install_isolated/share/fetch_gazebo/launch/include/fetch.launch.xml:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [/home/hankm/ros_catkin_ws/install_isolated/share/xacro/xacro.py /home/hankm/ros_catkin_ws/install_isolated/share/fetch_gazebo/robots/fetch.gazebo.xacro] returned with code [1].
Param xml is <param command="$(find xacro)/xacro.py $(find fetch_gazebo)/robots/fetch.gazebo.xacro" name="robot_description"/>
The traceback for the exception was written to the log file
Just out of curiosity: why did you install Indigo from source on 16.04?
Indigo doesn't support ubuntu 16.04 if I am not mistaken...
That is true. But the question was more: what made you install Indigo in the first place?
Fetch recommends ubuntu 14.04 and ros indigo Unfortunately, my linux box has 16.04. And I do not want to go back to 14.04
Looks like work is underway to get things released on Kinetic: fetchrobotics/fetch_gazebo#15. According to the last few commits it should already work.
As to your problem: do you have the
fetch_description
package in your workspace?If you want to continue with your Indigo installation, I'd suggest creating an overlay workspace that extends your Indigo underlay. Then use regular
catkin_make
(orcatkin build
) again.According to their manual, I am supposed to install Indigo ( http://docs.fetchrobotics.com/gazebo.... ) I didn't know fetch_gazebo is updated for ros-kinect.
Let me try your suggestion. Then, I will get back to you.
If at all possibe, I'd try to get the packages to work under Kinetic. Using a source install of Indigo under Xenial is a bit convoluted.