Commit Graph

3340 Commits

Author SHA1 Message Date
Lorenz Meier 8d497b58f9 Merge branch 'master' of github.com:PX4/Firmware 2013-09-10 11:53:06 +02:00
Buzz c12955fbc0 the "rgbled rgb X X X" command was broken, and would set green when you asked for red, and blue when you asked for green, and never set red. - off by 1 error in parameter numbering. 2013-09-10 13:32:32 +10:00
Lorenz Meier a7bff9f448 Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 22:27:31 +02:00
Lorenz Meier 98ac914cb0 Add setting queue depth to HMC test 2013-09-08 22:07:33 +02:00
Lorenz Meier 2d6dfe2a9e Allow px4io detect to be run when IO is already running 2013-09-08 20:40:26 +02:00
Julian Oes e8c309fb14 Workaround to prevent crash during mag calibration 2013-09-05 15:57:09 +02:00
Julian Oes e301bb4d94 Reset baudrate after px4io update 2013-09-03 17:07:41 +02:00
Lorenz Meier 1c5ceb17e8 Merge pull request #304 from julianoes/ardrone_fixes
Prevent flips at high throttle
2013-09-03 05:58:56 -07:00
Lorenz Meier 3c0c11aec3 v4 compatibility 2013-09-03 07:49:57 +02:00
Jean Cyr 54644e4206 Allow tone_alarm cmd to take filename as parameter
- Restore ability to play beloved William Tell Overture... from file
2013-08-31 16:06:15 -04:00
Lorenz Meier 669a802921 Hotfix: Better PX4IO detection feedbak 2013-08-31 11:22:41 +02:00
Jean Cyr b80f0d46ae Allow tone_alarm cmd to use tone names as well as number
- remove script dependency on hard coded tone numbers
- fix bug restarting repeating tone after stop
2013-08-31 01:03:32 -04:00
Jean Cyr f246b68c7b Fix parameter range check 2013-08-30 20:24:14 -04:00
Jean Cyr efca6f2cb1 Remove unused tones and save about 6K flash space
- Comment out unused tones
- Create symbolic tone numbers rather than hardcoded
2013-08-30 20:12:35 -04:00
Lorenz Meier 2b62497fb5 Fixed build error 2013-08-30 17:19:03 +02:00
Lorenz Meier e2b602339a Cleanup of detect return 2013-08-30 17:05:21 +02:00
Lorenz Meier 61936412f3 Speeded up IO startup, needs review 2013-08-30 15:40:28 +02:00
Julian Oes 9bcfe49cff Changed RGBLED behaviour, breathe mode when disarmed and ready to arm 2013-08-29 16:45:33 +02:00
Julian Oes 55cfa5152c Made low/critical warnings consisting 2013-08-29 16:41:59 +02:00
tstellanova f2f66432d7 Grab UTC time from GPS 2013-08-28 08:49:21 -07:00
Lorenz Meier 756d67f2de Removed non-helpful verbosity 2013-08-28 16:38:09 +02:00
Lorenz Meier feb4dad9e1 Fixed IO detect message 2013-08-28 15:22:24 +02:00
Lorenz Meier a48be0446b Added IO detect command to be smart about what to start before actually doing it 2013-08-28 14:58:53 +02:00
Andrew Tridgell 76a9e34e08 I2C airspeed driver needs 2 retries
this prevents I2C transfer errors every few seconds with the
meas_airspeed driver
2013-08-28 11:17:22 +02:00
Andrew Tridgell 935ed2fe49 meas_airspeed: don't use stale/bad data in airspeed reading
also fixed handling of perf counters on error
2013-08-28 11:16:55 +02:00
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