IFL-CAMP / iiwa_stack

ROS integration for the KUKA LBR IIWA R800/R820 (7/14 Kg).
Other
337 stars 250 forks source link

How to make iiwa Gravity compensation? #238

Open ghost opened 4 years ago

emielke12 commented 4 years ago

This depends on what you are trying to do. If all you need is gravity compensation with no other joint control, you can turn on the JointImpedanceControlMode using the ConfigureControlMode service and set the spring constant values to 0 and the damping constant values to 0.7.

If you're trying to do more sophisticated joint torque control using gravity compensation, I'm afraid this package currently doesn't support that. To access joint torque control you need to go through the FRI port, which this package currently doesn't do. You'll have to write your own Java implementation on the Sunrise Controller.