From f41837c387fe104d393321cee1f4e1d3616e46ff Mon Sep 17 00:00:00 2001 From: Allen Date: Thu, 12 May 2011 16:47:45 -0700 Subject: [PATCH 01/20] Remove unused bits from jt lisa m airframe --- conf/airframes/esden/jt_lisam.xml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/conf/airframes/esden/jt_lisam.xml b/conf/airframes/esden/jt_lisam.xml index d47df390606..8b481129632 100644 --- a/conf/airframes/esden/jt_lisam.xml +++ b/conf/airframes/esden/jt_lisam.xml @@ -18,21 +18,6 @@ - -
@@ -167,10 +152,6 @@
-
- -
-
From 2fce934d94f3dac62dbc1daccd4ce999e08b8e94 Mon Sep 17 00:00:00 2001 From: Allen Date: Thu, 12 May 2011 17:20:06 -0700 Subject: [PATCH 02/20] Update imu calibration for JT --- conf/airframes/esden/calib/aspirin_jtm.xml | 31 ++++++++++++++++++++++ conf/airframes/esden/jt_lisam.xml | 4 ++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 conf/airframes/esden/calib/aspirin_jtm.xml diff --git a/conf/airframes/esden/calib/aspirin_jtm.xml b/conf/airframes/esden/calib/aspirin_jtm.xml new file mode 100644 index 00000000000..82f8c8b9ffc --- /dev/null +++ b/conf/airframes/esden/calib/aspirin_jtm.xml @@ -0,0 +1,31 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/conf/airframes/esden/jt_lisam.xml b/conf/airframes/esden/jt_lisam.xml index 8b481129632..ba34fc79fbf 100644 --- a/conf/airframes/esden/jt_lisam.xml +++ b/conf/airframes/esden/jt_lisam.xml @@ -39,7 +39,7 @@
- +
@@ -144,6 +144,8 @@ + +
From 17b585de483d238a11451cbc560c32ba362ae914 Mon Sep 17 00:00:00 2001 From: Allen Date: Thu, 12 May 2011 18:41:31 -0700 Subject: [PATCH 03/20] New mag calibration for aspirin on JT --- conf/airframes/esden/calib/aspirin_jtm.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/airframes/esden/calib/aspirin_jtm.xml b/conf/airframes/esden/calib/aspirin_jtm.xml index 82f8c8b9ffc..09964415279 100644 --- a/conf/airframes/esden/calib/aspirin_jtm.xml +++ b/conf/airframes/esden/calib/aspirin_jtm.xml @@ -17,12 +17,12 @@ - - - - - - + + + + + + From a1c747e57c42173c3186c28f84208eae5296a66b Mon Sep 17 00:00:00 2001 From: Allen Date: Thu, 12 May 2011 18:41:59 -0700 Subject: [PATCH 04/20] Turn full mag update back on for lisa_m --- conf/airframes/esden/jt_lisam.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/conf/airframes/esden/jt_lisam.xml b/conf/airframes/esden/jt_lisam.xml index ba34fc79fbf..bde65304148 100644 --- a/conf/airframes/esden/jt_lisam.xml +++ b/conf/airframes/esden/jt_lisam.xml @@ -144,8 +144,6 @@ - -
From 86879ac217cff50cb75df4c447c39a31f74dee8e Mon Sep 17 00:00:00 2001 From: Allen Date: Fri, 13 May 2011 16:10:39 -0700 Subject: [PATCH 05/20] support different update period on secondary pwm output channel --- .../rotorcraft/actuators/arch/stm32/actuators_pwm_arch.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.c b/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.c index c31ef54232c..4cefcf51ae2 100644 --- a/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.c +++ b/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.c @@ -95,6 +95,10 @@ void actuators_pwm_arch_init(void) { TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up; TIM_TimeBaseInit(TIM3, &TIM_TimeBaseStructure); + +#ifdef SERVO_HZ_SECONDARY + TIM_TimeBaseStructure.TIM_Period = (ONE_MHZ_CLK / SERVO_HZ_SECONDARY) - 1; +#endif TIM_TimeBaseInit(PWM_5AND6_TIMER, &TIM_TimeBaseStructure); #ifdef USE_SERVOS_7AND8 TIM_TimeBaseInit(TIM4, &TIM_TimeBaseStructure); From 4627bb34fb72c4121c0cbd9984ccf135bea305d3 Mon Sep 17 00:00:00 2001 From: Allen Date: Fri, 13 May 2011 16:11:28 -0700 Subject: [PATCH 06/20] Lower refresh rate on servos HZ for JT (leave motors at 400hz) --- conf/airframes/esden/jt_lisam.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/airframes/esden/jt_lisam.xml b/conf/airframes/esden/jt_lisam.xml index bde65304148..4798ee40419 100644 --- a/conf/airframes/esden/jt_lisam.xml +++ b/conf/airframes/esden/jt_lisam.xml @@ -171,6 +171,7 @@ + From b6747ed7772bd31747d96b41bd11ee5abb5066bb Mon Sep 17 00:00:00 2001 From: Allen Date: Fri, 13 May 2011 16:11:57 -0700 Subject: [PATCH 07/20] Add command laws for ailerons --- conf/airframes/esden/jt_lisam.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/airframes/esden/jt_lisam.xml b/conf/airframes/esden/jt_lisam.xml index 4798ee40419..6e2dcabe0d8 100644 --- a/conf/airframes/esden/jt_lisam.xml +++ b/conf/airframes/esden/jt_lisam.xml @@ -17,6 +17,11 @@ + + + + +
From ce2e607f74488f4910b3ff2fe42f9dbe35649064 Mon Sep 17 00:00:00 2001 From: Allen Date: Fri, 13 May 2011 16:12:18 -0700 Subject: [PATCH 08/20] Minor tweak/cleanup to ChopServo in actuators_pwm_arch --- .../rotorcraft/actuators/arch/stm32/actuators_pwm_arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.h b/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.h index 7dbcb8f6112..e47bad7512d 100644 --- a/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.h +++ b/sw/airborne/firmwares/rotorcraft/actuators/arch/stm32/actuators_pwm_arch.h @@ -38,7 +38,7 @@ extern void actuators_pwm_arch_init(void); extern void actuators_pwm_commit(void); -#define ChopServo(x,a,b) Chop(x, a, b) +#define ChopServo(_x,_a,_b) Chop(_x, _a, _b) #define Actuator(_x) actuators_pwm_values[_x] #define SERVOS_TICS_OF_USEC(_v) (_v) From 101c4113732173687a8490eb7a8b4fe137297b68 Mon Sep 17 00:00:00 2001 From: Allen Date: Fri, 13 May 2011 16:13:15 -0700 Subject: [PATCH 09/20] Use SUPERVISION_NB_MOTOR instead of PWM_NB in actuators_pwm_supervision for controlling how many motors to force off when motors_on is zero --- .../firmwares/rotorcraft/actuators/actuators_pwm_supervision.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c b/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c index 9debad1cfc7..9156e8b3086 100644 --- a/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c +++ b/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c @@ -54,7 +54,7 @@ void actuators_set(bool_t motors_on) { for (int i = 0; i < SUPERVISION_NB_MOTOR; i++) actuators_pwm_values[i] = supervision.commands[i]; } else { - for (int i = 0; i < ACTUATORS_PWM_NB; i++) + for (int i = 0; i < SUPERVISION_NB_MOTOR; i++) actuators_pwm_values[i] = PWM_OFF; } actuators_pwm_commit(); From ddaed07ef324c83fe82498555d99381ea77c1803 Mon Sep 17 00:00:00 2001 From: Allen Date: Fri, 13 May 2011 16:14:13 -0700 Subject: [PATCH 10/20] Add some #define glue stuff which is helpful for using SetActuatorsFromCommands --- .../rotorcraft/actuators/actuators_pwm_supervision.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c b/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c index 9156e8b3086..e2e0cf2fdb7 100644 --- a/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c +++ b/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c @@ -31,6 +31,10 @@ #include "generated/airframe.h" +#define actuators actuators_pwm_values +#define Actuator(_x) actuators_pwm_values[_x] +#define ActuatorsCommit() do { } while(0); + int32_t actuators_pwm_values[ACTUATORS_PWM_NB]; void actuators_init(void) From 578852886498c274ce95d53ca70734fe8a0e7d9b Mon Sep 17 00:00:00 2001 From: Allen Date: Wed, 18 May 2011 15:14:48 -0700 Subject: [PATCH 11/20] Aspirin calibration for JT lisa m --- conf/airframes/esden/calib/aspirin_jtm.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/airframes/esden/calib/aspirin_jtm.xml b/conf/airframes/esden/calib/aspirin_jtm.xml index 09964415279..abc370b7c64 100644 --- a/conf/airframes/esden/calib/aspirin_jtm.xml +++ b/conf/airframes/esden/calib/aspirin_jtm.xml @@ -17,12 +17,12 @@ - - - - - - + + + + + + From db2995515a7c91da33203fe17e770bd6f4d68f59 Mon Sep 17 00:00:00 2001 From: Allen Date: Wed, 18 May 2011 15:15:20 -0700 Subject: [PATCH 12/20] Swap aileron directions for different hardware --- conf/airframes/esden/jt_lisam.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/airframes/esden/jt_lisam.xml b/conf/airframes/esden/jt_lisam.xml index 6e2dcabe0d8..e87fde4d402 100644 --- a/conf/airframes/esden/jt_lisam.xml +++ b/conf/airframes/esden/jt_lisam.xml @@ -7,8 +7,8 @@ - - + + From 81eff511a3123fb00190a6875d8134989e5f421b Mon Sep 17 00:00:00 2001 From: Allen Date: Wed, 18 May 2011 15:15:52 -0700 Subject: [PATCH 13/20] Adjust min/max motor for lisa_m, idle lower, max lower --- conf/airframes/esden/jt_lisam.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/airframes/esden/jt_lisam.xml b/conf/airframes/esden/jt_lisam.xml index e87fde4d402..09651c2c456 100644 --- a/conf/airframes/esden/jt_lisam.xml +++ b/conf/airframes/esden/jt_lisam.xml @@ -31,8 +31,8 @@
- - + + From 8de402034750643b5f85342b2365f2aae8dab8e0 Mon Sep 17 00:00:00 2001 From: Allen Date: Wed, 18 May 2011 15:16:21 -0700 Subject: [PATCH 14/20] Hover tuning for JT + lisa_m --- conf/airframes/esden/jt_lisam.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/conf/airframes/esden/jt_lisam.xml b/conf/airframes/esden/jt_lisam.xml index 09651c2c456..bc96657f519 100644 --- a/conf/airframes/esden/jt_lisam.xml +++ b/conf/airframes/esden/jt_lisam.xml @@ -104,16 +104,16 @@ - - - + + + - - - + + + - - + + From 0cccf2582ad1a99e10148951544dd5d07ddcec83 Mon Sep 17 00:00:00 2001 From: Allen Date: Wed, 18 May 2011 15:17:29 -0700 Subject: [PATCH 15/20] Add new settings file for booz2_jtm --- conf/settings/settings_booz2_jtm.xml | 74 ++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 conf/settings/settings_booz2_jtm.xml diff --git a/conf/settings/settings_booz2_jtm.xml b/conf/settings/settings_booz2_jtm.xml new file mode 100644 index 00000000000..3441e55d555 --- /dev/null +++ b/conf/settings/settings_booz2_jtm.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 440c7a6dd052ec5ecf3460514e480aa0c5f9ce8f Mon Sep 17 00:00:00 2001 From: Allen Date: Wed, 18 May 2011 15:23:41 -0700 Subject: [PATCH 16/20] Add SetActuatorsFromCommands to actuators_pwm_supervisiot to allow using command laws (useful for servos for example) --- .../actuators/actuators_pwm_supervision.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c b/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c index e2e0cf2fdb7..a44ffe41251 100644 --- a/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c +++ b/sw/airborne/firmwares/rotorcraft/actuators/actuators_pwm_supervision.c @@ -47,12 +47,21 @@ void actuators_init(void) #define PWM_OFF 1000 void actuators_set(bool_t motors_on) { - booz2_commands[COMMAND_PITCH] = booz2_commands[COMMAND_PITCH] * PWM_GAIN_SCALE; - booz2_commands[COMMAND_ROLL] = booz2_commands[COMMAND_ROLL] * PWM_GAIN_SCALE; - booz2_commands[COMMAND_YAW] = booz2_commands[COMMAND_YAW] * PWM_GAIN_SCALE; - booz2_commands[COMMAND_THRUST] = (booz2_commands[COMMAND_THRUST] * ((SUPERVISION_MAX_MOTOR - SUPERVISION_MIN_MOTOR) / 200)) + SUPERVISION_MIN_MOTOR; + int32_t pwm_commands[COMMANDS_NB]; + int32_t pwm_commands_pprz[COMMANDS_NB]; - supervision_run(motors_on, FALSE, booz2_commands); + pwm_commands[COMMAND_PITCH] = booz2_commands[COMMAND_PITCH] * PWM_GAIN_SCALE; + pwm_commands[COMMAND_ROLL] = booz2_commands[COMMAND_ROLL] * PWM_GAIN_SCALE; + pwm_commands[COMMAND_YAW] = booz2_commands[COMMAND_YAW] * PWM_GAIN_SCALE; + pwm_commands[COMMAND_THRUST] = (booz2_commands[COMMAND_THRUST] * ((SUPERVISION_MAX_MOTOR - SUPERVISION_MIN_MOTOR) / 200)) + SUPERVISION_MIN_MOTOR; + + pwm_commands_pprz[COMMAND_PITCH] = booz2_commands[COMMAND_PITCH] * (MAX_PPRZ / 100); + pwm_commands_pprz[COMMAND_ROLL] = booz2_commands[COMMAND_ROLL] * (MAX_PPRZ / 100); + pwm_commands_pprz[COMMAND_YAW] = booz2_commands[COMMAND_YAW] * (MAX_PPRZ / 100); + + supervision_run(motors_on, FALSE, pwm_commands); + + SetActuatorsFromCommands(pwm_commands_pprz); if (motors_on) { for (int i = 0; i < SUPERVISION_NB_MOTOR; i++) From b5094d3ae8e305bb37c791a9157df134f25e147e Mon Sep 17 00:00:00 2001 From: Allen Date: Wed, 18 May 2011 16:34:31 -0700 Subject: [PATCH 17/20] More tuning for jt_lisam --- conf/airframes/esden/jt_lisam.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/conf/airframes/esden/jt_lisam.xml b/conf/airframes/esden/jt_lisam.xml index bc96657f519..f80c5197482 100644 --- a/conf/airframes/esden/jt_lisam.xml +++ b/conf/airframes/esden/jt_lisam.xml @@ -32,7 +32,7 @@
- + @@ -89,18 +89,18 @@ - + - - - + + + - + - + @@ -108,12 +108,12 @@ - - + + - - + + From 8e07d4945276ba662cc1c27e84607e69e00c07b2 Mon Sep 17 00:00:00 2001 From: Allen Date: Wed, 18 May 2011 16:35:40 -0700 Subject: [PATCH 18/20] Fixes/kludgeness for case sensitivity in XML parsing for joystick tuner and add command line option for serial port --- .../python/joystick/arduino_dangerboard.py | 4 +-- .../python/joystick/ivydanger.py | 15 +++++--- sw/lib/python/settings_xml_parse.py | 34 ++++++++++++++----- 3 files changed, 37 insertions(+), 16 deletions(-) diff --git a/sw/ground_segment/python/joystick/arduino_dangerboard.py b/sw/ground_segment/python/joystick/arduino_dangerboard.py index a65cbb4c877..fc9d8d373a3 100755 --- a/sw/ground_segment/python/joystick/arduino_dangerboard.py +++ b/sw/ground_segment/python/joystick/arduino_dangerboard.py @@ -21,8 +21,8 @@ class arduino_dangerboard(): - def __init__(self): - self.port = serial.Serial('/dev/ttyUSB0', 115200) + def __init__(self, port='/dev/ttyUSB0'): + self.port = serial.Serial(port, 115200) self.SLIDER_COUNT = 3 self.sliders = [0] * self.SLIDER_COUNT self.POT_MIN = 0.0 diff --git a/sw/ground_segment/python/joystick/ivydanger.py b/sw/ground_segment/python/joystick/ivydanger.py index 1aea59df17a..edc216f474a 100755 --- a/sw/ground_segment/python/joystick/ivydanger.py +++ b/sw/ground_segment/python/joystick/ivydanger.py @@ -20,9 +20,11 @@ # of sliders!) DEFAULT_SLIDERS = [ ] +DEFAULT_PORT = '/dev/ttyUSB0' + class IvyStick(arduino_dangerboard): - def __init__(self, ac_ids, settings_names): - arduino_dangerboard.__init__(self) + def __init__(self, ac_ids, settings_names, port): + arduino_dangerboard.__init__(self, port) if (len(settings_names) > self.SLIDER_COUNT): raise Exception("Number of settings greater than number of sliders") if (len(ac_ids) < 1): @@ -59,6 +61,7 @@ def Usage(scmd): \t-h | --help print this message \t-a AC_ID | --ac_id=AC_ID where AC_ID is an aircraft ID to use for settings (multiple IDs may be passed) \t-s S1:S2:S3 | --sliders=S1:S2:S3 where S1, S2, S3 are the names of the slider settings to send +\t-p PORT | --port=PORT where PORT is the name of the serial port for the slider box ''' print fmt % lpathitem[-1] @@ -66,9 +69,9 @@ def GetOptions(): # Map dangerboard sliders to these settings from aircraft settings # file, in that order (dimension of this list needs to match number # of sliders!) - options = {'ac_id':DEFAULT_AC_IDS, 'sliders':DEFAULT_SLIDERS} + options = {'ac_id':DEFAULT_AC_IDS, 'sliders':DEFAULT_SLIDERS, 'port':DEFAULT_PORT} try: - optlist, left_args = getopt.getopt(sys.argv[1:],'h:a:s:', ['help', 'ac_id=', 'sliders=']) + optlist, left_args = getopt.getopt(sys.argv[1:],'h:a:s:p:', ['help', 'ac_id=', 'sliders=', 'port=']) except getopt.GetoptError: # print help information and exit: Usage(sys.argv[0]) @@ -81,6 +84,8 @@ def GetOptions(): options['ac_id'] = [ int(a) ] elif o in ("-s", "--sliders"): options['sliders'] = a.split(':') + elif o in ("-p", "--port"): + options['port'] = a return options @@ -91,7 +96,7 @@ def main(): signal.signal(signal.SIGINT, signal_handler) options = GetOptions() - ivyStick = IvyStick(options['ac_id'], options['sliders']) + ivyStick = IvyStick(options['ac_id'], options['sliders'], options['port']) ivyStick.poll() if __name__ == '__main__': diff --git a/sw/lib/python/settings_xml_parse.py b/sw/lib/python/settings_xml_parse.py index 7acf57f58a9..db8d0642782 100755 --- a/sw/lib/python/settings_xml_parse.py +++ b/sw/lib/python/settings_xml_parse.py @@ -33,19 +33,35 @@ def __init__(self, ac_id): tree = etree.parse(settings_xml_path) index = 0 # keep track of index/id of setting starting at 0 - for the_tab in tree.xpath("//dl_settings[@NAME]"): - setting_group = PaparazziSettingsGroup(the_tab.attrib['NAME']) - - for the_setting in the_tab.xpath('dl_setting[@VAR]'): + for the_tab in tree.xpath("//dl_settings"): + if the_tab.attrib.has_key('NAME'): + setting_group = PaparazziSettingsGroup(the_tab.attrib['NAME']) + elif the_tab.attrib.has_key('NAME'): + setting_group = PaparazziSettingsGroup(the_tab.attrib['name']) + else: + continue + + for the_setting in the_tab.xpath('dl_setting'): if the_setting.attrib.has_key('shortname'): name = the_setting.attrib['shortname'] - else: + elif the_setting.attrib.has_key('VAR'): name = the_setting.attrib['VAR'] + else: + name = the_setting.attrib['var'] settings = PaparazziSetting(name) settings.index = index - settings.min_value = float(the_setting.attrib['MIN']) - settings.max_value = float(the_setting.attrib['MAX']) - settings.step = float(the_setting.attrib['STEP']) + if the_setting.attrib.has_key('MIN'): + settings.min_value = float(the_setting.attrib['MIN']) + else: + settings.min_value = float(the_setting.attrib['min']) + if the_setting.attrib.has_key('MAX'): + settings.max_value = float(the_setting.attrib['MAX']) + else: + settings.max_value = float(the_setting.attrib['max']) + if the_setting.attrib.has_key('STEP'): + settings.step = float(the_setting.attrib['STEP']) + else: + settings.step = float(the_setting.attrib['step']) if (the_setting.attrib.has_key('values')): settings.values = the_setting.attrib['values'].split('|') count = int((settings.max_value - settings.min_value + settings.step) / settings.step) @@ -86,7 +102,7 @@ def __init__(self, shortname): def test(): - ac_id = 11 + ac_id = 164 ac_settings = PaparazziACSettings(ac_id) for setting_group in ac_settings.groups: print setting_group.name From 6b03871bfd7a0ffd589749e6b8fbb6a28064831f Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Thu, 19 May 2011 23:23:46 +0200 Subject: [PATCH 19/20] only include lisa_overo_link_arch.h if not building sim, outcomment vehicle_interface_overo_link.xml module in piotr's lisa asctec airframe file for now --- conf/airframes/esden/lisa_asctec.xml | 4 +--- sw/airborne/lisa/lisa_overo_link.h | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/airframes/esden/lisa_asctec.xml b/conf/airframes/esden/lisa_asctec.xml index a011e5177fe..b677e8e3ccd 100644 --- a/conf/airframes/esden/lisa_asctec.xml +++ b/conf/airframes/esden/lisa_asctec.xml @@ -180,11 +180,9 @@
- - + - diff --git a/sw/airborne/lisa/lisa_overo_link.h b/sw/airborne/lisa/lisa_overo_link.h index 3673c4c0ae5..69e334d0446 100644 --- a/sw/airborne/lisa/lisa_overo_link.h +++ b/sw/airborne/lisa/lisa_overo_link.h @@ -36,7 +36,9 @@ extern void overo_link_periodic(void); extern void overo_link_arch_init(void); extern void overo_link_arch_prepare_next_transfert(void); +#ifndef SITL #include "lisa_overo_link_arch.h" +#endif #if 0 /* that doesn't work yet */ #define OveroLinkPeriodic(_timeout_handler) { \ From e07bfae0f198672a2c27d88ae4d2919f32ad495e Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Thu, 19 May 2011 23:55:02 +0200 Subject: [PATCH 20/20] fix typo, thx Chris --- sw/airborne/modules/ins/ins_arduimu_basic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/airborne/modules/ins/ins_arduimu_basic.c b/sw/airborne/modules/ins/ins_arduimu_basic.c index 6ef9f590986..57eafb72697 100644 --- a/sw/airborne/modules/ins/ins_arduimu_basic.c +++ b/sw/airborne/modules/ins/ins_arduimu_basic.c @@ -71,7 +71,7 @@ void ArduIMU_init( void ) { ins_roll_neutral = INS_ROLL_NEUTRAL_DEFAULT; ins_pitch_neutral = INS_PITCH_NEUTRAL_DEFAULT; - high_accel_done = FLASE; + high_accel_done = FALSE; high_accel_flag = FALSE; }