Commit Graph

59728 Commits

Author SHA1 Message Date
Tom Pittenger 2365f5ca1a AP_Periph: Update BATT_HIDE_MASK desc
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2023-09-13 08:16:45 +10:00
Tom Pittenger 6fb94828fe AP_Periph: add param BATT_HIDE_MASK 2023-09-13 08:16:45 +10:00
Peter Barker 86aad6f6bf AP_Logger: log valid-input and in-rc-failsafe
Can now sensibly log these now the RC_Channels library has the methods
2023-09-12 19:14:18 +10:00
Leonard Hall ffc553f34f AC_AttitudeControl: Fix yaw limit calculations 2023-09-12 19:14:01 +10:00
Randy Mackay ed7ca580c2 AC_AttitudeControl: add const get_rate_pid accessors 2023-09-12 19:14:01 +10:00
Randy Mackay 11ddf9f7c7 AC_PID: add const kP accessor 2023-09-12 19:14:01 +10:00
Anthony Luo 781c760245 Tools: document SIM_FLOW_* params 2023-09-12 18:56:06 +10:00
Anthony Luo f0d7a367f4 SITL: document SIM_FLOW_* params 2023-09-12 18:56:06 +10:00
Peter Barker a391b14a6d AP_GPS: replace utility functions with compiler builtins 2023-09-12 09:48:53 +10:00
Peter Barker 10c8af3409 AP_NavEKF3: do not use fmaxF on floating point values
it returns double, which will not fit into this float
2023-09-12 09:47:17 +10:00
Nick Exton ac96365a61 AP_Mount: In Siyi, add check for minimum supported firmware version 2023-09-12 08:36:29 +09:00
Nick Exton fd6242964a AP_Mount: In Siyi, rename _firmware_version member to _fw_version (NFC) 2023-09-12 08:36:29 +09:00
Nick Exton 8b7b265e9f AP_Mount: In Siyi, store full firmware version info 2023-09-12 08:36:29 +09:00
Peter Barker 0a98953ad7 autotest: add regression tests for Winch 2023-09-12 09:30:27 +10:00
Peter Barker 38ba5da09b Copter: allow winch commands to be run as both COMMAND_LONG and COMMAND_INT 2023-09-12 09:30:27 +10:00
Peter Barker 0b225a825c ArduCopter: use AHRS to get Locations from origin-offset 2023-09-12 09:29:26 +10:00
Peter Barker 72f485b5a5 AP_Common: remove unused Location constructor from Vector3d
Replaced with AHRS method
2023-09-12 09:29:26 +10:00
Peter Barker a9c62fa565 AP_Common: Location: add offset(Vector3p &ned_offset) 2023-09-12 09:29:26 +10:00
Peter Barker 6e1e1f6596 AP_AHRS: add methods for returning location for origin offsets 2023-09-12 09:29:26 +10:00
Peter Barker e872a8fd6f autotest: paper over problem with EKF heading not recovering
# the following line papers over a probably problem with the
        # EKF recovering from bad compass offsets.  Without it, the
        # EKF will maintain a 10-degree offset from the true compass
        # heading seemingly indefinitely.
