Ordered list of joint parameters for Baxter
I am trying to adapt the code in this tutorial for moving an arm using Joint Trajectory Action; they use PR2 and it's written in C++, I'm using Baxter and my code is in Python. They have a command that lists all the joints and the order the parameters should be in: rosparam get /r_arm_controller/joints
which displays
[r_shoulder_pan_joint, r_shoulder_lift_joint, r_upper_arm_roll_joint, r_elbow_flex_joint, r_forearm_roll_joint, r_wrist_flex_joint, r_wrist_roll_joint]
What is the analagous command for Baxter? When I do rosparam list
I see essentially a controller for each individual joint. I want to get the ordered list of all joints so I can specify waypoints correctly.