Commit Graph

36779 Commits

Author SHA1 Message Date
Andrew Tridgell 778b88cba2 GCS_MAVLink: disable reboot when armed
this prevents reboot on vehicles that have ARMING_REQUIRE=0, which
applies to some planes, but those vehicles tend to not use MAVLink
reboot anyway.
2019-03-19 10:53:37 +11:00
Mark Whitehorn e71eae7d3b AP_AHRS: add new method get_quat_body_to_ned() 2019-03-19 10:46:25 +11:00
Mark Whitehorn 1c52458d72 AC_AttitudeControl: use new method get_quat_body_to_ned() 2019-03-19 10:46:25 +11:00
Peter Barker 3dc2db8d9a GCS_MAVLink: queue parameter request even if we can't fit a reply ATM 2019-03-19 10:37:09 +11:00
Peter Barker 4eba6d4fe2 GCS_MAVLink: exempt requested parameters from buffer space reservation
Fixes a problem where we reserve space to send replies but then do not
bypass the reserved-space checks when sending them.
2019-03-19 10:37:09 +11:00
Peter Barker f0200a4d9b GCS_MAVLink: GCS_Common: correct overflows in bandwidth and count calculations 2019-03-19 10:37:09 +11:00
Peter Barker 227f6499d3 Copter: mark vtol_state and landed_state methods as override 2019-03-19 10:32:50 +11:00
Peter Barker 716b0fdc88 GCS_MAVLink: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker bdcb48d835 AP_Mount: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker 9ab33fd3c4 AP_Mission: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker 3889c91974 AP_AHRS: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker 495111d67e AP_ADSB: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker d9ddb8f34d AC_WPNav: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker 3629273959 AC_Fence: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker b346e82b3e Replay: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker eb7cf9843e Sub: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker f940564f2b Plane: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker 366051c39f Copter: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker 6e67481355 Tracker: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker 4c9651dbfd SITL: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker 22c0175d7f AP_Location: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Mark Whitehorn 61a04bd898 AP_AHRS: fix bug in attitudes_consistent() 2019-03-19 10:19:47 +11:00
Mark Whitehorn 825055d736 Plane: add rate-only option for QACRO mode 2019-03-19 10:13:59 +11:00
Mark Whitehorn 6414f0e48e Plane: skip plane assignments in QACRO 2019-03-19 10:13:59 +11:00
Mark Whitehorn abfeee3a3d Plane: fix indentation 2019-03-19 10:13:59 +11:00
Mark Whitehorn 5cdfccad14 AP_Motors: specialize MotorsMatrixTS motor controls 2019-03-19 10:13:59 +11:00
Andrew Tridgell 3907466f9d Plane: added TKOFF_TIMEOUT parameter
this allows for a timeout on auto-takeoff. This can be combined with
other takeoff parameters to allow the user to abort a hand-launch
after the motor has started without GCS interaction.

The 4m/s threshold is a bit arbitrary. We could make that a parameter
in the future if it is needed
2019-03-18 14:48:08 +11:00
Andrew Tridgell 2b6210d594 Plane: use WP height for height above ground in vtol landing
this allows for landings above or below the takeoff height without
requiring the use of terrain data. It allows both the use of vfwd
motor for holding against wind, and the correct height for land final
descent rate
2019-03-18 14:47:27 +11:00
Andrew Tridgell b4103d04cc Plane: never use vfwd motor if vtol motors shutdown 2019-03-18 13:38:41 +11:00
Andrew Tridgell 7908ad437e Plane: allow fwd motor to run in VTOL land hor positioning
this fixes an issue with vtol landings below the takeoff point
2019-03-18 13:38:41 +11:00
IamPete1 2d14d79a65 Tracker: clamp output angles to relevant ranges 2019-03-18 12:08:12 +11:00
Peter Barker 020aa6bd49 AC_AutoTune: emit a warning every second while pilot overrides active 2019-03-18 09:35:52 +09:00
IamPete1 1ac74e2fe5 Tracker: add initial mode parameter 2019-03-18 10:37:39 +11:00
IamPete1 392b59d7d6 Tracker: set actual and desired for GCS-PID message 2019-03-18 10:11:33 +11:00
IamPete1 144e3ed39a Tracker: initialize mission object 2019-03-18 10:11:33 +11:00
Randy Mackay eb96dcf173 Rover: consolidate compass calls in sensors.cpp 2019-03-16 13:26:08 +09:00
Randy Mackay c36345b2cc Rover: move declaration of rpm_update 2019-03-16 13:26:08 +09:00
Randy Mackay 7a80eb0169 Rover: move update_mission to APMrover2.cpp 2019-03-16 13:26:08 +09:00
cindyywang d9805a9366 Rover: move methods in commands_logic.cpp to mode_auto.cpp 2019-03-16 13:26:08 +09:00
Randy Mackay 5286b6fab6 Rover: re-order auto mode implementations 2019-03-16 13:26:08 +09:00
Peter Barker 7498972b8d AP_RPM: add AP::rpm() call for singleton 2019-03-16 10:33:01 +09:00
Peter Barker b1c789f73d Sub: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Peter Barker 0edba9070f Plane: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Peter Barker 85d9dd6f64 Copter: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Peter Barker fb5532356a Rover: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Peter Barker bb1ae30594 GCS_MAVLink: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Tom Pittenger 8d6748dc4f AP_ADSB: add special vehicle that ignores range filters 2019-03-15 14:50:53 -07:00
Tom Pittenger ec59fe9398 ADSB: cleanup, make more things const 2019-03-15 14:50:53 -07:00
Tom Pittenger 624d6b5490 AP_ADSB: add accessor to fetch a vehicle from database by icao 2019-03-15 14:50:53 -07:00
Randy Mackay 99dd588f28 Rover: version to 3.6.0-dev 2019-03-15 21:18:51 +09:00