-
Notifications
You must be signed in to change notification settings - Fork 17
Joint Torque Springs Example
This example shows joint torque control usage. After moving to neutral, the robot will enter torque control mode, applying torques representing virtual springs holding the joints to their start position.
Start the joint springs example from an SDK terminal session, ex:
$ rosrun baxter_examples joint_torque_springs.py
There are three modes of control for Baxter's arms, joint position, joint velocity, and joint torque control. This example calculates and applies torques linearly relative to offset from the start position creating the illusion that springs of configurable stiffness are attached to each joint. The example demonstrates setting of the command timeout, commanding joint torques at 1000Hz, and exiting torque control mode cleanly.
Start the joint torque springs example from an RSDK terminal session using:
$ rosrun baxter_examples joint_torque_springs.py
In another terminal: $ rosrun rqt_reconfigure rqt_reconfigure
For common issues specific to using wobbler with Baxter, check out the Troubleshooting page.
© 2008-2013 Rethink Robotics. All rights reserved.