ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosluanch turtlebot_bring minimal.launch

asked 2013-05-16 18:03:11 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I have some errors when I "rosluanch turtlebot_bring minimal.launch" Following message is the error message::

while processing /opt/ros/groovy/ros_catkin_ws/install_isolated/share/turtlebot/turtlebot_bringup/launch/includes/_robot.launch:
Invalid <arg> tag: xacro
ROS path [0]=/opt/ros/groovy/ros_catkin_ws/install_isolated/share/ros
ROS path [1]=/opt/ros/groovy/ros_catkin_ws/install_isolated/share/turtlebot
ROS path [2]=/opt/ros/groovy/ros_catkin_ws/install_isolated/share/turtlebot/
ROS path [3]=/opt/ros/groovy/ros_catkin_ws/install_isolated/share/turtlebot
ROS path [4]=/opt/ros/groovy/ros_catkin_ws/install_isolated/share
ROS path [5]=/opt/ros/groovy/ros_catkin_ws/install_isolated/stacks.
Arg xml is <arg default="$(find xacro)/xacro.py '$(find turtlebot_description)/robots/$(arg base)_$(arg stacks)_$(arg 3d_sensor).urdf.xacro'" name="urdf_file"/>

Dose anyone can help to solve it. Thank you very much!

edit retag flag offensive close merge delete

Comments

Do you have the packages turtlebot_description and xacro installed on your system ?

CarolineQ gravatar image CarolineQ  ( 2013-05-17 03:09:04 -0600 )edit

Can you explain what operating system you are on? Your path seems to indicate that you did a source install on your system. I believe that you will have a much easier time using the precompiled binaries if you are using Ubuntu.

mjcarroll gravatar image mjcarroll  ( 2013-05-20 10:21:11 -0600 )edit

Thank you for your response. My operating system is Ubuntu 12.04, but I don't know what you mean "Your path seems to indicate that you did .... precompiled binaries if you are using Ubuntu". Can you explain more detail? Thank you.

CharlesLiou gravatar image CharlesLiou  ( 2013-05-21 15:57:06 -0600 )edit

Are you using Ubuntu on a normal x86/x64 computer? If that is the case, then you should follow the instructions here to install ROS: http://ros.org/wiki/groovy/Installation/Ubuntu

mjcarroll gravatar image mjcarroll  ( 2013-05-22 03:40:52 -0600 )edit

I use ubuntu on PandaBoard and follow the tutorial to install ROS: http://www.ros.org/wiki/groovy/Installation/PandaBoard/Source

