Commit Graph

797 Commits

Author SHA1 Message Date
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
Thomas Gubler 7baa337d9b flight termination on geofence violation 2014-07-19 19:25:53 +02:00
Thomas Gubler 0b743a9f5c parse flighttermination command 2014-07-19 14:39:41 +02:00
Lorenz Meier 3db78a4ab3 commander: Warn at 18 and 9% battery remaining instead of 25 and 10% to not trigger the warning too early (at 50%) as it was before 2014-07-19 14:34:19 +02:00
Lorenz Meier 3a0fc36c67 Consider the throttle load for battery voltage calculation 2014-07-19 14:12:33 +02:00
Thomas Gubler 8bb1f9a4bf Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages 2014-07-17 09:13:00 +02:00
Thomas Gubler f460870738 support force setpoints 2014-07-17 09:12:45 +02:00
Lorenz Meier f89062fe3b Merge pull request #1186 from PX4/logging
Multi-instance handling for sensors
2014-07-17 07:33:50 +02:00
Anton Babushkin 698fcb6b86 commander: only warn about lost link if link was working before 2014-07-16 14:22:48 +02:00
Thomas Gubler 3c8927c423 once offboard is set by mavlink command ignore RC mode 2014-07-16 09:39:40 +02:00
Lorenz Meier e696ed5509 Merged master 2014-07-15 22:07:03 +02:00
Thomas Gubler e162178f35 Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages 2014-07-15 10:35:26 +02:00
Lorenz Meier e91a4217ad Fix warning 2014-07-15 07:54:12 +02:00
Thomas Gubler 747eda92b9 commander: handle VEHICLE_CMD_NAV_GUIDED_ENABLE 2014-07-14 11:19:06 +02:00
Thomas Gubler 574b7fc854 Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages 2014-07-14 09:56:14 +02:00
Lorenz Meier 9ce7820e41 Make instructions in commander more obvious for airspeed calibration 2014-07-14 08:32:51 +02:00