Commit Graph

37244 Commits

Author SHA1 Message Date
Peter Barker 74e4a7047f Tools: autotest: add simple test for Copter flying with MANUAL_CONTROL 2019-03-27 16:12:10 +11:00
Randy Mackay 5d8747c81d AP_InetialSensor: fixup ENABLE_MASK parameter desc 2019-03-27 13:14:48 +09:00
Patrick José Pereira cf595e4f40 travis: Use clang-7 and not clang-5
This fix c8f726151b
It was building by default with clang-5.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-27 14:54:21 +11:00
Peter Barker c1c71fec23 Copter: move Mode functions into mode.cpp from Attitude.cpp (NFC) 2019-03-27 14:02:31 +11:00
Peter Barker 7e01d1ef50 Copter: correct compilation for ERROR_SUBSYSTEM_FLIGHT_MODE changing names 2019-03-27 13:23:12 +11:00
Peter Barker 706a75ad03 Sub: move Log_Write_Error into library 2019-03-27 12:36:40 +11:00
Peter Barker 0d0dfd49bd AP_Logger: accomodation for Sub error subsystems and codes 2019-03-27 12:36:40 +11:00
Peter Barker c7e21d95ef Copter: move Log_Write_Error into library 2019-03-27 12:36:40 +11:00
Peter Barker 4d4a63cc33 Rover: move Log_Write_Error into library 2019-03-27 12:36:40 +11:00
Peter Barker d2a683a758 AP_Logger: move Log_Write_Error into library 2019-03-27 12:36:40 +11:00
Peter Barker 86f8fcfd8a Tools: autotest: add test for Rover manual control 2019-03-27 11:57:51 +11:00
Peter Barker 9a16b40a73 Tools: autotest: rename get_rudder_channel to get_stick_arming_channel
... as some of these aren't actually rudder inputs...
2019-03-27 11:29:53 +11:00
Patrick José Pereira 2959d38e0e autotest: Remove magic numbers in ardusub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-26 19:39:24 -04:00
Peter Barker 7dafde5783 Plane: stop passing dataflash into handle_radio_status 2019-03-27 10:38:39 +11:00
Peter Barker 7a1648059b Copter: stop passing dataflash into handle_radio_status 2019-03-27 10:38:39 +11:00
Peter Barker fda4487afe Rover: stop passing dataflash into handle_radio_status 2019-03-27 10:38:39 +11:00
Peter Barker 778bff966c GCS_MAVLink: stop passing dataflash into handle_radio_status
It can use the singleton instead
2019-03-27 10:38:39 +11:00
Peter Barker 58de6f1e68 Rover: remove unused channel_aux member 2019-03-27 10:01:41 +11:00
Patrick José Pereira 6152f31c1e AC_PosControl_Sub: Add new relax_alt_hold_controllers
When changing from manual to alt hold controller it's necessary to hold the I term
since this will help to fix the altitude with vehicles that are not neutral buoyancy

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-26 13:37:18 -04:00
Patrick José Pereira d2052cdd35 Sub: Use new reset_i in relax_alt_hold_controllers
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-26 13:37:18 -04:00
Patrick José Pereira 33768cd79c Sub: Fix overshoot from joystick input
This approach waits for a zero derivative point and to set the new actual position
Such method is necessary since the inertia of the ROV underwater is bigger than aerial vehicles
resulting in a big overshoot

Fix #9797

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-26 13:37:18 -04:00
Peter Barker 335c1769ee Copter: do not allow change to Drift if in non-manual-throttle mode
drift acts just like stabilise or acro in terms of pilot throttle when
pilot input is maxed.
2019-03-26 20:57:15 +11:00
Peter Barker 25e5243b63 Tools: autotest: include drift in Copter ManualThrottle tests 2019-03-26 20:57:15 +11:00
Peter Barker d95160b33c Copter: move check for high-throttle on mode change up 2019-03-26 20:57:15 +11:00
Peter Barker 34d9ce27af Copter: make get_pilot_desired_throttle a method on Mode 2019-03-26 20:57:15 +11:00
Peter Barker 265d8d62cd Tools: autotest: add timeout to wait_ekf_flags waiting for EKF_STATUS_REPORT 2019-03-26 20:55:32 +11:00
Peter Barker 18a211f3e6 Tracker: stream out EKF status report
Resolves a problem in autotest where we wait in vain for an
EKF_STATUS_REPORT
2019-03-26 20:55:32 +11:00
Randy Mackay 26ec280507 Tools: add HK-HydroPro-Inception parameter file 2019-03-26 16:47:16 +09:00
IamPete1 59526efa02 Tracker: restore scan mode functionality 2019-03-26 17:16:02 +11:00
Peter Barker 176d26b40a Tools: generate_manifest: flake8 compliance 2019-03-26 16:21:14 +11:00
Peter Barker 02e687e99c Tools: generate_manifest: improve handling of unknown tags 2019-03-26 16:21:14 +11:00
Peter Barker 6fe7db2f43 Tools: autotest: add test for REQUEST_MESSAGE 2019-03-26 16:20:50 +11:00
Peter Barker 0ef26a6950 GCS_MAVLink: add support for request_message 2019-03-26 16:20:50 +11:00
Mirko Denecke 9c8a7efbc6 AP_Compass: remove unused field 2019-03-26 16:09:11 +11:00
Patrick José Pereira e8b5fd4c70 Rover: Fix typos
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-26 15:39:39 +11:00
Patrick José Pereira 33764d6c3b Copter: Fix typo
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-26 15:39:23 +11:00
Mark Whitehorn 55047324ac AC_AttitudeControl: add new tailsitter bodyframe roll option 2019-03-26 14:50:37 +11:00
Mark Whitehorn e0765747e7 Plane: add new tailsitter bodyframe roll option 2019-03-26 14:50:37 +11:00
Mark Whitehorn 4e9b6d1919 AC_AttitudeControl: improve tailsitter bodyframe roll control 2019-03-26 14:50:37 +11:00
yaapu efdad1fca7 AP_Frsky_Telem: fix for passthrough telemetry stall while sending message chunks
This prevents the library from giving message chunks a too high priority leading to
all telemetry packets but 0x5006(attitude) to starve.
2019-03-26 13:01:59 +11:00
Peter Barker d0bf257357 Plane: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Peter Barker 173611e819 Sub: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Peter Barker b976442e64 Tracker: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Peter Barker f63a5d5c1b Rover: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Peter Barker 9a2d5ac5a6 Copter: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Peter Barker 2796beac8d GCS_MAVLink: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Pierre Kancir b58ded8e0c AP_Mission: use void casting to prevent GCC warning on memcopy 2019-03-26 10:43:23 +11:00
Pierre Kancir 1d8cc85cb9 AntennaTracker: zero initialize vehicle instead of memsetting it
Solve gcc8 warning
2019-03-26 10:43:23 +11:00
Mark Whitehorn da1e5bc61f AP_AHRS: refactor View
* AP_AHRS: refactor View
2019-03-26 10:41:55 +11:00
IamPete1 ffc94f19cd Plane: use AHRS view for all vtol modes 2019-03-26 10:41:55 +11:00