Commit Graph

4475 Commits

Author SHA1 Message Date
Andrew Tridgell 4c3c099902 USB: set attributes for bus power, no remote wakeup
this may help the USB bus providing the full 500mA on some systems
2013-08-28 11:18:40 +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 aebfbca9be Merge branch 'multirotor' into stable 2013-08-28 09:20:29 +02:00
Lorenz Meier d28f5ac03f Updated IO firmware upgrade strategy and locations 2013-08-28 09:14:38 +02:00
Lorenz Meier 5fe3c49ba0 Merged multirotor branch 2013-08-28 08:14:13 +02:00
Anton Babushkin 66c61fbe96 Full failsafe rewrite. 2013-08-27 23:08:00 +02:00
Lorenz Meier e44d134c6c Merge pull request #364 from julianoes/gitignore_ctags
Ignore files for ctags (used with SublimeText3)
2013-08-27 12:56:55 -07:00
Lorenz Meier 719bbaa4f3 Merge pull request #329 from tridge/windows-com-port-names
build: use unqualified com port names on windows
2013-08-27 12:56:34 -07:00
Anton Babushkin 864c1d048c Revert "Tighter configs to save RAM"
This reverts commit 3380d40a7d.
2013-08-27 20:16:51 +02:00
Lorenz Meier 3380d40a7d Tighter configs to save RAM 2013-08-27 15:37:04 +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
Lorenz Meier c98e47eecf Merge branch 'fmuv2_bringup' of github.com:cvg/Firmware_Private into fmuv2_bringup 2013-08-27 10:16:00 +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
Lorenz Meier 9f45b1c589 Merge branch 'multirotor' of github.com:cvg/Firmware_Private into multirotor 2013-08-27 07:50:52 +02:00
Lorenz Meier 6a4d3c34fb Merge branch 'fmuv2_bringup' into multirotor 2013-08-27 07:50:27 +02:00
Lorenz Meier 7b42d7a047 Made number of streams more reasonable 2013-08-27 07:50:15 +02:00
Lorenz Meier bfd0444cb3 Revert "Increased the number of max files descriptors considerably"
This reverts commit 3157285254.
2013-08-27 07:49:36 +02:00
Anton Babushkin b29d13347a position_estimator_inav: reset reference altitude on arming. 2013-08-26 22:08:56 +02:00
Lorenz Meier e88d63ef27 Increased USB buffer size to cope with fast transfers 2013-08-26 15:03:58 +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
Lorenz Meier 31dcd5a16d Merge branch 'multirotor' of github.com:cvg/Firmware_Private into multirotor 2013-08-26 13:26:45 +02:00
Lorenz Meier 54ad734b95 Merge branch 'fmuv2_bringup' into multirotor 2013-08-26 13:26:25 +02:00
Lorenz Meier 3157285254 Increased the number of max files descriptors considerably 2013-08-26 13:26:01 +02:00
Lorenz Meier dfde02c825 Startup scripts fixup, fixed unmatched dependencies 2013-08-26 11:53:52 +02:00
Anton Babushkin c5731bbc3f TAKEOFF implemented for multirotors, added altitude check to waypoint navigation. 2013-08-26 09:12:17 +02:00
px4dev 07f7fd1585 Fix the firmware build rules so that we always know how to build all the firmwares and thus we can have dependencies between FMU and IO firmware handled a little more sensibly. 2013-08-25 22:26:47 -07: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
Lorenz Meier f8fc956fa8 Merge branch 'master' of github.com:PX4/Firmware 2013-08-25 22:14:03 +02:00
Lorenz Meier 2075cba636 Added H frame to docs 2013-08-25 22:13:49 +02:00
Anton Babushkin 725bb7697c Minor fix in "set mode" command handling. 2013-08-25 20:17:42 +02:00
Anton Babushkin 7ab129ba92 Merge commit 'bb5819a13fa8c46daf2e61a58c78a13232ffcd99' into multirotor 2013-08-25 19:33:36 +02:00
Anton Babushkin 557d3f22de Startup scripts major cleanup 2013-08-25 19:27:11 +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 41dfdfb1a4 Use common rc.multirotor script (now only in 01_fmu_quad_x). 2013-08-24 20:32:46 +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 8df6acbfaf Merge branch 'multirotor' of github.com:cvg/Firmware_Private into multirotor 2013-08-24 13:42:10 +02:00