Commit Graph

31 Commits

Author SHA1 Message Date
Freek van Tienen a45d955a69 [ardrone2] Fix baro measurement spikes 2014-02-28 00:17:41 +01:00
Freek van Tienen 6a50e314bb [ardrone2] Implemented sonar 2014-02-28 00:01:35 +01:00
Christophe De Wagter 3bf8f827a3 [ardrone] Cleanup and possible fix for occasional magneto freeze problem 2014-01-23 11:48:02 +01:00
Gautier Hattenberger eba60ba1fe [telemetry] make specific flag for periodic telemetry 2014-01-08 10:59:10 +01:00
Christophe De Wagter e285f0221c [ardrone] solved both type1 and type2 spikes: delayed temp versus delayed press 2013-12-20 21:24:46 +01:00
Christophe De Wagter d2f8013528 [ardrone] updated filter: use more data in case of spikes: only 1 package lost instead of 3 2013-12-20 14:41:56 +01:00
Christophe De Wagter 792e043345 [ardrone] baro-temp-press-swap-due-to-non-understood-sensorboard-interrupt-delay-bug solved with specialized spike filter 2013-12-16 22:30:25 +01:00
Christophe De Wagter 906271e1e8 [ardrone] print baro logic errors 2013-12-13 16:25:46 +01:00
Christophe De Wagter fbaff566d2 [ardrone] lost imu frame counter 2013-12-13 16:15:56 +01:00
Felix Ruess fcb7949147 [telemetry] fix ARDRONE_NAVDATA 2013-10-23 13:24:45 +02:00
Gautier Hattenberger 3e92315488 Merge remote-tracking branch 'paparazzi/master' into telemetry
Conflicts:
	conf/firmwares/subsystems/fixedwing/autopilot.makefile
	sw/airborne/boards/ardrone/navdata.c
	sw/airborne/boards/lisa_m/baro_ms5611_i2c.c
	sw/airborne/boards/lisa_m/baro_ms5611_spi.c
	sw/airborne/firmwares/fixedwing/ap_downlink.h
	sw/airborne/firmwares/fixedwing/main_ap.c
	sw/airborne/firmwares/rotorcraft/telemetry.h
	sw/airborne/mcu_periph/i2c.c
	sw/airborne/subsystems/ahrs/ahrs_float_cmpl.c
	sw/airborne/subsystems/ahrs/ahrs_float_lkf.c
	sw/airborne/subsystems/datalink/downlink.h
	sw/tools/gen_periodic.ml
2013-09-25 11:28:43 +02:00
Christophe De Wagter 70ab7ebfdf [ArDrone] Navdata decoder update (incl sonar) 2013-09-22 15:34:43 +02:00
Ben Laurie 7efc5d9893 Add full_read(). 2013-09-08 19:55:09 +01:00
Ben Laurie 23a92996ee Make sure writes complete. 2013-09-08 17:20:52 +01:00
Ben Laurie 508f5ebb40 |navdata| does not need to be dynamically allocated. 2013-09-08 17:20:52 +01:00
Ben Laurie 0726043ac0 navdata had better be the same size as a packet. 2013-09-08 17:20:52 +01:00
Ben Laurie aa1bf02200 Use constants consistently. 2013-09-08 17:20:50 +01:00
Ben Laurie 888b877f6e baro_update_logic() can be static. 2013-09-08 17:20:50 +01:00
Ben Laurie 1b46a38559 Retry blocking writes. 2013-09-08 17:20:50 +01:00
Ben Laurie c37b9aed4c Read to NULL is not legal. 2013-09-08 17:20:50 +01:00
Ben Laurie dfe4469e2c Writes can be partial, in theory at least (note, all writes are currently
length 1).
2013-09-08 17:20:49 +01:00
Ben Laurie 1ba778437e Hide more private data. 2013-09-08 17:20:49 +01:00
Ben Laurie b28fae799a There's no need for |port| to be dynamically allocated.
Also fixes the bug that if |nav_fd| open fails, port->isOpen and
port->isInitialised are not cleared.
2013-09-08 17:20:49 +01:00
Ben Laurie 057c842045 navdata_port is private. 2013-09-08 17:20:49 +01:00
Christophe De Wagter a244d214a5 [ARDrone] LED driver fixed 2013-08-29 20:26:12 +02:00
Christophe De Wagter b8ec860edc [ardrone] 200Hz Baro messages are actually 100Hz temp and then pressure. One should not use the wrong temp with the wrong pressure either. A change tracker is used. 2013-08-28 15:17:50 +02:00
Christophe De Wagter 9a864d8927 [ardrone] Fixed Baro 2013-08-21 17:54:52 +02:00
Dino Hensen 8e84c8ecbd [ardrone] Barometer bmp180 implementation added.
Also fixed a bug in the navdata driver, where cropping was done twice.
Baro still needs to be tested, because sometimes unexpected things happen.
2013-08-21 17:54:26 +02:00
Gautier Hattenberger 116faaeda6 [telemetry] protect telemetry code with #if DOWNLINK
- also get rid of AP_DOWNLINK and FBW_DOWNLINK
- still needs to make it work again (for the only remaining classix in
  the world...)
2013-06-17 01:06:45 +02:00
Gautier Hattenberger 8377d60184 [telemetry] adapt rotorcraft to new telemetry system 2013-06-14 09:49:16 +02:00
Felix Ruess e1df2e5d71 [ardrone2] merge remaining ardrone2 support
closes #396
2013-06-03 15:08:50 +02:00