Commit Graph

824 Commits

Author SHA1 Message Date
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
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
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
Anton Babushkin
725bb7697c Minor fix in "set mode" command handling. 2013-08-25 20:17:42 +02:00
Lorenz Meier
bb5819a13f Merge branch 'multirotor' of github.com:cvg/Firmware_Private into multirotor 2013-08-25 16:33:24 +02:00
Lorenz Meier
e119bbb0f1 A lot more on calibration and RC checks. Needs more testing, but no known issues 2013-08-25 16:33:14 +02:00
Anton Babushkin
8579d0b7c9 Allow disarm by RC in assisted modes if landed and in AUTO_READY state. 2013-08-24 20:31:01 +02:00
Lorenz Meier
c42c28ebf4 Merge branch 'seatbelt_multirotor_new' of github.com:PX4/Firmware into multirotor 2013-08-23 23:08:12 +02:00
Anton Babushkin
5e9b508ea0 Indicate AUTO submodes in mavlink custom_mode. 2013-08-23 23:03:59 +02:00
tstellanova
d1fd1bbbf7 Fix timestamp on rates_sp 2013-08-23 13:27:16 -07:00
Lorenz Meier
29b926db1b Merged seatbelt_multirotor_new 2013-08-23 08:33:42 +02:00
Anton Babushkin
330908225e sdlog2: free buffer on exit 2013-08-22 18:23:42 +02:00
Anton Babushkin
41fac46ff0 mavlink VFR_HUD message fixed, minor fixes and cleanup 2013-08-22 18:05:30 +02:00
Anton Babushkin
bb91484b26 Default flight mode switches parameters changed. 2013-08-22 17:34:59 +02:00
Anton Babushkin
c0c5c1c70c Merge branch 'master' into seatbelt_multirotor_new 2013-08-22 17:32:59 +02:00
Anton Babushkin
b5bb20995b multirotor_att_control: yaw setpoint reset fix 2013-08-22 17:31:59 +02:00
Julian Oes
5f1004117f Restore proper feedback (mavlink and tone) for calibration commands, etc 2013-08-22 15:57:17 +02:00