Commit Graph

202 Commits

Author SHA1 Message Date
Anton Babushkin 7274c0ce30 Merge branch 'master' into beta 2014-01-30 23:07:28 +01:00
Lorenz Meier 8d79d91950 Revert "Merge pull request #620 from pigeonhunter/stack_sizes"
This reverts commit 3b31a6b1b9, reversing
changes made to 70afb3ca3b.
2014-01-30 21:54:29 +01:00
Anton Babushkin f64872b9b3 Merge branch 'master' into beta 2014-01-30 17:23:10 +01:00
Lorenz Meier ff753b9e24 Merged master into lockdown_disable 2014-01-30 10:00:01 +01:00
Anton Babushkin 6a1a29f77e global_position topic: added baro_alt, mc_pos_control: SEATBELT mode fixed, use baro/AMSL alt 2014-01-28 20:40:05 +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
Anton Babushkin d1508a7813 vehicle_control_mode publication moved to commander, WIP 2014-01-27 20:49:17 +01:00
Anton Babushkin 20108ed95d commander: minor refactoring current_status -> status 2014-01-27 13:18:54 +01:00
Anton Babushkin 9e9105048a commander, navigator: failsafe fixes, mavlink messages cleanup 2014-01-26 15:46:14 +01:00
Anton Babushkin c841929e3f commander: «home position set» condition fixed, failsafe fixes, navigator: state indication bugfix, control_mode fixes 2014-01-26 14:12:27 +01:00
Anton Babushkin b7c69262a7 state_machine_helper: added missed transition to FAILSAFE_STATE_LAND, transition conditions fixed 2014-01-26 11:58:50 +01:00
Anton Babushkin 7d2efe9367 commander, navigator: minor cleanup (refactoring), code style fixed 2014-01-26 11:52:33 +01:00
Anton Babushkin c7f0553938 cammander: state machine can now deny current state (e.g. when position lock lost during EASY mode), added FAILSAFE_STATE_LAND 2014-01-26 11:50:34 +01:00
Anton Babushkin 92ddf7903b commander: more user-friendly states indication 2014-01-25 23:37:26 +01:00
Anton Babushkin ebc7cb03b7 «flighttermination state» replaced by more general «failsafe state» 2014-01-25 23:24:12 +01:00
Anton Babushkin 58792c5ca6 Use double for lat/lon in vehicle_global_position topic, use filed names lat, lon, alt, vel_n, vel_e, vel_d for global positions 2014-01-24 00:06:10 +01:00
Anton Babushkin eb9fd154fe commander: more robust RC failsafe, but still hotfix, needs to be rewritten 2014-01-21 15:26:51 +01:00
Anton Babushkin b175937b5f navigator, commander: RTL and RC failsafe fixes 2014-01-18 14:25:24 +01:00
Anton Babushkin 5a1b39a172 RTL on RC failsafe 2014-01-18 00:15:34 +01:00
Lorenz Meier 62076c0e81 Teach the commander to arm on the commandline 2014-01-16 10:58:05 +01:00
Anton Babushkin 97e4522c76 Merge branch 'master' into navigator_new_vector 2014-01-14 15:45:49 +01:00
Anton Babushkin db1ea9bf51 Battery: default parameters updated 2014-01-13 10:11:16 +01:00
Lorenz Meier 9b711d6a72 Merged origin/master into batt_fixes 2014-01-07 15:34:13 +01:00
Anton Babushkin 61ef2e00a9 Merge branch 'navigator_new' into navigator_new_vector 2014-01-01 23:21:45 +04:00
Anton Babushkin 3c72c9bf7f navigator: force takeoff if first mission item is not takeoff and vehicle landed 2014-01-01 23:21:29 +04:00
Anton Babushkin ba7cbe48f2 Merge branch 'navigator_new' into navigator_new_vector 2013-12-31 12:50:11 +04:00
Anton Babushkin d35a169907 navigator: NAV_STATE_INIT removed, minor fixes 2013-12-31 12:46:35 +04:00
Anton Babushkin 6c30eebeb8 Merge branch 'navigator_new' into navigator_new_vector 2013-12-30 14:42:00 +04:00
Anton Babushkin 33385a783c Added NONE = not mapped state for mission and return switches 2013-12-30 14:04:24 +04:00
Anton Babushkin a71b04775c Merge commit '95bdc1a9bd364ce95abe06b097579cc8a9162e33' into navigator_new_vector 2013-12-30 08:55:26 +04:00
Anton Babushkin fa20fae6fb Some mavlink fixes to use vehicle_control_mode, WIP 2013-12-29 22:38:41 +04:00
Anton Babushkin 7e29028429 Moving nav state from commander to navigator, WIP 2013-12-29 12:16:49 +04:00
Anton Babushkin 7b7539fbbd Merge branch 'navigator_new' into navigator_new_vector, WIP 2013-12-28 10:04:13 +04:00
Julian Oes 72d9c80ce9 Home position: corrected wrong conversion 2013-12-27 14:00:27 +01:00
Julian Oes 32c7aea2a6 Home position: use double for lat/lon and float for altitude, set home position to global position instead of GPS position once we have a fix 2013-12-27 11:07:45 +01:00
Anton Babushkin 5a2da77758 Merge branch 'master' into mathlib_new 2013-12-23 18:16:28 +04:00
Thomas Gubler 68d8230e78 Merge remote-tracking branch 'upstream/control_groups' into fw_autoland_att_tecs_navigator_termination_controlgroups
Conflicts:
	src/systemcmds/tests/module.mk
	src/systemcmds/tests/tests.h
2013-12-23 11:13:42 +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
Anton Babushkin ba612c3ee8 mathlib fixes 2013-12-19 14:10:25 +04:00
Thomas Gubler 23d0c6f8dd temporary workaround to trigger failsafe with remote control 2013-12-14 11:03:02 +01:00
Thomas Gubler 367d5d0cf2 fix wrong usage of navigation state in flighttermination state machine 2013-12-14 11:02:16 +01:00
Thomas Gubler 278e05e425 added simple flight termination state machine which enbales parachute on request 2013-12-08 16:52:41 +01: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
Thomas Gubler a94ed67b3f update the commander to only use local pos for landing detection when on rotary wing 2013-11-26 13:47:37 +01:00
Anton Babushkin 94a3935975 Merge branch 'master' into batt_fixes 2013-11-11 22:03:09 +04: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
Thomas Gubler ae9fae5aae fix MEAS airspeed and airspeed calibration 2013-11-10 19:25:38 +01:00
Thomas Gubler 22ef0c7735 fix MEAS airspeed and airspeed calibration 2013-11-10 19:24:57 +01:00
Anton Babushkin 6b085e8ced Use discharged current to estimate remaining battery charge if capacity is known 2013-11-08 21:30:10 +04:00