Ugo-
Your email reminded me that I was thinking about adding this feature to joint_state_publisher. I've attached a version that I'll upload to our repository after a little more testing. 

    <node name="joint_state_publisher" type="joint_state_publisher" pkg="joint_state_publisher" output="screen">
        <param name="robot_description" textfile="model.urdf" />
        <rosparam param="source_list">[head_states, body_states]</rosparam>
    </node>

This is how I launch it to merge the JointStates published on head_states and body_states. 

Let me know how well it works. 

-David!!


On Wed, Jan 19, 2011 at 8:42 AM, Ugo Cupcic <ugo@shadowrobot.com> wrote:
Hi,

I have an arm and a hand publishing different joint_states messages and I'd like to merge them (having seen this discussion: http://ros-users.122217.n3.nabble.com/robot-state-publisher-with-joint-states-in-different-messages-does-not-compute-tf-for-all-joints-td1945465.html)

Is there an existing node to merge the joint_states messages, or do I need to implement mine?

Cheers,

Ugo

--
Ugo Cupcic | Shadow Robot Company | ugo@shadowrobot.com
Software Engineer | 251 Liverpool Road |
need a Hand? | London N1 1LX | +44 20 7700 2487
http://www.shadowrobot.com/hand/ @shadowrobot


_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users