120 Commits

Author SHA1 Message Date
Julian Oes
d63c054bb0 state_machine_helper: changed failsafe behaviour: always require at least one link for default, do RTGS as soon as datalink is lost if datalink loss mode is enabled 2014-11-12 09:48:32 +10:00
Julian Oes
3c9a73f3e4 fixed empty if body 2014-11-11 10:28:24 +10:00
Julian Oes
fa5f365882 state_machine_helper: fixed comments 2014-11-11 10:25:53 +10:00
Julian Oes
2c57781581 state_machine_helper: trying to clean up some failsafe logic 2014-11-10 21:40:13 +10:00
Julian Oes
f8bed3cd89 state_machine_helper: whitespace 2014-11-10 21:39:35 +10:00
Thomas Gubler
e174117698 gps failure has priority over engine falure, in case both fail make sure
that the gps failure mode does not turn on the engine
2014-09-22 10:54:27 +02:00
Thomas Gubler
3d528a2c97 introduce new nav state to allow normal rtl with RC switch 2014-08-26 22:22:59 +02:00
Thomas Gubler
e52f7770be Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-24 16:26:42 +02:00
Lorenz Meier
64d3c48770 Add warning for non-standard avionics rail voltages 2014-08-24 13:32:46 +02:00
Lorenz Meier
bf8956d2e8 Be only reasonably strict on avionics supply voltage. 2014-08-24 13:26:28 +02:00
Thomas Gubler
3c10b78e20 stae machine helper: remove unnecessary check for RC loss 2014-08-23 14:02:22 +02:00
Thomas Gubler
4d75222b67 switch to rc loss mode if rc loss commanded 2014-08-22 21:41:24 +02:00
Thomas Gubler
760a7ff548 gpsfailure: add skeleton class, activate in commander 2014-08-20 07:45:01 +02:00
Thomas Gubler
f480c10282 state machine helper: use stay in failsafe flag 2014-08-16 14:37:46 +02:00
Thomas Gubler
72beef90c9 set correct nav state for data link loss 2014-08-16 13:09:10 +02:00
Thomas Gubler
0f2b66fa8b failsafe: enable support for commands 2014-08-14 22:38:48 +02:00
Thomas Gubler
017f82e2b8 Merge remote-tracking branch 'origin/master' into obcfailsafe 2014-08-12 12:30:20 +02:00
Don Gagne
014fd5f47b Add fRunPreArmChecks flag
This is to allow unit tests to be written which do not perform pre-arm
checks
2014-08-04 09:41:29 -07:00
Thomas Gubler
f78ea38d98 Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-01 12:09:16 +02:00
Julian Oes
54b9698d65 circuit_breakers: added param to disable airspeed check 2014-07-26 17:48:45 +02:00
Thomas Gubler
1b2f9070ea engine_failure flag
Added engine_failure flag to behicle status, alsoset_nav_state in the
state machine helper takes this flag into account
2014-07-24 22:29:04 +02:00
Thomas Gubler
24f380137e add method to block fallback to mission
failsafe navigation modes can use a flag in mission_result to tell the
commander to not switch back to mission
2014-07-23 22:58:19 +02:00
Lorenz Meier
a5f538dc5c Commander: Print technical feedback as last resort if no feedback was provided before 2014-07-20 16:06:31 +02:00
Lorenz Meier
f3b8890601 commander: Explain sensor arming fail case to users 2014-07-20 14:31:23 +02:00
Lorenz Meier
b3a80025b3 Do not confuse operators / users with technical error messages 2014-07-20 14:28:24 +02:00
Lorenz Meier
7968c6864e Force update of offset, do not add offset in final value 2014-07-14 00:04:02 +02:00
Lorenz Meier
91651bf240 Merged commander fixes into airspeed_test_fix 2014-07-13 12:46:49 +02:00
Lorenz Meier
0d51230d4e commander: Final MAVLink text feedback cleanup 2014-07-13 12:04:43 +02:00
Lorenz Meier
7525c290f2 commander: more text feedback improvements. 2014-07-13 11:46:36 +02:00
Lorenz Meier
21ce6676a1 Merged master into airspeed_test_fix 2014-07-11 22:03:05 +02:00
Lorenz Meier
11d9724563 Stop warning users just because they shake a bit, be more strict to catch sensor failures or calibration errors in time 2014-07-11 16:03:27 +02:00
Lorenz Meier
a118e8dbdd Make commander error message more verbose 2014-07-11 15:17:21 +02:00
Lorenz Meier
79c5d434bd Commander: More hotfixes to prearm check routine 2014-07-11 15:10:11 +02:00
Lorenz Meier
b97c867420 Add a check command and fix error reporting 2014-07-11 14:51:13 +02:00
Lorenz Meier
4c13c67504 Hotfix: Close fd before reusing it again 2014-07-11 14:02:22 +02:00
Lorenz Meier
3157b06fee Generalized the airspeed check 2014-07-10 15:52:19 +02:00
Julian Oes
407eafbdbb Merge branch 'master' into offboard2_merge
Conflicts:
	src/modules/navigator/navigator.h
	src/modules/navigator/navigator_main.cpp
2014-07-07 15:11:12 +02:00
Anton Babushkin
06f08ad04d commander: require home position for MISSION, fallback to LOITER 2014-07-06 21:37:26 +02:00
Julian Oes
73d6121a9d Merge branch 'master' into offboard2_merge
Conflicts:
	src/modules/uORB/topics/rc_channels.h
2014-07-02 15:15:26 +02:00
Lorenz Meier
fb98251e4d Warning fixes in commander 2014-07-01 09:52:36 +02:00
Lorenz Meier
9dbc83cce1 Merged master into prearm_checks 2014-06-30 16:24:48 +02:00
Lorenz Meier
799f568ab4 commander: Minor checks / improvements to power enforce patch 2014-06-30 14:33:56 +02:00
Lorenz Meier
154f14e747 Merged master into power_enforce 2014-06-30 00:50:38 +02:00
Julian Oes
5330ffe458 commander: detect if offboard control is lost and missing offboard states 2014-06-27 12:53:07 +02:00
Lorenz Meier
b20d0c0f01 commander: Remove prearm test print statements 2014-06-26 12:36:43 +02:00
Lorenz Meier
a1132580c5 commander: Add pre-arm check for main sensors. 2014-06-26 12:11:39 +02:00
Lorenz Meier
571e139c24 commander: Formatting and logic flow cleanup, no functional change 2014-06-24 21:33:03 +02:00
Julian Oes
4e08457afe Merge remote-tracking branch 'px4/pr/1058' into navigator_rewrite_offboard
Conflicts:
	src/modules/commander/commander.cpp
	src/modules/commander/state_machine_helper.cpp
	src/modules/mavlink/mavlink_receiver.cpp
	src/modules/mavlink/mavlink_receiver.h
	src/modules/uORB/topics/vehicle_status.h
2014-06-20 18:18:39 +02:00
Julian Oes
62faa2ee51 commander/navigator: renamed FS modes to RTL and RTGS (return to ground station) 2014-06-19 10:26:56 +02:00
Julian Oes
e24925c743 commander: added some failsafe logic 2014-06-18 19:01:41 +02:00