mirror of
https://github.com/wassname/pyrobolearn.git
synced 2026-08-21 11:19:49 +08:00
897 B
897 B
Force control
In a nutshell, you have different control modes:
- motion control: specify the desired task (or joint) positions / velocities
- force control: specify the desired task (or joint) forces
- indirect force control:
- impedance control
- admittance control
- direct force control:
- hybrid force/position control
- parallel force/position control
- indirect force control:
Here are the few examples that you can find in this folder:
no_forces.py: this example loads a RRBot robot and disable the motors. It does not apply any joint torques.gravity_compensation.py: compute the necessary joint torques to compensate for gravity.attractor_point.py: compute the necessary joint torques (using impedance control) such that the end-effector is attracted by a 3D Cartesian point.
For these 3 above examples, try to move the robot's end effector with your mouse and see what happens.