14330 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
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
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
a897b3d88e Added complete attitude control framework 2013-08-23 16:28:53 +02: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
Julian Oes
6c3da5aedd Reset yaw position when disarmed in multirotor controller 2013-08-22 15:55:33 +02:00
Julian Oes
ca96140b21 Allow the tone alarms to be interrupted 2013-08-22 15:53:46 +02:00
Lorenz Meier
966cee66df Add navigator - not enabled for compilation, WIP 2013-08-22 15:32:58 +02:00
Lorenz Meier
85eafa323a Fix to RC param updates on IO 2013-08-22 10:43:19 +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
Julian Oes
8083efb60c Use gyro at correct rate 2013-08-21 14:21:11 +02:00