You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This controller implements a simple gravity compensation controller for a robot arm. It computes the required torque commands to counteract the gravitational forces acting on the robot's joints. For KUKA robots, it just send zero torque command, since the KUKA robots are already gravity compensated.
4
+
5
+
## Example Configuration
6
+
Below is an example `controller_manager.yaml` for a controller specific configuration.
7
+
```yaml
8
+
controller_manager:
9
+
ros__parameters:
10
+
update_rate: 1000# Hz
11
+
12
+
gravity_compensation:
13
+
type: gravity_compensation/GravityCompensation
14
+
15
+
# More controller instances here
16
+
# ...
17
+
18
+
/**/gravity_compensation:
19
+
ros__parameters:
20
+
end_effector_link: "lbr_link_ee"
21
+
ft_sensor_ref_link: "lbr_link_ee"# Reference link for the force-torque sensor, if applicable
22
+
robot_base_link: "lbr_link_0"
23
+
compensate_gravity: false # for robots different than KUKA set to true
24
+
compensate_coriolis: false # for robots different than KUKA set to true
25
+
command_current_configuration: true # for KUKA set this to true, for other robots set to false
0 commit comments