-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathServo.yaml
57 lines (48 loc) · 1.13 KB
/
Servo.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
servo_controller:
joints:
angle_sgn: 1
angle_scale: 0.00076699
zero_point_offset: 2047
torque_scale: 0.03483 # convert to N*m
# for simulation
simulation:
pid: {p: 50.0, i: 0.4, d: 2.0, i_clamp_max: 6.6, i_clamp_min: -6.6}
init_value: 1.57
type: effort_controllers/JointPositionController
controller1:
id: 0
name: joint1
controller2:
id: 2
name: joint2
controller3:
id: 4
name: joint3
gimbals:
no_real_state: false # true if there is no servo state from real machine
angle_sgn: -1
angle_scale: 0.001534
zero_point_offset: 0
simulation:
pid: {p: 5.0, i: 0.1, d: 0.1, i_clamp_max: 2.0, i_clamp_min: -2.0}
type: effort_controllers/JointPositionController
controller1:
id: 1
name: gimbal1
simulation:
init_value: 3.1415
controller2:
id: 3
name: gimbal2
simulation:
init_value: 0.0
controller3:
id: 5
name: gimbal3
simulation:
init_value: 3.1415
controller4:
id: 6
name: gimbal4
simulation:
init_value: 0.0