Commit Graph

13526 Commits

Author SHA1 Message Date
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 2c0d192944 Use the wind speed estimate filtered values 2014-08-18 21:26:18 +02:00
Lorenz Meier cfcb76f627 Add long-term stable wind estimate 2014-08-18 21:23:59 +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
Lorenz Meier 47b3f1253e Fix bottle drop logic 2014-08-18 16:47:30 +02:00
Thomas Gubler 174b0a5527 Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages
Conflicts:
	src/modules/mavlink/mavlink_main.cpp
2014-08-18 09:26:49 +02:00
Anton Babushkin f31c3243b0 mc_pos_control: navigation fixes, smooth position setpoint movements 2014-08-17 23:28:48 +02:00
Lorenz Meier 171857811f EKF filter update. Now correctly scaling variance (well, if you could call this ever "correct") for repeated fusion of the same data quantity. 2014-08-17 20:49:46 +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
Simon Wilks 789f949e74 Added debugging and small locking fix. 2014-08-17 10:19:48 +02:00
Anton Babushkin 7b44485104 mission: takeoff and next waypoint related fixes 2014-08-16 18:46:42 +02:00
Anton Babushkin fc0bdfb6f5 mc_pos_control: trajectory following, using previous and next waypoints 2014-08-16 18:42:12 +02:00
Thomas Gubler ab9b234893 commander: mavlink output on flight termination 2014-08-16 18:07:21 +02:00
Simon Wilks 8a066a85fa Fixed bottle drop to operate in GPS outdoor test, pending test flight 2014-08-16 17:53:51 +02:00
Simon Wilks 584394d2bc Silenced commander 2014-08-16 17:53:23 +02:00
Simon Wilks 26b2f73c6f Call the appropriate functions directly. 2014-08-16 14:42:18 +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
Anton Babushkin ee254be845 navigator: skip takeoff if already above takeoff altitude 2014-08-16 11:16:27 +02:00
Thomas Gubler 35daef948b fix datalink loss detection logic 2014-08-16 10:52:01 +02:00
Lorenz Meier 61d052ede7 Fix param value 2014-08-15 23:41:57 +02:00
Lorenz Meier f8f72d665d Last drop fixes and adjustments 2014-08-15 23:40:53 +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 1e9d77f1d2 offboard: ignore mask cleanup
add handling of thrust ignore bit, add defines for the bitnumbers,
improve and fix interface to ignore bitmask
2014-08-15 12:58:06 +02:00
Thomas Gubler 874846969c Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages 2014-08-15 09:04:55 +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
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 9ee6ab366d add flighttermination circuit breaker 2014-08-14 17:30:05 +02:00
Simon Wilks 0c78794e57 Fix the index numbers and command max travel in the app for the drop servo. 2014-08-14 16:43:49 +02:00