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

Error during turtlebot launch

asked 2017-12-27 07:15:54 -0600

Nebula gravatar image

updated 2018-02-08 00:24:22 -0600

clyde gravatar image

I am trying to run:-

roslaunch turtlebot_gazebo turtlebot_world.launch

but I am getting following error:-

from defusedxml.xmlrpc import monkey_patch
ImportError: No module named defusedxml.xmlrpc
while processing /opt/ros/kinetic/share/turtlebot_gazebo/launch/includes/kobuki.launch.xml:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [/opt/ros/kinetic/share/xacro/ '/opt/ros/kinetic/share/turtlebot_description/robots/kobuki_hexagons_asus_xtion_pro.urdf.xacro'] returned with code [1]. 

Param xml is <param command="$(arg urdf_file)" name="robot_description"/>
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

answered 2017-12-27 12:26:31 -0600

bpinaya gravatar image

What ROS version are you using? Kinetic? I assume you are running it in Ubuntu? Did you do the full install? Do you have Miniconda or Anaconda installed?

If you answer those questions more help can be provided, since the released packages for turtlebot work with no troubles in Kinetic, I've used them many times.

edit flag offensive delete link more



I did full install of Kinetic.I have Anaconda. Although I solved this problem by pip install defusedxml. Now I can run the simulator but I got [ERROR] [1514443066.744419842]: Skipped loading plugin with error: XML Document '/opt/ros/kinetic/share/gmapping/nodelet_plugins.xml' has no Root Element

Nebula gravatar image Nebula  ( 2017-12-28 00:51:19 -0600 )edit

Question Tools

1 follower


Asked: 2017-12-27 07:15:54 -0600

Seen: 472 times

Last updated: Dec 27 '17