Commit Graph

3259 Commits

Author SHA1 Message Date
Thomas Gubler ffd2fa7386 commander: fix check for rc && gps loss 2014-08-23 13:25:50 +02:00
Thomas Gubler cc12e6051d obc rcloss: set altitude 2014-08-23 13:13:51 +02:00
Thomas Gubler 2971510289 commander: flight termination, require arming 2014-08-23 13:00:28 +02:00
Thomas Gubler fd3746a233 add OBC RC loss mode to navigator 2014-08-22 23:06:14 +02:00
Thomas Gubler 6ae8800ad0 move and rename params
airfield home is general
2014-08-22 23:05:19 +02:00
Thomas Gubler 4d75222b67 switch to rc loss mode if rc loss commanded 2014-08-22 21:41:24 +02:00
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 1a14ff250e fw att control: use RC only if in manual 2014-08-22 00:39:44 +02:00
Thomas Gubler c402ac28ec Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-21 20:04:21 +02:00
Lorenz Meier aa8fcceea2 Merge pull request #1297 from PX4/mission_fix
mavlink: missions manager compID cleanup
2014-08-21 14:40:34 +02:00
Lorenz Meier 9c75b9562e Be more permissive with mission component IDs, renamed camera to onboard link but still accepting same commandline syntax 2014-08-21 14:39:17 +02:00
Thomas Gubler f7dbc34027 sensors: remove warnx 2014-08-21 12:43:34 +02:00
Thomas Gubler 3e1de713af navigator: correct mode for land and termination 2014-08-21 09:39:43 +02:00
Thomas Gubler 0f01905f9a Merge remote-tracking branch 'upstream/master' into obcfailsafe
Conflicts:
	src/modules/commander/commander.cpp
2014-08-21 06:31:22 +02:00
Anton Babushkin 3cbfe989c7 mavlink: missions manager compID cleanup, use the common compID, stict compID checks for incoming messages 2014-08-20 21:54:38 +02:00
Lorenz Meier 56ec052346 Merge pull request #1283 from PX4/qnh
add param for qnh
2014-08-20 15:43:17 +02:00
Thomas Gubler 760a7ff548 gpsfailure: add skeleton class, activate in commander 2014-08-20 07:45:01 +02:00
Lorenz Meier 9e099b42fa Merge pull request #1291 from PX4/mavlink_cmdint
mavlink: Handle command int packets
2014-08-19 15:41:43 +02:00
Thomas Gubler 64ca94412e engine fail: fw pos control limits pitch and sets 0 throttle 2014-08-19 07:31:55 +02:00
Thomas Gubler 7f9c996555 engine fail: small state machine fix 2014-08-19 07:30:19 +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
Lorenz Meier 0d87dc9923 mavlink: Handle command int packets 2014-08-18 16:50:13 +02:00
Thomas Gubler 99860da9b7 commander: remove unnecessary output (navigator already does the output) 2014-08-17 16:36:35 +02:00
Thomas Gubler 66709ec295 Merge remote-tracking branch 'upstream/qnh' into obcfailsafe 2014-08-17 15:25:54 +02:00
Thomas Gubler 86ae2e489f sensors: do not exit task on error 2014-08-17 15:21:50 +02:00
Thomas Gubler db422a3f90 Merge remote-tracking branch 'upstream/qnh' into obcfailsafe 2014-08-17 13:46:04 +02:00
Thomas Gubler 91d8cb2edc sensors: move close to correct position 2014-08-17 13:45:51 +02:00
Thomas Gubler 5832948371 geofence: lat/lon is double
types changed but the geofence implentation was not updated, this was forgotten in 58792c5ca6
2014-08-17 12:37:14 +02:00
Thomas Gubler b100884220 geofence: support AMSL mode 2014-08-17 12:07:02 +02:00
Lorenz Meier c3522f8592 Publish telemetry status on telemetry update and on heartbeat update events to avoid inducing heartbeat update latencies resulting in spurious telemetry link dropped detections. Makes overall state handling simpler 2014-08-17 10:58:28 +02:00
Thomas Gubler a2cab83391 Merge remote-tracking branch 'upstream/qnh' into obcfailsafe 2014-08-17 10:46:31 +02:00
Thomas Gubler ca44efab7c Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-17 10:46:11 +02:00
Thomas Gubler 1913ae19f1 add param for qnh 2014-08-17 10:45:30 +02:00
Lorenz Meier dd0916bd7d code style fix for mavlink app 2014-08-17 10:31:56 +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 14189816f7 dlloss: better output 2014-08-16 14:28:39 +02:00
Thomas Gubler 94765f1fe0 datalinkloss: use vstatus from navigator
For some reason the own subscription did not work (the task launch
pattern used for the navigator may be the reason again)
2014-08-16 13:17:26 +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 2791a70976 remove warnx 2014-08-15 20:57:21 +02:00
Thomas Gubler 5406ba78a8 make navigator mode a child of navigator 2014-08-15 20:53:03 +02:00
Thomas Gubler e14d3b654b Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-15 18:03:49 +02:00
Thomas Gubler b71778d7e1 datalinkloss: change default param value 2014-08-15 01:41:48 +02:00
Thomas Gubler 8bc7d7f43d navigator: correctly use all navigator modes 2014-08-15 01:26:43 +02:00
Thomas Gubler 85d8781bc3 datalinkloss: improve logic 2014-08-15 01:26:04 +02:00