Commit Graph

60852 Commits

Author SHA1 Message Date
daniel.li 6f2236e351 AP_Bootloader: Fix AIRVOLUTE format issue 2023-10-30 14:03:42 +11:00
Nick Exton 98dfaba23d Copter: Use AP_Mount::clear_roi_target() to remove ROI 2023-10-30 08:28:23 +09:00
Nick Exton 2c6798a540 Sub: Use AP_Mount::clear_roi_target() to remove ROI 2023-10-30 08:28:23 +09:00
Nick Exton 5b28086131 AP_Mount: Remove handler for DO_SET_ROI_NONE 2023-10-30 08:28:23 +09:00
Nick Exton 57cead9052 GCS_MAVLink: Make handler for DO_SET_ROI_NONE common 2023-10-30 08:28:23 +09:00
Nick Exton f6a2f2e535 autotest: Add Copter test to verify clearing ROIs 2023-10-30 08:28:23 +09:00
muramura abf4cd573e AP_RangeFinder: Remove unnecessary whitespace(NFC) 2023-10-30 07:16:54 +09:00
Andrew Tridgell 483d19f44c AP_InertialSensor: apply stuck gyro fix to all IxM42xxx sensors
TDK has confirmed this applies to all IxM42xxx sensors
2023-10-29 08:24:04 +11:00
Nicholas Ionata 8b4bc0e077 AP_Mission: correct incorrect comment about method reutrn value
The comment for the AP_Mission::clear method had an incorrect claim as to the return value
2023-10-28 10:14:50 +02:00
Henry Wurzburg dfdd1492ff AP_ICEngine:update OPTIONS metadata 2023-10-28 15:30:31 +11:00
Henry Wurzburg e474305c6d hwdef:free flash for space critical bds 2023-10-28 13:32:19 +11:00
Rhys Mainwaring 33f122146e AP_DDS: revert change that removed namespace for TF subscriber topic
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-10-28 10:31:46 +11:00
Peter Barker 6589290053 Tools: filter empty columns out of size_compare result 2023-10-27 17:41:30 +11:00
Matt 2ff314a478 ardupilot: Update BUILD.md
added binding for ap_periph for building waf
2023-10-27 14:17:21 +11:00
Peter Barker a8bd417527 autotest: cope with rename of AutoTest to Testsuite 2023-10-27 14:17:09 +11:00
Peter Barker 00bbb61411 autotest: rename common.py to vehicle_test_suite.py 2023-10-27 14:17:09 +11:00
Peter Barker b5edc4c757 GCS_MAVLink: correct use of AP_MAVLINK_MSG_RELAY_STATUS_ENABLED define 2023-10-27 14:16:47 +11:00
Peter Barker 9c759c3e61 AP_HAL: move AP_BOOTLOADER_FLASHING_ENABLED default to AP_HAL
.... need the defines on HALs other than ChibiOS
2023-10-27 14:16:47 +11:00
Peter Barker f70a510c6b AP_HAL_ChibiOS: move AP_BOOTLOADER_FLASHING_ENABLED default to AP_HAL
.... need the defines on HALs other than ChibiOS
2023-10-27 14:16:47 +11:00
Peter Barker 988d917384 Rover: correct compilation if rangefinder disabled 2023-10-27 14:16:47 +11:00
Peter Barker 2ac9cc94c6 GCS_MAVLink: correct compilation if rangefinder disabled 2023-10-27 14:16:47 +11:00
Peter Barker 98d6e365d7 Rover: tidy use of GPS mavlink defines 2023-10-27 14:16:47 +11:00
Peter Barker 724104aa2a Blimp: tidy use of GPS mavlink defines 2023-10-27 14:16:47 +11:00
Peter Barker 5006242da0 ArduSub: tidy use of GPS mavlink defines 2023-10-27 14:16:47 +11:00
Peter Barker c91968017b ArduPlane: tidy use of GPS mavlink defines 2023-10-27 14:16:47 +11:00
Peter Barker 875580069c ArduCopter: tidy use of GPS mavlink defines 2023-10-27 14:16:47 +11:00
Peter Barker 17459b30de AntennaTracker: tidy use of GPS mavlink defines 2023-10-27 14:16:47 +11:00
Peter Barker fbbadecfe3 GCS_MAVLink: tidy use of GPS mavlink defines 2023-10-27 14:16:47 +11:00
Peter Barker 1c7eebec3a GCS_MAVLink: tidy proximity message handling 2023-10-27 14:16:47 +11:00
Peter Barker 306caae6e5 GCS_MAVLink: tidy OSD param message handling 2023-10-27 14:16:47 +11:00
Peter Barker 1f0ae343b1 GCS_MAVLink: tidy ADSB message handling 2023-10-27 14:16:47 +11:00
Peter Barker c1f0c9e70a GCS_MAVLink: tidy CAN message handling 2023-10-27 14:16:47 +11:00
Peter Barker 0f6718b23d GCS_MAVLink: remove FLASH_BOOTLOADER commandd if not compiled in
removes handling of MAV_CMD_FLASH_BOOTLOADER if AP_BOOTLOADER_FLASHING_ENABLED is disabled

