Commit Graph

64978 Commits

Author SHA1 Message Date
Andrew Tridgell cbba88fccd AP_Scripting: added 2nd supply voltage to SkyPower EFI driver
and accept both extended and 11-bit CAN
2024-09-14 09:24:03 +10:00
Ryan Friedman 2aa5db5e73 AP_ExternalAHRS: Remove GPS week comment
* It's a hold-over from MSP. None of AP handles 0xFFFF in a special way

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-14 09:18:33 +10:00
Andrew Tridgell fc2f518934 autotest: added CopterTailsitter test
test rearward rangefinder
2024-09-14 08:39:51 +10:00
Andrew Tridgell 83cac93e85 Plane: allow for any orientation of rangefinder for landing
this is principally for tailsitters where rangefinders would be
orientation with RNGFND1_ORIENT=12 (PITCH_180), but also allows for
custom orientations which will be useful if the rangefinder is tilted
forward
2024-09-14 08:39:51 +10:00
Andrew Tridgell fea279b181 SITL: support more rangefinder orientations
allows for quadplane tailsitter rangefinders
2024-09-14 08:39:51 +10:00
Bob Long 72a013952c AP_EFI: Hirth: fix sensor health bitmask 2024-09-13 18:52:48 +10:00
Bob Long e32d3ceaf7 AP_EFI: Hirth: remove crankshaft sensor status
There is no crankshaft sensor status reported by this EFI. This line is
misleading and should be removed. The sensor health bitmask is already
logged elsewhere.
2024-09-13 18:52:48 +10:00
Andy Piper ef1be6fe01 AP_RCProtocol: only update rc value for GHST on rc frames 2024-09-13 18:52:05 +10:00
Benjamin Menkuec 09286e6f53 AP_MSP: MSP_RAW_GPS cog should be decidegrees not centidegrees 2024-09-13 12:45:22 +10:00
muramura 9e28bec87a AP_NavEKF3: use UINT8_MAX as flag value in place of 255 2024-09-13 09:17:17 +10:00
muramura 8b5c5fcdb7 AP_AHRS: use UINT8_MAX as flag value in place of 255 2024-09-13 09:17:17 +10:00
Andrew Tridgell f3b4f8fdc4 Plane: added Q_APPROACH_DIST
this sets a minimum distance to use the fixed wing approach logic. It
is an alternative to just disabling the approach with Q_OPTIONS which
some users do to avoid some short distance problems. This allows the
approach to still be used for longer distances in QRTL but have it
disabled for shorter distances
2024-09-12 20:48:48 +10:00
Ikko Eltociear Ashimine 78f0e78977 Tools: update param_parse.py
seperator -> separator
2024-09-12 14:55:03 +10:00
yuri-rage cd4501e62d AP_Scripting: add advance-wp.lua 2024-09-12 14:23:43 +10:00
muramura a9a2696368 AP_Mission: Change the magic number to a defined value 2024-09-12 14:23:10 +10:00
muramura 68bb55841a AP_HAL_ESP32: Change the magic number to a defined value 2024-09-12 14:23:10 +10:00
muramura 70046e0d58 AP_HAL_ChibiOS: Change the magic number to a defined value 2024-09-12 14:23:10 +10:00
weavVN e5f4f87b9e AP_ExternalAHRS: VectorNav: rename dataflash log message names 2024-09-12 14:22:54 +10:00
Bob Long 2c14176f6a AP_EFI: fix ECYL log message
- Convert temperatures Celsius to match the docs
- Fix format specifier for CHT2
2024-09-12 14:22:39 +10:00
Andrew Tridgell 53a4b5a843 AP_Scripting: add handle_external_position_estimate binding
can be used for offboard navigation systems
2024-09-12 06:58:57 +10:00
Yuxin Pan adc147aba3 Tools: remove params from whiltelist 2024-09-12 06:54:15 +10:00
Yuxin Pan 61afab2b70 SITL: remove params from whiltelist 2024-09-12 06:54:15 +10:00
Peter Barker 66a2788663 hwdef: RadioLinkPIX6 uses SPL06 driver 2024-09-11 18:27:47 +10:00
Wu 3f577793a1 AP_Baro: SPx06 adds Background mode 2024-09-11 18:27:47 +10:00
Wu c70150e531 AP_Baro: add SPA06 to SPx06 driver 2024-09-11 18:27:47 +10:00
Andrew Tridgell ef5e3c5662 Tools: use "--enable-PPP" not "--enable-PPP_Support" 2024-09-11 16:11:22 +10:00
Andrew Tridgell 96cf157df9 AP_Networking: update comment 2024-09-11 16:11:22 +10:00
Andrew Tridgell bcf19b6d0d Tools: adjust usage of --enable for uppercase names 2024-09-11 16:11:22 +10:00
Andrew Tridgell b2b9226863 waf: allow any custom build option to be specified in waf configure
this makes it easy to configure with any option from build_options.py
2024-09-11 16:11:22 +10:00
Ryan Friedman 236b3e5eb3 Tools: Hotfix missing 3 and linters
* CI was disabled, we missed these

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-11 13:54:53 +10:00
Bob Long 2b903d20b4 AP_ESC_Telem: tidy old calls to _telem_data
When #27755 was first opened, #26252 had not been merged yet. #26252
refactored a bit, but the change was not applied to #27755. This commit
fixes that.

