Commit Graph
612 Commits
Author SHA1 Message Date
Thomas Gubler d50135b611 rc loss && gps loss: flight termination 2014-08-22 21:40:58 +02:00
Thomas Gubler b22acadb8a DL loss && gps fail: flight termination 2014-08-22 21:02:33 +02:00
Thomas Gubler 406a52e639 fix typo 2014-08-22 20:24:04 +02:00
Thomas Gubler 752a0a5625 add obc gps failure mode 2014-08-22 00:40:45 +02:00
Thomas Gubler 760a7ff548 gpsfailure: add skeleton class, activate in commander 2014-08-20 07:45:01 +02:00
Thomas Gubler e3724e64d4 Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages 2014-08-19 09:12:41 +02:00
Lorenz Meier 8d7a12218c Time out after a reasonable interval (10 seconds, as e.g. OBC rules prescribe). Experiments show the SiK radios to time out ~4-7 seconds if they loose sync 2014-08-18 20:06:30 +02:00
Thomas Gubler 99860da9b7 commander: remove unnecessary output (navigator already does the output) 2014-08-17 16:36:35 +02:00
Thomas Gubler ab9b234893 commander: mavlink output on flight termination 2014-08-16 18:07:21 +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 a972a28571 fix param name 2014-08-16 11:41:31 +02:00
Thomas Gubler 35daef948b fix datalink loss detection logic 2014-08-16 10:52:01 +02:00
Thomas Gubler e14d3b654b Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-15 18:03:49 +02:00
Thomas Gubler 6fe0482b27 failsafe: make warnx more clear 2014-08-15 00:07:38 +02:00
Thomas Gubler 0f2b66fa8b failsafe: enable support for commands 2014-08-14 22:38:48 +02:00
Thomas Gubler e634c9fa99 Merge remote-tracking branch 'origin/master' into offboard2_externalsetpointmessages
Conflicts:
	src/modules/mavlink/mavlink_receiver.cpp
2014-08-13 15:07:09 +02:00
Thomas Gubler 017f82e2b8 Merge remote-tracking branch 'origin/master' into obcfailsafe 2014-08-12 12:30:20 +02:00
Thomas Gubler 89986cf3e5 epv/eph threshold variable names changed 2014-08-11 13:46:13 +02:00
Thomas Gubler af1ad04c23 Merge remote-tracking branch 'origin/master' into geo 2014-08-11 13:37:08 +02:00
Thomas Gubler 8bbaacb1e9 Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages
Conflicts:
	src/modules/mavlink/mavlink_main.cpp
	src/modules/mavlink/mavlink_main.h
	src/modules/mavlink/mavlink_receiver.cpp
2014-08-11 10:33:11 +02:00
Don Gagne cfe5c45e04 Fix broken arming unit test
Also, update arming_state_transition calls to add new fRunPreArmChecks
flag.
2014-08-04 09:42:16 -07: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
Don Gagne 6fbeaeaace Update arming_state_transition calls
Add new fRunPreArmChecks flag
2014-08-04 09:40:38 -07:00
Thomas Gubler f78ea38d98 Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-01 12:09:16 +02:00
Lorenz Meier 75dfb0d84d Merge pull request #1236 from PX4/real_life_timeouts
Increase GPS position timeout to real-life timeouts. More work needed.
2014-07-31 11:33:10 +02:00
Lorenz Meier 391a5c82cb Print avionics voltage 2014-07-30 19:54:40 +02:00
Lorenz Meier 0cbd943d09 Differentiate between EPH and EPV. Do not declare position invalid because of EPV (because we use the baro anyway). No fundamental logic change / cleanup to ensure current approach and arming logic remains intact 2014-07-29 17:50:52 +02:00
Lorenz Meier 8e12d79ef4 Increase GPS position timeout to real-life timeouts. More work needed. 2014-07-27 23:43:39 +02:00
Thomas Gubler db5d668439 add simplistic gps failure detection 2014-07-27 00:55:43 +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 a35814d15b dl loss: correct timeout, add hysteresis also for regain 2014-07-24 08:57:58 +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
Thomas Gubler 825b84fa3b Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages
Conflicts:
	src/modules/mavlink/mavlink_main.cpp
2014-07-23 09:31:28 +02:00
Thomas Gubler ed19faf428 Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-07-22 21:20:04 +02:00
Thomas Gubler a9a8f1435f abort comm loss mode if counter above param and return home directly 2014-07-21 23:56:32 +02:00
Lorenz Meier 25d1cc3995 Final value for battery load param default 2014-07-21 07:35:23 +02:00
Lorenz Meier c95de36d3a commander: Add missing parameter definition 2014-07-20 19:42:31 +02:00
Thomas Gubler 86b9e367a6 introduce data link lost counter 2014-07-20 18:23:41 +02:00
Thomas Gubler dcf114aa65 data link loss timeout as param 2014-07-20 17:53:04 +02:00
Thomas Gubler 74417f1439 Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-07-20 17:40:38 +02:00
Lorenz Meier 264fe884a2 Fixed load voltage calculation 2014-07-20 16:28:44 +02:00
Lorenz Meier 3935540c7d Set full voltage correctly to ensure percentage range fits. Force all users to new value by param renaming. Since this will tend to show batteries as more drained than before, this is a change in a safe direction and will not trigger unnoticed discharges. 2014-07-20 16:23:43 +02:00
Lorenz Meier e21cb64553 Merge branch 'master' of github.com:PX4/Firmware into battload 2014-07-20 16:21:59 +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 5fb2a92e77 commander: Do not confuse developers with wrong comments, do not confuse users with not at all helpful "general error" messages. 2014-07-20 14:28:05 +02:00
Lorenz Meier 5d2489880c Fix low voltage warning threshold to 9%, not 90% 2014-07-19 21:14:14 +02:00