Ask Your Question
0

ros-by-example vol2. roslaunch in CH4 xacro error

asked 2016-11-03 04:29:56 -0500

shawnysh gravatar image

updated 2016-11-03 05:18:11 -0500

mgruhler gravatar image

ros-by-example vol2.

CH4 CREATING A URDF MODEL FOR YOUR ROBOT

The command line is shown below:

$ roslaunch rbx2_description box_robot_base_only.launch

The error message is shown below:

 root@ShawnVM:~/catkin_ws/src/rbx2/rbx2_dynamixels# roslaunch rbx2_description box_robot_base_only.launch 
... logging to /root/.ros/log/0d82b658-a196-11e6-9533-000c290a3fdb/roslaunch-ShawnVM-48840.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.

Invalid <arg> tag: xacro
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/root/catkin_ws/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks. 

Arg xml is <arg default="$(find xacro)/xacro.py '$(find rbx2_description)/urdf/box_robot/box_robot_base_only.xacro'" name="urdf_file"/>
The traceback for the exception was written to the log file
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-11-03 05:35:44 -0500

shawnysh gravatar image

I have solved this problem.

The problem was caused by NOT doing roscd pkg-name before roslaunch . Thus, file cannot be loaded correctly.

Another solution is using absolute path.

Reference to :http://answers.ros.org/question/141466/error-in-building-a-visual-robot-model-with-urdf-from-scratch/

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-11-03 04:29:56 -0500

Seen: 82 times

Last updated: Nov 03 '16