2023-09-12 09:24:38 +10:00
Andy Piper 3120788cba bootloaders: SpeedyBeeF405Mini 2023-09-12 09:23:39 +10:00
Andy Piper f3ac8f9d75 hwdef: SpeedyBeeF405Mini 2023-09-12 09:23:39 +10:00
Peter Barker fcc2b503e5 AP_Mission: remove unused method mavlink_cmd_long_to_mission_cmd 2023-09-12 09:22:36 +10:00
Peter Barker 445f1fa272 Plane: handle DO_CHANGE_SPEED as COMMAND_INT 2023-09-12 09:22:36 +10:00
Peter Barker 2d4b952f47 autotest: augment DO_CHANGE_SPEED test to run as commadn_int/test throttle 2023-09-12 09:22:36 +10:00
Mark Whitehorn da0f382eb2 AP_Scripting: tricks-on-a-switch activation bugfix 2023-09-12 09:21:38 +10:00
Ep Pravitra 9700e65d19 AP_AdvancedFailsafe: option to automatically set mode to auto when datalink is loss
When enabled, it ensures vehicle enters AUTO even if it is currently in other autonomous modes (for example Guided)
2023-09-12 09:09:39 +10:00
Iampete1 2c1dde8019 AP_Scripting: Examples: UART log: remove spaces in log description 2023-09-12 08:46:00 +10:00
Randy Mackay 81cbca150b AP_Torqeedo: error code reporting fix 2023-09-12 08:44:39 +10:00
James O'Shannessy 768e2409df AP_Relay: check enabled relay mask for passing relay outputs to hardware 2023-09-11 12:21:13 +10:00
James O'Shannessy 8125ba1a41 SITL: add hardware relay enable mask for passing relays through to hardware 2023-09-11 12:21:13 +10:00
arshPratap 8c2627ca40 AP_DDS: Added Mode Switch Service 2023-09-11 09:50:14 +10:00
arshPratap 6a998fd9a8 AP_Vehicle: Added DDS_Command as a new ModeReason 2023-09-11 09:50:14 +10:00
Nick Exton d99b5c173a AP_Mount: In Siyi, fix zoom percentage in CAMERA_SETTINGS 2023-09-11 09:48:57 +10:00
Tatsuya Yamaguchi 30bb82a884 AP_ESC_Telem: fix fake value of SITL ESC 2023-09-11 09:48:34 +10:00
Henry Wurzburg aea186655f AP_Scripting: add version requirement to plane_aerobatics 2023-09-11 09:16:44 +10:00
Henry Wurzburg e1d91e3007 Plane:add taildrag holdown to TAKEOFF mode 2023-09-11 09:16:02 +10:00
Peter Barker 99012bd525 AP_TECS: ensure good TECS state before running update_pitch_throttle
update_pitch_throttle can be called when update_50hz hasn't run in a very long time, or ever.  This requires a main loop rate >50Hz, and for the mode change to occur in the same loop that update_50Hz doesn't run but update_pitch_throttle does.
2023-09-10 12:32:13 +10:00
Andrew Tridgell 94201f12c6 Plane: use deadzone in stick mixing
this prevents small RC input deviations from impacting non-pilot
controlled modes via stick mixing
2023-09-10 12:25:40 +10:00
Peter Barker eb344ee35c AP_Logger: remove AP_Logger.h include in AP_Logger_Backend
Don't need the storage size in the header
2023-09-09 17:35:15 +10:00
rishabsingh3003 5aea8317b5 AP_RangeFinder: Small optimizations 2023-09-09 17:21:44 +10:00
rishabsingh3003 a8a8c96610 AP_RangeFinder: small NFC fixes 2023-09-09 17:21:44 +10:00
rishabsingh3003 3f65d713c8 AP_Arming: Don't allow same CAN rangefinder on different can bus 2023-09-09 17:21:44 +10:00
rishabsingh3003 747c708dba AP_RangeFinder: Have special handling for NRA24 pre-arm checks 2023-09-09 17:21:44 +10:00
rishabsingh3003 ba08993a0b AP_CANManger: Add NRA24 CAN driver 2023-09-09 17:21:44 +10:00
rishabsingh3003 66c2deaeac AP_Arming: Include NRA24 CAN driver 2023-09-09 17:21:44 +10:00
rishabsingh3003 f6a244e14f AP_RangeFinder: Add NanoRadar NRA24 CAN driver 2023-09-09 17:21:44 +10:00
rishabsingh3003 400fec94ef AP_Arming: Include TOFSenseP CAN driver 2023-09-09 17:21:44 +10:00
rishabsingh3003 0110c98afc AP_CANManager: Add TOFSenseP CAN driver 2023-09-09 17:21:44 +10:00
rishabsingh3003 4422296b95 AP_RangeFinder: Add TOFSenseP CAN Rangefinder 2023-09-09 17:21:44 +10:00