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

Revision history [back]

Ehm, I guess we should take a closer look at this line:

robot = xml.dom.minidom.parseString(description).getElementsByTagName('robot')[0]

Maybe you should try another launchfile with a Joint state publisher, could be something wrong with your model (missing, or malformed robot tag).

You could also try my package: I have a robot in there ... robot state should work (it does for me with ros indigo on Ubuntu Trusty 64 Bits) (btw. my rviz file is a bit messed up)

https://github.com/Hacks4ROS/h4r_rapid_robot_xacros/blob/develop/launch/diff_drive_bot.launch

Ehm, I guess we should take a closer look at this line:

robot = xml.dom.minidom.parseString(description).getElementsByTagName('robot')[0]

Maybe you should try another launchfile with a Joint state publisher, could be something wrong with your model (missing, or malformed robot tag).

You could also try my package: I have a robot in there ... robot state should work (it does for me with ros indigo on Ubuntu Trusty 64 Bits) (btw. my rviz file is a bit messed up)

https://github.com/Hacks4ROS/h4r_rapid_robot_xacros/blob/develop/launch/diff_drive_bot.launch

Btw, are you sure your model is there?

I just tried what happpens when the robot model is not there -> robot state crashes.

Ehm, I guess we should take a closer look at this line:

robot = xml.dom.minidom.parseString(description).getElementsByTagName('robot')[0]

Maybe you should try another launchfile with a Joint state publisher, could be something wrong with your model (missing, or malformed robot tag).

You could also try my package: I have a robot in there ... robot state should work (it does for me with ros indigo on Ubuntu Trusty 64 Bits) (btw. my rviz file is a bit messed up)

https://github.com/Hacks4ROS/h4r_rapid_robot_xacros/blob/develop/launch/diff_drive_bot.launch

Btw, are you sure your model is there?

I just tried what happpens when the robot model is not there -> robot joint state publisher crashes.