Robotics StackExchange | Archived questions

I am trying to analyze the velocity for each joint for a given time frame, how can i record the joint velocities for a particular time?

I see the Joint states, but how do you run it on terminal?

/robot/jointstates (sensormsgs/JointState)

name[i]: '<component_id>' of i-th joint in message value arrays.
position[i]: position of joint i rad
velocity[i]: velocity of joint i in rad/s
effort[i]: effort applied in joint i in Nm

Asked by wall_e on 2015-07-25 19:58:35 UTC

Comments

I need a bit more info to help you. Are you asking how to access the message data from rostopic echo /robot/joint_states , are you using rosbag record /robot/joint_states, or are you writing a python script to record them?

Asked by imcmahon on 2015-07-26 13:03:39 UTC

I want to record the joint velocities for each joint in the baxter arm when I teach the arm a motion. I was able to acquire the joint angles for each joint by using the joint position record example. I am new to Baxter and I dont know how to obtain the velocity. Can you please help me?

Asked by wall_e on 2015-07-27 09:47:32 UTC

Answers