Skip to content

Commit 4803d58

Browse files
committed
Calibrate new leg position
1 parent 6a84d43 commit 4803d58

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

config/controller.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,14 @@ controller:
8585
scale: -0.2
8686
max_delta: 200
8787
ABS_RY: # Right trigger
88-
- topic: 'eye/blink'
88+
- topic: 'servo:leg_r_ankle:mv'
8989
args: {}
9090
start: -32767
9191
ABS_Z: # Left trigger
92-
- topic: ''
92+
- topic: 'servo:leg_l_ankle:mv'
9393
args: {}
94+
modifier:
95+
scale: -1.0
9496
start: -32767
9597
ABS_X:
9698
- topic: 'eye/move'

config/servo_bus.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ servos:
1515
- name: "leg_r_hip"
1616
model: 'ST3215'
1717
id: 3
18-
range: [763, 2843]
19-
start: 1336
18+
range: [770, 3389]
19+
start: 2911
2020
poses:
2121
- stand: 824
2222
- sit: 1269
@@ -61,8 +61,8 @@ servos:
6161
- name: "leg_l_hip"
6262
model: 'ST3215'
6363
id: 8
64-
range: [1700, 3371]
65-
start: 2688
64+
range: [747, 3370]
65+
start: 1180
6666
- name: "leg_l_knee"
6767
model: 'ST3215'
6868
id: 9

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ fi
112112

113113
# Tell the user about autolaunch
114114
echo -e "\nTo enable autolaunch on boot, run the following command:"
115-
echo "installer/autolaunch.sh enable"
115+
echo "installers/autolaunch.sh enable"
116116
echo "To disable autolaunch, run:"
117-
echo "installer/autolaunch.sh disable"
117+
echo "installers/autolaunch.sh disable"
118118

119119
echo "============================="

0 commit comments

Comments
 (0)