CharlesLiou gravatar image CharlesLiou  ( 2013-05-22 15:49:50 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-17 15:58:14 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Thank you, CarolineQ. I have turtlebot_description package and install xacro package after your suggestion. Then, I launch "rosluanch turtlebot_bring minimal.launch" again. But still have some error when I launch. Following message is the error message::

The bold type is the all message when I launch "rosluanch turtlebot_bring minimal.launch"

Traceback (most recent call last):
  File "/opt/ros/groovy/ros_catkin_ws/install_isolated/share/xacro/xacro.py", line 35, in <module>
    xacro.main()
  File "/opt/ros/groovy/ros_catkin_ws/install_isolated/share/xacro/src/xacro.py", line 554, in main
    process_includes(doc, os.path.dirname(sys.argv[1]))
  File "/opt/ros/groovy/ros_catkin_ws/install_isolated/share/xacro/src/xacro.py", line 193, in process_includes
    filename = eval_text(elt.getAttribute('filename'), {})
  File "/opt/ros/groovy/ros_catkin_ws/install_isolated/share/xacro/src/xacro.py", line 409, in eval_text
    results.append(handle_extension(lex.next()[1][2:-1]))
  File "/opt/ros/groovy/ros_catkin_ws/install_isolated/share/xacro/src/xacro.py", line 397, in handle_extension
    return eval_extension("$(%s)" % s)
  File "/opt/ros/groovy/ros_catkin_ws/install_isolated/share/xacro/src/xacro.py", line 53, in eval_extension
    return substitution_args.resolve_args(str, resolve_anon=False)
  File "/opt/ros/groovy/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 208, in resolve_args
    resolved = _find(resolved, a, args, context)
  File "/opt/ros/groovy/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 144, in _find
    return resolved[0:idx-len(arg)] + r.get_path(args[0]) + resolved[idx:]
  File "/usr/local/lib/python2.7/dist-packages/rospkg-1.0.19-py2.7.egg/rospkg/rospack.py", line 164, in get_path**

**raise ResourceNotFound(name, ros_paths=self._ros_paths) rospkg.common.ResourceNotFound: create_description**

**ROS path [0]=/opt/ros/groovy/ros_catkin_ws/install_isolated/share/ros
ROS path [1]=/opt/ros/groovy/ros_catkin_ws/install_isolated/share
ROS path [2]=/opt/ros/groovy/ros_catkin_ws/install_isolated/stacks
while processing /opt/ros/groovy/ros_catkin_ws/install_isolated/share/turtlebot/turtlebot_bringup/launch/includes/_robot.launch:**
**Invalid <param> tag: Cannot load command parameter [robot_description]: command [/opt/ros/groovy/ros_catkin_ws/install_isolated/share/xacro/xacro.py '/opt/ros/groovy/ros_catkin_ws/install_isolated/share/turtlebot/turtlebot_description/robots/kobuki_hexagons_kinect.urdf.xacro'] returned with code [1].
Param xml is < param command="$(arg urdf_file)" name="robot_description"/>
edit flag offensive delete link more

Comments

Don't you have any other message before this one ? I mean, I got this error few times, most of the time there was another line before that saying "package X is missing". This package could be for example kobuki_description... Did you install ROS with a full install ?

CarolineQ gravatar image CarolineQ  ( 2013-05-20 21:18:54 -0600 )edit

The bold type is the all message when I launch "rosluanch turtlebot_bring minimal.launch", but it doesn't seem to miss package. I follow this tutorial "http://www.ros.org/wiki/groovy/Installation/PandaBoard/Source" to install ROS.

CharlesLiou gravatar image CharlesLiou  ( 2013-05-21 16:29:41 -0600 )edit

In the tutorial step 3.1.1 Create a catkin Workspace, I install Robot (not ROS_Comm)

CharlesLiou gravatar image CharlesLiou  ( 2013-05-21 16:31:11 -0600 )edit

"ResourceNotFound: create_description" : You need to install the create_description package.

CarolineQ gravatar image CarolineQ  ( 2013-05-21 21:14:26 -0600 )edit

Thank CarolineQ! I already install create_description package.Then, another error: "ResourceNotFound: kobuki_description". But I can't install this package, I download this package from here "http://www.ros.org/wiki/kobuki_description", using "git clone".

CharlesLiou gravatar image CharlesLiou  ( 2013-05-22 17:31:44 -0600 )edit

After download it, I export ros path to "kobuki". But i still can't find "kobuki_description" package when I use "rospack find kobuki_description"

CharlesLiou gravatar image CharlesLiou  ( 2013-05-22 17:33:21 -0600 )edit

Maybe you need to build the package kobuki_description with make or rosmake. If you are using Ubuntu, is it not possible to do "sudo apt-get install kobuki" ?

CarolineQ gravatar image CarolineQ  ( 2013-05-22 21:21:30 -0600 )edit

Sorry, I don't know how to build the package which I use "git clone" from here "http://www.ros.org/wiki/kobuki"...

CharlesLiou gravatar image CharlesLiou  ( 2013-05-24 17:21:15 -0600 )edit

Question Tools

Stats

Asked: 2013-05-16 18:03:11 -0600

Seen: 2,250 times

Last updated: May 23 '13