ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
A fixed joint has no element in the /joint_states/position
array, as it cannot change from 0.0
(it's fixed, after all).
You could probably use the pose of your EEF as tracked by TF. Something like rosrun tf tf_echo CHAIN_START CHAIN_END
(where CHAIN_START
could be base_link
and CHAIN_END
the frame that represents your EEF) should give you the transform.
2 | No.2 Revision |
A fixed joint has no element in the /joint_states/position
array, as it cannot change from 0.0
(it's fixed, after all).
You could probably use the pose of your EEF as tracked by TF. Something like rosrun tf tf_echo CHAIN_START CHAIN_END
(where CHAIN_START
could be base_link
and CHAIN_END
the frame that represents your EEF) should give you the transform.
Edit:
how can i plot velocity of fixed joint ??
There is no entry in any of the arrays in a JointState
message for fixed joints. Again: they are fixed. No velocity
, acceleration
or effort
for these joints.
Note: I'm describing the typical situation (such as with joint_state_publisher
with gui:=true
). Whether all drivers do the same thing I cannot say, but it wouldn't make sense to me to publish joint values for something like a fixed joint.