Side-effect of correcting the mavlink result code in that case.
2023-10-27 14:16:47 +11:00
Peter Barker 33962cdaf5 Rover: save bytes when AP_AIS_ENABLED is false 2023-10-27 14:16:47 +11:00
Peter Barker 159b71cee8 Blimp: save bytes when AP_AIS_ENABLED is false 2023-10-27 14:16:47 +11:00
Peter Barker 628bc02bf1 ArduPlane: save bytes when AP_AIS_ENABLED is false 2023-10-27 14:16:47 +11:00
Peter Barker 20563bf58d ArduCopter: save bytes when AP_AIS_ENABLED is false 2023-10-27 14:16:47 +11:00
Peter Barker d665d2c56e GCS_MAVLink: save bytes when AP_AIS_ENABLED is false 2023-10-27 14:16:47 +11:00
Peter Barker 0928927ab7 Tools: correct use of AP_RANGEFINDER_LUA_ENABLED
new, separate define to AP_SCRIPTING_ENABLED use was incomplete
2023-10-27 14:16:47 +11:00
Peter Barker e55799c8d8 AP_RangeFinder: correct use of AP_RANGEFINDER_LUA_ENABLED
new, separate define to AP_SCRIPTING_ENABLED use was incomplete
2023-10-27 14:16:47 +11:00
Peter Barker 7961eb6045 Plane: consider nan as zero in DO_REPOSITION
QGC's interfaces want to send nan for these parameters
2023-10-27 14:16:07 +11:00
Peter Barker e5613de586 Tools: extract_features.py: add option to find feature by string-present-in-codebase
sometimes a features isn't represented by a symbol, but can be found with a specific string....
2023-10-27 14:15:53 +11:00
Peter Barker a04bfff957 Tools: add AC_PAYLOAD_PLACE_ENABLED to build options 2023-10-27 14:15:53 +11:00
Peter Barker 90607ffa5f hwdef: remove payload place from minimized boards 2023-10-27 14:15:53 +11:00
Peter Barker 6b439bb2f3 ArduCopter: allow payload place to be compiled out of code 2023-10-27 14:15:53 +11:00
Peter Barker 5a65632a2d AP_Mission: allow payload place to be compiled out of code 2023-10-27 14:15:53 +11:00
Peter Barker bf59fbc6d9 Copter: payloadplace: avoid using auto_takeoff functionality
Co-authored-by: Leonard Hall <leonardthall@gmail.com>

the methods being called to a lot more than we need or want them to.

In particular, they mix both horizontal and vertical control, but also may or may not run based on various aircraft conditions.

Simplify by simply calling position controller.
2023-10-27 14:15:53 +11:00
Peter Barker a820612fc9 Copter: payloadplace: fold methods back into caller
Co-authored-by: Leonard Hall <leonardthall@gmail.com>

these methods don't really add much, and prohibit future refactoring
2023-10-27 14:15:53 +11:00
Peter Barker af949590f8 Copter: remove unimplemented method declaration 2023-10-27 14:15:53 +11:00
Peter Barker e2157d8b9f Copter: remove un-needed PayloadPlace::run_should_run
make this look like the other handling, especially in terms of what we do if we shouldn't be running
2023-10-27 14:15:53 +11:00