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

Mixed publishers for robot_state_publisher?

asked 2011-03-20 08:03:44 -0500

dornhege gravatar image

Is it OK to have different publishers publish different parts of the joint_states topic to a robot_state_publisher node?

Consider I have a URDF with a base link B and two joints X and Y attached to that. Can I have a nodeX that publishes to joint_states and only provides a JointState with name "X" and position for X and a different nodeY that publishes only JointState for "Y"?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-03-23 04:33:28 -0500

Wim gravatar image

updated 2011-03-23 07:14:59 -0500

This is a new feature that will first get released in Electric. You can already give it a try by downloading the development version:

hg clone https://kforge.ros.org/robotmodel/robot_model

edit flag offensive delete link more

Comments

Thanks, I'll try it.
dornhege gravatar image dornhege  ( 2011-03-26 04:51:20 -0500 )edit
1

answered 2011-03-23 07:21:15 -0500

David Lu gravatar image

More exactly, robot_state_publisher in its current state will not allow you to use two different joint_states with partial information.

More information in this ROS-users discussion

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2011-03-20 08:03:44 -0500

Seen: 437 times

Last updated: Mar 23 '11