Commit Graph

364 Commits

Author SHA1 Message Date
Andrew Tridgell fdbc09e2a5 avoid counters going above limit in INCREMENT()
when using INCREMENT() the counter would temporarily read equal to
limit, which could cause an issue if the task is preempted.

(this macro should be in a common header, though which header?)
2013-08-28 11:16:30 +02:00
Andrew Tridgell ad732ee3a1 free perf counters in driver destructor
this prevents drivers that probe on one bus then instantiate on
another from leaving behind stale/duplicate perf counters
2013-08-28 11:15:43 +02:00
Lorenz Meier d28f5ac03f Updated IO firmware upgrade strategy and locations 2013-08-28 09:14:38 +02:00
Lorenz Meier 70c9d48f6c Merge branch 'fmuv2_bringup' into multirotor 2013-08-27 10:16:18 +02:00
Andrew Tridgell 9c58d2c5c6 airspeed: retry initial I2C probe 4 times
this fixes a problem with detecting a MS4525D0 at boot
2013-08-27 10:15:34 +02:00
Julian Oes ca96140b21 Allow the tone alarms to be interrupted 2013-08-22 15:53:46 +02:00
Lorenz Meier e97c39a125 Merge branch 'fmuv2_bringup' into multirotor 2013-08-22 10:14:01 +02:00
Lorenz Meier 11257cbade Fixed commandline handling 2013-08-22 10:13:47 +02:00
Lorenz Meier fab110d21f Moved math library to library dir, improved sensor-level HIL, cleaned up geo / conversion libs 2013-08-21 18:13:01 +02:00
Lorenz Meier 309ea81460 Merged fmuv2_bringup 2013-08-21 15:19:19 +02:00
Lorenz Meier db1229dca3 Merge pull request #12 from cvg/fmuv2_bringup_lsm303d_config
Fmuv2 bringup lsm303d config
2013-08-21 06:10:33 -07:00
Lorenz Meier 5be2f4a792 Moved mavlink log to system lib 2013-08-21 14:54:57 +02:00
Julian Oes 4f51f333a9 Adapted the MPU6000 to have the same get range ioctls and defines for defaults 2013-08-21 14:52:20 +02:00
Julian Oes 1ede95d252 L3GD20 and LSM303D reset and range config working properly now 2013-08-21 14:21:54 +02:00
Lorenz Meier 64b8f5232b Build fix, added command line switch norc to disable RC 2013-08-21 13:54:37 +02:00
Julian Oes fc24037b03 Changed range handling of LSM303D once again, added defines for default values 2013-08-21 12:37:06 +02:00
Lorenz Meier 5fbee23945 Added flag to disable RC evaluation onboard of IO (raw values still forwarded) 2013-08-21 11:17:29 +02:00
Julian Oes 3875df2fe0 Workaround to get the HMC5883 default rate right 2013-08-21 10:44:47 +02:00
Julian Oes 658276e1cc Add reset and samplerate ioctl to HMC5883 driver 2013-08-21 09:23:21 +02:00
Julian Oes 408b29ba61 Don't store m/s^2 and G at the same time 2013-08-21 08:40:51 +02:00
Julian Oes f5c92314f1 Improved LSM303D driver, plus some fixes to the HMC5883 2013-08-20 20:02:06 +02:00
Julian Oes 307c9e52c7 Sorry, finally got the axes of the external mag right 2013-08-20 20:00:16 +02:00
Lorenz Meier 2a58929ffd Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-20 16:26:15 +02:00
Lorenz Meier fd911cd006 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup_new_state_machine_drton 2013-08-20 10:55:21 +02:00
Julian Oes ae3a549d57 Fixed accel self test 2013-08-20 10:39:11 +02:00
Lorenz Meier 7cff9b1e84 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup_new_state_machine_drton 2013-08-20 09:41:16 +02:00
Lorenz Meier deb426b660 Merge branch 'sensor_selftests' 2013-08-19 22:51:30 +02:00
Lorenz Meier 1e96633907 Merged seatbelt_multirotor_new / master 2013-08-19 19:04:10 +02:00
Lorenz Meier 69a183e221 Merged master 2013-08-19 18:51:25 +02:00
Lorenz Meier 24d8ca5092 Merge branch 'fmuv2_bringup' of github.com:cvg/Firmware_Private into fmuv2_bringup_new_state_machine_drton 2013-08-19 17:37:22 +02:00
Julian Oes 12df5dd269 Corrected orientation of external mag 2013-08-19 16:32:56 +02:00
Lorenz Meier 871b4c19bc Added stop command to RGB led 2013-08-19 15:19:51 +02:00
Lorenz Meier e5f1a7c2c3 Better transparency in IO mode display, fixes to commander arming, minimum publishing rate for arming 2013-08-18 12:42:24 +02:00
Lorenz Meier e597f97982 Merged master 2013-08-18 12:04:07 +02:00
Julian Oes 408eaf0ad1 Add ioctl to find out if mag is external or onboard 2013-08-18 09:24:27 +02:00
Lorenz Meier 061be7f7fe Merged master 2013-08-17 20:30:52 +02:00
Jean Cyr 3f800e5861 Make it obvious that file * isn't used here 2013-08-17 10:29:35 -04:00
Lorenz Meier 6c45d9cb5c Fixed in-air timout, bumped protocol version 2013-08-17 15:47:13 +02:00
Lorenz Meier 64145252d4 Added dim RGB implementation 2013-08-17 15:46:34 +02:00
Lorenz Meier b71c0c1f49 Added support for FMUv1 for RGB led and dim led support 2013-08-17 15:46:13 +02:00
Jean Cyr 0301e2d145 Flesh out PX4IO documentation comments and delete unnecessary class var 2013-08-16 20:09:22 -04:00
Julian Oes af3e0d459a Add pattern ioctl for RGBLED 2013-08-16 18:04:24 +02:00
Julian Oes 1d7b8bb565 Somehow alarm 14 didn't always work 2013-08-16 18:03:04 +02:00
Lorenz Meier 05e4c086ce Added orientation support and detection to the L3GD20/H driver to support the different variants in use 2013-08-16 16:24:44 +02:00
Lorenz Meier 52d15ac7b1 Merged public master 2013-08-16 16:22:38 +02:00
Julian Oes 0fe612e843 Simplified the RGBLED driver 2013-08-16 13:04:57 +02:00
Julian Oes 901cef922c Some cleanup for the RGB LED driver, added ioctl to set color 2013-08-15 17:43:01 +02:00
Julian Oes 0c4e3dce0e Added LED_TOGGLE for normal LEDs 2013-08-15 17:34:49 +02:00
Julian Oes 56575eb068 Merge remote-tracking branch 'px4/new_state_machine_drton' into fmuv2_bringup_new_state_machine_drton
Conflicts:
	src/drivers/blinkm/blinkm.cpp
	src/drivers/px4io/px4io.cpp
	src/modules/commander/state_machine_helper.c
	src/modules/px4iofirmware/protocol.h
	src/modules/px4iofirmware/registers.c
	src/modules/systemlib/systemlib.h
	src/systemcmds/reboot/reboot.c
2013-08-15 14:04:46 +02:00
Lorenz Meier 0dc240688d Merge branch 'fmuv2_bringup' of github.com:cvg/Firmware_Private into fmuv2_bringup 2013-08-15 11:26:17 +02:00