ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The arrays of Float64 data in sensor_msgs/JointState are represented by a std::vector<double>
when using roscpp. You should thus be able to get the length of the vector by calling YOUR_MSG.velocity.size()
.
The "velocity disappearance" issue sounds like a bug to me, but maybe some other husky user or dev can comment on that one.