Remapping of arguments for turtlebot
Hello,
I am building a turtlebot and have designed an URDF Model for that. The robot has a pan and tilt unit to move a camera which can be keyboard controlled with a script. After starting the script I remapped the /joint_states message to /ptu/status (puplished by script), in order to get an visualization of the camera movement in Rviz.
The joint_states message looks the following:
header:
seq: 279
stamp:
secs: 1380799404
nsecs: 76824903
frame_id: ''
name: ['tilt', 'wheel_left', 'wheel_right', 'pan']
position: [0.0, 0.0, 0.0, 0.0]
velocity: []
effort: []
ptu/status looks like:
header:
seq: 11425
stamp:
secs: 1380799470
nsecs: 45985937
frame_id: ''
name: ['pan', 'tilt']
position: [0.0, 0.1564660403643354]
velocity: [0.0, 0.0]
effort: []
The problem is that after the mapping I lose the message for wheel_left/right. How can I fix this problem?
Thanks for helping!