This should not change the behavior of the code.
2024-09-11 10:23:00 +10:00
Yuxin Pan e7359c12f1 Tools: add some parameter documentation
SITL: vehicle_test_suite.py parameters removal from whitelist

SITL: Add known unit amp hour

SITL: Add known unit Ah

Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2024-09-11 10:22:22 +10:00
Yuxin Pan 41ffc7c860 SITL: SITL.cpp parameters documentation update 2024-09-11 10:22:22 +10:00
Stephen Dade a3548b6a21 Rover: slow vehicle if unable to track in circle mode 2024-09-11 10:21:57 +10:00
Stephen Dade e0e79a6287 Rover: Correct circle mode nav outputs 2024-09-11 10:21:57 +10:00
koehlert 9beca76f44 GCS_MAVLink: fix includes to ap_message
"GSC_config.h" is needed for HIGHRES_IMU_ENABLED flag.
2024-09-11 08:57:24 +09:00
Randy Mackay a2845e4222 Copter: auto mode takeoff complete pos fix 2024-09-11 08:44:45 +09:00
Andy Piper bb2249f766 AC_AttitudeControl: record latest gyro value and time used for logging
move Write_Rate() to AC_AttitudeControl
move RATE log structure to AC_AttitudeControl
2024-09-10 16:33:04 +01:00
Andy Piper b255b70661 Sub: Write_Rate() moved to AC_AttitudeControl 2024-09-10 16:33:04 +01:00
Andy Piper 8596466d5a Plane: Write_Rate() moved to AC_AttitudeControl 2024-09-10 16:33:04 +01:00
Andy Piper ff72e163d9 Copter: Write_Rate() moved to AC_AttitudeControl 2024-09-10 16:33:04 +01:00
Andy Piper c7b0dfc915 AC_AutoTune: Write_Rate() moved to AC_AttitudeControl 2024-09-10 16:33:04 +01:00
Andy Piper 4f4e822d88 AP_AHRS: move Write_Rate() to AC_AttitudeControl
move RATE log structure to AC_AttitudeControl
2024-09-10 16:33:04 +01:00
xianglunkai c40422cde3 AP_Proximity_DroneCAN: fix code stype 2024-09-10 23:36:44 +10:00
Peter Barker 154229006a AP_MSP: avoid nullptr dereference on bad rcmap 2024-09-10 22:00:50 +10:00
Peter Barker f2604f2f34 Rover: avoid nullptr dereference on bad rcmap value entry 2024-09-10 22:00:50 +10:00
Peter Barker a868fb8861 Blimp: avoid nullptr dereference on bad rcmap value entry 2024-09-10 22:00:50 +10:00
Peter Barker 9be4cc65c7 ArduCopter: avoid nullptr dereference on bad rcmap value entry 2024-09-10 22:00:50 +10:00
Peter Barker 11b04b7610 ArduCopter: avoid nullptr dereference on bad rcmap value entry 2024-09-10 22:00:50 +10:00
Peter Barker c99fc688e1 ArduPlane: avoid nullptr dereference on bad rcmap value entry 2024-09-10 22:00:50 +10:00