81 Commits

Author SHA1 Message Date
Lorenz Meier
243a28ff8b Do not send an error message for RX pairing commands 2014-02-01 23:13:41 +01:00
Lorenz Meier
14bbecfd7a Hotfix: Check all channel mappings for valid ranges 2014-02-01 18:59:26 +01:00
Lorenz Meier
8d79d91950 Revert "Merge pull request #620 from pigeonhunter/stack_sizes"
This reverts commit 3b31a6b1b9756eb191eaaafb1c137e6874079281, reversing
changes made to 70afb3ca3b3f1844241c9c9312579bbb2475232c.
2014-01-30 21:54:29 +01:00
Lorenz Meier
ff753b9e24 Merged master into lockdown_disable 2014-01-30 10:00:01 +01:00
Darryl Taylor
0488d5b41c Reduced commander main task stack size to 2088. The high-water-mark measured at 1668 after calibration and flight. 25% safety margin, but commander is fairly complex. There are surely untested code paths here, but each is relatively shallow. 2014-01-28 10:43:33 +08:00
Darryl Taylor
d1fb765187 Reduced low priority thread stack size to 1728. Top indicates the high-water-mark is at 1380 during accelerometer calibration. Safety margin ~25% 2014-01-28 10:30:16 +08:00
Lorenz Meier
62076c0e81 Teach the commander to arm on the commandline 2014-01-16 10:58:05 +01:00
Lorenz Meier
9b711d6a72 Merged origin/master into batt_fixes 2014-01-07 15:34:13 +01:00
Lorenz Meier
b9a533acae Merge pull request #505 from PX4/rc_failsafe
Futaba RC failsafe support
2013-12-19 07:41:25 -08:00
Thomas Gubler
ea9fcaa27f update the commander to only use local pos for landing detection when on rotary wing
Conflicts:
	src/modules/commander/commander.cpp
2013-11-26 18:56:06 +01:00
Anton Babushkin
714f5ea634 Track raw battery voltage and filtered battery voltage separately. Estimate remaining battery as min(voltage_estimate, discharged_estimate). Battery voltage LPF time increased. 2013-11-11 22:02:55 +04:00
Anton Babushkin
6b085e8ced Use discharged current to estimate remaining battery charge if capacity is known 2013-11-08 21:30:10 +04:00
Julian Oes
4502c285eb Startup scripts: Start the commander early and let it try to open the mavlink_fd with 20Hz 2013-11-05 19:56:33 +01:00
Anton Babushkin
97acb49028 commander: bug fixed in failsafe 2013-11-01 13:58:23 +04:00
Lorenz Meier
5781b58640 Minor bugfix to commander, emits arming sound now on the right occasions. Fixes an annoying issue where the arming sound would go off constantly if the safety was re-engaged in arming mode, something that we consider to be ok operationally 2013-11-01 09:05:28 +01:00
Lorenz Meier
1336d625a8 Hotfix: Announcing important messages via audio 2013-10-28 14:47:37 +01:00
Lorenz Meier
17ddc7f471 Merge pull request #483 from PX4/calib_rotation
Calibration of rotated board
2013-10-23 03:32:20 -07:00
Anton Babushkin
28b4e97853 Fixed bug with fd leak in rc_calibration_check 2013-10-22 21:01:30 +02:00
Anton Babushkin
ea89f23c91 calibration: bugs fixed, mavlink messages cleanup 2013-10-21 20:07:47 +02:00
Lorenz Meier
db4ff7f080 Merge pull request #446 from PX4/commander_fixes
commander fixes
2013-10-13 03:10:23 -07:00
Anton Babushkin
3fd2048188 commander: remove duplicate publishing of vehicle_control_mode and actuator_armed topics, remove unused "counter" field from topics 2013-10-07 22:16:57 +02:00
Lorenz Meier
d1871bd7bb State machine fixes for HIL 2013-10-06 14:18:28 +02:00
Lorenz Meier
6616aa6f99 Fixed in-air restart, now obeys the right order 2013-09-22 14:58:06 +02:00
Lorenz Meier
826d5687be Fixed in-air restart 2013-09-22 14:43:12 +02:00
Anton Babushkin
2362041dc1 commander: state indication changed, 3 green blinks = succsess, 3 white blinks = neutral, 3 red blinks = reject 2013-09-19 19:58:41 +02:00
Anton Babushkin
8a70efdf43 Beep and print message when arming is not allowed 2013-09-14 08:55:45 +02:00
Lorenz Meier
d3ac8c9ff3 Fixed HIL mode switching, HIL works 2013-09-08 21:06:55 +02:00
Lorenz Meier
56a35cc889 Fixed commander start / stop to ensure the state is sane once NSH returns 2013-09-08 20:05:15 +02:00
Lorenz Meier
aa785b0d2b Hotfix: Better error reporting, fixed sched param setup 2013-09-05 13:24:21 +02:00
Lorenz Meier
f6bf1c7bf2 Closing files that should be closed 2013-09-01 10:29:30 +02:00
Lorenz Meier
3f4315b476 Hotfix: Increase stack size for low prio commander task 2013-08-31 11:49:36 +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
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
Anton Babushkin
66c61fbe96 Full failsafe rewrite. 2013-08-27 23:08:00 +02:00
Anton Babushkin
baa2cab69d commander: do AUTO_MISSION after takeoff 2013-08-26 13:53:43 +02:00
Anton Babushkin
c5731bbc3f TAKEOFF implemented for multirotors, added altitude check to waypoint navigation. 2013-08-26 09:12:17 +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
Lorenz Meier
29b926db1b Merged seatbelt_multirotor_new 2013-08-23 08:33:42 +02:00
Anton Babushkin
41fac46ff0 mavlink VFR_HUD message fixed, minor fixes and cleanup 2013-08-22 18:05:30 +02:00
Julian Oes
5f1004117f Restore proper feedback (mavlink and tone) for calibration commands, etc 2013-08-22 15:57:17 +02:00
Lorenz Meier
ec49c72a8b Merge branch 'seatbelt_multirotor_new' of github.com:PX4/Firmware into fmuv2_bringup_new_state_machine_drton 2013-08-20 16:24:29 +02:00
Anton Babushkin
db950f7489 position_estimator_inav: "landed" detector implemented, bugfixes 2013-08-20 12:17:15 +02:00
Lorenz Meier
16559313db Merged calibration_cleanup 2013-08-20 09:17:28 +02:00
Lorenz Meier
1e96633907 Merged seatbelt_multirotor_new / master 2013-08-19 19:04:10 +02:00