Commit Graph

18758 Commits

Author SHA1 Message Date
Lorenz Meier 56975e0dd1 Hotfixed position control param update 2013-08-31 11:23:03 +02:00
Lorenz Meier 669a802921 Hotfix: Better PX4IO detection feedbak 2013-08-31 11:22:41 +02:00
Lorenz Meier acc06e7eb1 Added logbuffer free function 2013-08-31 11:22:15 +02:00
Lorenz Meier 7292e8c722 Hotfix for mavlink logbuffer, needs another round of validation. 2013-08-31 11:21:57 +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
Hyon Lim (Retina) 6a6fe69371 Bug in so3 estimator related to R matrix 2013-08-31 03:23:03 +09:00
Hyon Lim (Retina) 9f2419698f Topic has been changed for quaternion-based attitude controller. 2013-08-31 03:22:19 +09:00
Hyon Lim (Retina) fff1856377 There was a bug in position_estimator_mc. Solved 2013-08-31 03:11:58 +09: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
Anton Babushkin 3a00def189 commander: switch to AUTO_READY or AUTO_MISSION immediately, don't try to stay on ground 2013-08-30 10:11:24 +02:00
Anton Babushkin 5146dd8ff8 position_estimator_inav: critical bug fixed 2013-08-30 10:09:31 +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
Lorenz Meier 94d678098c Merge branch 'multirotor' 2013-08-29 08:10:41 +02:00
tstellanova b986607a75 Add defines for RC15 params (16 channels total)
minor cleanup of rc sanity check code
2013-08-28 18:32:16 -07:00
Anton Babushkin 53813d44a0 sdlog2: "landed" flag logging 2013-08-28 21:41:52 +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
Lorenz Meier b7ee1d3429 Prevented an analog airspeed corner case from happening 2013-08-28 14:34:49 +02:00
Lorenz Meier 0fb3be64ea More verbosity on RC cal fail in sensors app 2013-08-28 11:18:10 +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 7fa2b9c91a Merge branch 'multirotor' of github.com:cvg/Firmware_Private into fixedwing_l1 2013-08-28 11:14:31 +02:00
Lorenz Meier d0c59ffe54 First stab at actual controller 2013-08-28 11:14:22 +02:00
Lorenz Meier d28f5ac03f Updated IO firmware upgrade strategy and locations 2013-08-28 09:14:38 +02:00
Anton Babushkin 66c61fbe96 Full failsafe rewrite. 2013-08-27 23:08:00 +02:00
Lorenz Meier 0104f070c6 Merge branch 'multirotor' into fixedwing_l1 2013-08-27 16:11:41 +02:00
Anton Babushkin b9d6981cee multirotor_att_control: yaw control bug fixed 2013-08-27 13:40:18 +02:00
Lorenz Meier 33c7342909 Minor fixes for calibration, UI language much more readable now 2013-08-27 10:36:43 +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
Lorenz Meier 665a232592 More calibration polishing 2013-08-27 10:15:17 +02:00
Lorenz Meier 94d8ec4a1c Calibration message cleanup 2013-08-27 09:48:22 +02:00
Anton Babushkin b29d13347a position_estimator_inav: reset reference altitude on arming. 2013-08-26 22:08:56 +02:00
Anton Babushkin 7326f8a421 multirotor_pos_control: fixes, set local_position_sp.yaw 2013-08-26 13:53:43 +02:00
Anton Babushkin baa2cab69d commander: do AUTO_MISSION after takeoff 2013-08-26 13:53:43 +02:00
Anton Babushkin bf9282c988 position_estimator_inav: requre EPH < 5m to set GPS reference 2013-08-26 13:53:42 +02:00
Anton Babushkin 00a2a0370e accelerometer_calibration fix 2013-08-26 13:53:42 +02:00
Anton Babushkin c5731bbc3f TAKEOFF implemented for multirotors, added altitude check to waypoint navigation. 2013-08-26 09:12:17 +02:00
Lorenz Meier 2537977101 Merge pull request #15 from sjwilks/multirotor_unittests
Add a simple unit testing framework and tests for the commander state machine.
2013-08-25 14:27:38 -07:00
Simon Wilks e25f2ff44f Whitespace and formatting cleanup. 2013-08-25 22:54:31 +02:00
Simon Wilks 548f322493 Added a simple unit test framework and initial testing some of the commander state machines. 2013-08-25 22:43:01 +02:00