Commit Graph

9950 Commits

Author SHA1 Message Date
Gautier Hattenberger 2b0efb7f94 Merge remote-tracking branch 'paparazzi/master' into telemetry
Conflicts:
	sw/airborne/firmwares/fixedwing/fbw_downlink.h
2013-07-25 16:50:24 +02:00
Felix Ruess d78d976fa1 [conf] add krooz_quad example conf 2013-07-25 16:39:56 +02:00
Gautier Hattenberger d5ea3a92a2 [fix] fix warning, missing include, and more configuration 2013-07-24 22:54:22 +02:00
Gautier Hattenberger 0195cecb91 Merge pull request #485 from paparazzi/sbus
Sbus radio control driver
2013-07-23 12:57:20 -07:00
Gautier Hattenberger 4255275be3 Merge pull request #471 from gautierhattenberger/master
Remove HIGH_ACCEL_FLAG
2013-07-23 12:56:35 -07:00
Felix Ruess 635a14dbb0 [fix][fixedwing] init state interface _before_ sensors and ins
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).
2013-07-23 18:46:47 +02:00
Felix Ruess 72a8f1715a [sbus] fix polarity 2013-07-23 16:45:41 +02:00
Felix Ruess 7f7c20927a [mcu_periph] sane defines for UART bits defines 2013-07-23 16:04:47 +02:00
Felix Ruess 25906237a1 [sbus] use gpio helper functions instead of abusing LED 2013-07-23 13:50:28 +02:00
Felix Ruess a2a3031570 [sbus] use uart functions instead of macros 2013-07-23 13:33:52 +02:00
Gautier Hattenberger f9be3ce38d [sbus] code cleaning and comments 2013-07-23 13:33:52 +02:00
Gautier Hattenberger 8fa5406d1a [sbus] sbus driver working 2013-07-23 13:33:52 +02:00
Gautier Hattenberger 785ad78633 [radio] add initial support for Futaba SBUS protocol 2013-07-23 13:33:52 +02:00
Gautier Hattenberger 2eda944ac8 [uart] add data bits, stop bit and parity config function for uart
only implemented on stm32
2013-07-23 13:33:52 +02:00
gtoonstra 81265be0a9 [tools] Added process_exif script
closes #483
2013-07-23 12:06:12 +02:00
Gautier Hattenberger ff0836c8ba [apogee] add config files for apogee v1.0 2013-07-19 18:12:36 +02:00
Felix Ruess 7c16e74d99 [imu] aspirin_v2.2: unselect baro at startup
- 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
2013-07-18 11:57:32 +02:00
Felix Ruess a478b9d091 [data] add penguin logo with paparazzi writing 2013-07-17 23:27:37 +02:00
Felix Ruess 5e3ee2558a fix google maps version download parsing
also set the default example version to 129
2013-07-17 18:58:21 +02:00
Gautier Hattenberger 315c7a24e4 [telemetry] add documentation to telemetry system 2013-07-17 14:24:47 +02:00
Felix Ruess 75b732fe2b [airborne] remove unused/obsolete sd card test code 2013-07-17 13:30:45 +02:00
Felix Ruess 871588eacc Merge branch 'master' into telemetry
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
2013-07-17 13:15:15 +02:00
gtoonstra 8b9c207351 [extras] Add CHDK script to work with digital_cam module
closes #480
2013-07-17 12:01:58 +02:00
Gautier Hattenberger a149b812d5 Merge pull request #475 from flixr/motor_mixing_bounds
rotorcraft motor_mixing saturation handling
2013-07-17 02:55:56 -07:00
gtoonstra 89aaaadeb9 [modules] digital_cam: add DC_POWER_OFF_LED
closes #478
2013-07-17 11:41:30 +02:00
Felix Ruess ba0c5b2941 [imu] remove old aspirin2 driver 2013-07-17 10:55:19 +02:00
Felix Ruess e01abdef30 Merge branch 'ets_start_delay'
* ets_start_delay:
  [modules] ets baro/airspeed: cleanup and default delay of 0.2s
  [modules] airspeed ets start delay
  [modules] baro ets start delay

