Commit Graph

36964 Commits

Author SHA1 Message Date
Peter Barker 86bd531b24 Copter: use convenience manual_override method 2019-03-27 22:33:47 -07:00
Peter Barker 32b29b3394 Rover: use convenience manual_override method 2019-03-27 22:33:47 -07:00
Peter Barker 30a66d9f13 GCS_MAVLink: implement a convenience manual_override method 2019-03-27 22:33:47 -07:00
Randy Mackay 543bb289f4 AP_BoardConfig: fix SLCAN param descriptions 2019-03-28 13:54:24 +09:00
Randy Mackay 7c09084f02 Copter: add Loiter and Follow to aux switch 2019-03-28 13:54:22 +09:00
Randy Mackay b496af411e GCS_MAVLink: fix typo 2019-03-28 13:54:19 +09:00
Andrew Tridgell 6e1e89bb70 AP_FlashStorage: fixed a corruption bug
many thanks to @sh83 for tracking down this bug. When write_all() is
called with non-zero offset in init it ends up calling write with an
invalid offset, triggering a full reset

This fixes issue #10874
2019-03-28 14:33:44 +11:00
Peter Barker 8441542a52 Copter: remove climb_rate cache of inertial_nav.get_velocity_z
There were only two users of it and dozens of places using
get_velocity_z
2019-03-28 12:10:31 +11:00
murata fb544cab78 AP_Proximity: Change from method reference to macro 2019-03-28 12:02:55 +11:00
murata 7340502f18 AP_Common: Set the value of UINT16 with HIGH byte and LOW byte 2019-03-28 12:02:55 +11:00
Peter Barker 6bac6cd725 Copter: remove redundant compass arming checks
These are already part of prearm checks in the parent class, which must also pass for us to arm
2019-03-28 11:28:44 +11:00
ChristopherOlson e56c970eb0 Copter:AP_ARMING - remove collective position prearm check for heli 2019-03-28 10:40:54 +11:00
Jimmy Jacobson 83b882417f Update GIT_Success.txt
Tools: added name to GIT_Success.txt”
2019-03-27 15:48:59 -07:00
Mark Whitehorn b3f093b877 Plane: remove trig calls from constexpr 2019-03-28 09:41:14 +11:00
na 494a3f86ad AP_IntertialSensor: support ICM20601 IMU 2019-03-28 09:15:27 +11:00
Andrew Tridgell 2d2b02e50b Tools: added more INS device decodes 2019-03-28 09:15:27 +11:00
Randy Mackay 2cbd97dd7a AP_OpticalFlow: support cx-of on all boards 2019-03-28 08:07:29 +11:00
Peter Barker e3561f7204 Sub: add log entry if depth sensor failure is resolved 2019-03-27 12:02:53 -04:00
Peter Barker b6ee93aeef AP_Logger: change BAD_DEPTH logerror code from 0 to 3
We use 0 to mean cleared for many other subsystems, so this is a bit of
a wart.
2019-03-27 12:02:53 -04:00
Peter Barker e9398e73ff Copter: tidy get_pilot_desired_throttle 2019-03-27 18:03:56 +11:00
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