projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos: Auto-calibrate linux-based flight testing code
[fw/altos]
/
src
/
ao_flight_test.c
diff --git
a/src/ao_flight_test.c
b/src/ao_flight_test.c
index e0cfa47a2a8e3ecc11ffed2c87b36c39e7a4eae6..108d2c19fff5271beee64d45ef8a35542af6ec2e 100644
(file)
--- a/
src/ao_flight_test.c
+++ b/
src/ao_flight_test.c
@@
-238,6
+238,8
@@
ao_sleep(void *wchan)
switch (type) {
case 'F':
ao_flight_ground_accel = a;
+ ao_config.accel_plus_g = a;
+ ao_config.accel_minus_g = a + 530;
ao_flight_started = 1;
break;
case 'S':