closes #477
2013-07-16 23:34:52 +02:00
Felix Ruess 0d75609c20 [modules] ets baro/airspeed: cleanup and default delay of 0.2s
- airspeed_ets: use AIRSPEED_ETS_SYNC_SEND instead of SENSOR_SYNC_SEND
- baro_ets: use BARO_ETS_SYNC_SEND instead of BARO_ETS_TELEMETRY
2013-07-16 23:34:14 +02:00
Felix Ruess 09554b63c1 [conf] add krooz_sd fixedwing example, thx Sergei 2013-07-16 23:21:44 +02:00
Felix Ruess e222de0a03 [conf] update krooz_sd examples, thx Sergei 2013-07-16 23:15:45 +02:00
Felix Ruess 1d020bf8a2 [boards] update krooz_sd, thx Sergei 2013-07-16 23:14:46 +02:00
Felix Ruess e09228e33d [stm32][pwm] add PWM_SERVO_9 2013-07-16 23:13:28 +02:00
Tobias Muench 20707a0d11 [modules] baro_amsys: usable for ins_alt_float with USE_BARO_AMSYS
- also clean up indentation

closes #476
2013-07-16 13:47:19 +02:00
Felix Ruess 44dec76997 [rotorcraft] motor_mixing: only lower throttle when hitting both min/max saturations
should be a minor improvement for issue #385, but not tested in real flight.
2013-07-16 12:11:08 +02:00
fvantienen e8ad164cdf [ardrone2] Parrot GPS show sattelite information.
closes #474
2013-07-15 22:39:34 +02:00
Felix Ruess e1656db2b9 Merge pull request #473 from flixr/rotorcraft_startup_mode
[rotorcraft] fix MODE_STARTUP
2013-07-15 13:29:57 -07:00
Dino Hensen 1af708f422 Added check if autopilot_motors_on do determine if you want to switch to AP_MODE_FAILSAFE 2013-07-14 14:07:18 +02:00
Gautier Hattenberger 925a3403b1 [spi] update apogee and krooz board files for spi 2013-07-12 18:16:04 +02:00
Gautier Hattenberger b10d6c1305 [spi] spi for stm32f4 2013-07-12 18:15:06 +02:00
Felix Ruess 30fb6211eb [rotorcraft] fix MODE_STARTUP
- 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...
2013-07-12 00:05:42 +02:00
Gautier Hattenberger 2b3a1da82e Merge remote-tracking branch 'paparazzi/master' into telemetry
Conflicts:
	sw/airborne/firmwares/rotorcraft/autopilot.c
2013-07-10 19:25:12 +02:00
Gautier Hattenberger 427fe0c45b [telemetry] replace ap_downlink. by new downlink header 2013-07-10 18:54:34 +02:00
Gautier Hattenberger c7f1299c98 [telemetry] support for fbw process (only transparent mode) 2013-07-10 18:51:24 +02:00
Gautier Hattenberger 0d25d2d8e1 [telemetry] remove unnecessary DOWNLINK_DEVICE define 2013-07-10 18:26:31 +02:00
Felix Ruess d17f8f4669 [krooz] add imu driver for KroozSD board from Sergei 2013-07-10 17:55:42 +02:00
Felix Ruess e56f1888b1 [imu][aspirin_2_spi] clear naming for mag axes assignment 2013-07-10 17:49:37 +02:00
Felix Ruess 76ea104701 [electrical] don't try to use ADC_CHANNEL_CURRENT in SITL 2013-07-10 00:10:49 +02:00
Felix Ruess 82707b869b [stm32] F4: fix ppm input timer frequency for TIM2
- 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
2013-07-09 21:17:29 +02:00
Gautier Hattenberger 4b41dcd513 [ahrs] remove HIGH_ACCEL_FLAG
It is way too dangerous and not needed anymore with the latest imu
sensor. Keeping it for arduimu just in case
2013-07-09 13:33:30 +02:00
Felix Ruess 72ce97b0da [stm32] include stm32/flash.h instead of f1/4 variants 2013-07-08 18:05:09 +02:00