This had the very very nasty effect that the local coordinate system was not initialized
if NavSetGroundReferenceHere() was not called from the fliht plan,
(e.g. because not waitinf for GeoInit to finish).
- prevent floating CS line on the MS5611 baro connected via SPI
so it also works if the baro is actually not read
- this requires to have the appropriate SPI_SLAVE defined in the board file
which is the case for the lisa autopilots
closes#481
to resolve conflicts and test again before merging back to master
* master:
[extras] Add CHDK script to work with digital_cam module
[modules] digital_cam: add DC_POWER_OFF_LED
[imu] remove old aspirin2 driver
[modules] ets baro/airspeed: cleanup and default delay of 0.2s
[conf] add krooz_sd fixedwing example, thx Sergei
[conf] update krooz_sd examples, thx Sergei
[boards] update krooz_sd, thx Sergei
[stm32][pwm] add PWM_SERVO_9
[modules] baro_amsys: usable for ins_alt_float with USE_BARO_AMSYS
[rotorcraft] motor_mixing: only lower throttle when hitting both min/max saturations
[ardrone2] Parrot GPS show sattelite information.
Added check if autopilot_motors_on do determine if you want to switch to AP_MODE_FAILSAFE
[spi] update apogee and krooz board files for spi
[spi] spi for stm32f4
[rotorcraft] fix MODE_STARTUP
[krooz] add imu driver for KroozSD board from Sergei
[imu][aspirin_2_spi] clear naming for mag axes assignment
[modules] airspeed ets start delay
[modules] baro ets start delay
Conflicts:
sw/airborne/firmwares/rotorcraft/autopilot.c
sw/airborne/modules/sensors/baro_ets.c
- init nav, guidance and stabilization from autopilot_init
- after init of the above, set the autopilot_mode so it propagates to the guidance submodes.
- also call autopilot_init after the ahrs_init for ahrs_is_aligned check...
- krooz: don't use TIM2 for PWM
- change to 6 ticks per usec to fit all frequencies
- on the F1 we assume to run at 72MHz for HCLK and both timer clocks
TIM1 -> APB2 = HCLK = 72MHz
TIM2 -> 2 * APB1 = 2 * 36MHz = 72MHz
- on the F4 we assume 2 * AHB clock:
TIM1 -> 2 * APB2 = 168MHz
TIM2 -> 2 * APB1 = 84MHz
closes#470