Commit Graph

64779 Commits

Author SHA1 Message Date
Andy Piper 6db81885d7 board_types.txt: add AP_HW_Holybro-DroneCAN-Airspeed 2024-08-21 12:42:31 +10:00
Vincent Poon a756268a43 board_types.txt: correct Kakute F4 Wing board ID
Change AP_HW ID to 5406 due to conflict with another product.  The Holybro DroneCAN airspeed sensor uses 5405 and the FW has already been flashed onto actual products.

https://github.com/ArduPilot/ardupilot/pull/27631/files#diff-a720bbf01b6a94de212cea3cb69c06eb00dfb6255f75e4cca8fdba17a43dfa69R357
2024-08-21 12:42:31 +10:00
Randy Mackay 0d568b500a AP_Scripting: message_interval example handles 0hz 2024-08-21 11:41:50 +09:00
Andy Piper dcc0be5031 autotest: correct FenceFloorEnabledLanding test 2024-08-21 06:56:41 +10:00
Andrew Tridgell d3a1d515cb AP_Scripting: added TECS tuning to revert param script 2024-08-21 06:46:56 +10:00
Andrew Tridgell 1b4fb403f2 AP_NavEKF2: added EK2_OPTIONS
this allows for disabling of external navigation data (such as visual
odomotry) in EKF2. This is very useful when using EKF2 as a fallback
and truth reference when testing visual odomotry on EKF3
2024-08-21 06:32:34 +10:00
Peter Barker 2e1364e3b0 autotest: include SBF when testing GPS backends work 2024-08-21 06:31:41 +10:00
Peter Barker 07b27d76be SITL: correct and augment SBF simulator
- checksum calculation was including header parts in CRC twice
 - need to send DOP message to make EKF happy
 - need to supply own number of satellites
 - must pad packets to a multiple of 4 bytes
2024-08-21 06:31:41 +10:00
Peter Barker 3bde446538 AP_GPS: SBF: avoid FPE when undulation is DNF 2024-08-21 06:31:41 +10:00
chiara de saint giniez c9f648b97c SITL: SBF driver 2024-08-21 06:31:41 +10:00
Peter Barker ebc8a71c36 GCS_MAVLink: allow cancelling of mission upload by sending MISSION_CLEAR_ALL 2024-08-20 20:46:41 +10:00
Peter Barker 21f6e5da71 autotest: augment ClearMission to test clearing from current uploader
in the same way that we allow a link to re-start an upload by sending mission_count, allow a GCS to clear a mission and cancel current upload if it was the one doing the transfer
2024-08-20 20:46:41 +10:00
Peter Barker c0735d136c GCS_MAVLink: factor out a check_receiving_cancel method
allow reuse of this logic
2024-08-20 20:46:41 +10:00
Peter Barker 8ee7bf2dcb AP_GPS: change GPS_TYPE value 10 from SBF to Septentrio 2024-08-20 20:45:45 +10:00
Peter Barker b86380bbc6 AP_Camera: create and use an option_is_enabled 2024-08-20 14:50:23 +10:00
Ryan Friedman d859e9aa55 AP_GSOF: Disable packet1 test for now
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Ryan Friedman c5484d9d62 Tools: AP_Periph: Add AP_GSOF to libraries
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Ryan Friedman 724e61fa70 Tools: factor out common library for GSOF
* Add tests too

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Ryan Friedman 921ef6cd36 AP_GSOF: factor out common library for GSOF
* Add tests too

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Ryan Friedman f8295cb52b AP_GPS: factor out common library for GSOF
* Add tests too

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-08-20 14:50:05 +10:00
Peter Barker 7037164d08 Tools: make create_OEM_board.py: handle .inc files 2024-08-20 10:47:08 +10:00
Andrew Tridgell 669cb6563b AP_GPS: allow for EAHRS_SENSORS to not include GPS
this allows external AHRS GPS to not be presented to AP_GPS as a
possible driver
2024-08-20 10:27:01 +10:00
Thomas Watson 7c5a46bac2 AP_DroneCAN: DNA_Server: arrange db methods into more logical order 2024-08-20 10:22:55 +10:00
Thomas Watson b38766c469 AP_DroneCAN: DNA_Server: clarify comments with consistent terminology 2024-08-20 10:22:55 +10:00
Thomas Watson 9669b4e85d AP_DroneCAN: DNA_Server: rename db methods to use consistent terminology
Also use snake_case like the rest of Ardupilot.
2024-08-20 10:22:55 +10:00
Thomas Watson ddf74e2da4 AP_DroneCAN: DNA_Server: rename node record structure
Rename NodeData to NodeRecord to provide a more specific name and match
the record term used in the comments. Also nominally allows stuff to be
associated with the nodes that's not the record, as expanding the record
is hard.

Additionally, rename the `hwid` field to `uid` as that's what's used in
the rest of the code.
2024-08-20 10:22:55 +10:00
Thomas Watson e22f26e507 AP_DroneCAN: DNA_Server: briefly document database to guide cleanup 2024-08-20 10:22:55 +10:00
Iampete1 4ab976178e SRV_Channels: find_channel: use channel mask remove need for search over all channels 2024-08-20 09:41:58 +10:00
Peter Barker 3e50b4cf57 Tools: add test for MAV_CMD_MISSION_START sanity checks 2024-08-20 09:38:43 +10:00
Peter Barker 2ec045fdc0 Rover: emit MAV_RESULT_DENIED if start/stop item passed to MAV_CMD_MISSION_START 2024-08-20 09:38:43 +10:00
Peter Barker f53fcffbf6 ArduSub: emit MAV_RESULT_DENIED if start/stop item passed to MAV_CMD_MISSION_START 2024-08-20 09:38:43 +10:00
Peter Barker d8252d81f8 ArduPlane: emit MAV_RESULT_DENIED if start/stop item passed to MAV_CMD_MISSION_START 2024-08-20 09:38:43 +10:00
Peter Barker 6b2f3ff591 ArduCopter: emit MAV_RESULT_DENIED if start/stop item passed to MAV_CMD_MISSION_START 2024-08-20 09:38:43 +10:00
Peter Barker b1ae1591fb AP_TemperatureSensor: add AP_TEMPERATURE_SENSOR_BACKEND_DEFAULT_ENABLED 2024-08-20 09:34:21 +10:00
Iampete1 ba976a2b78 Copter: Disarm: move autotune disarm call after setting soft arm false 2024-08-20 09:33:22 +10:00
Peter Barker bdea9be7fb Tools: LogAnalyzer: remove
the web-based tools are supplanting this
2024-08-20 09:32:46 +10:00
Andrew Tridgell faf769d8cd AP_Param: throw error if we lose parameters
if we can't save a parameter due to the queue size not being large
enough then there is a coding error, likely the code trying to save
large numbers of parameters while armed
2024-08-20 09:30:22 +10:00
Iampete1 d0d5dfddda AP_ESC_Telem: getters: check index is in range first 2024-08-20 09:14:11 +10:00
Iampete1 f9f8c2aa29 AP_ESC_Telem: add `telemdata.valid` method to simplify code 2024-08-20 09:14:11 +10:00
Iampete1 d5a125a2a9 Tools: ardupilotwaf: boards: enable extended esc telem on sitl_periph_universal 2024-08-20 09:14:11 +10:00
Iampete1 0b551ed7bc AP_Periph: add support for sending extended ESC status 2024-08-20 09:14:11 +10:00
Iampete1 64c2a1070f AP_ESC_Telem: SITL: fill in extended status values 2024-08-20 09:14:11 +10:00
Iampete1 be80f83679 AP_ESC_Telem: add getters for extended status values 2024-08-20 09:14:11 +10:00
timtuxworth c2a5554e9f AP_Vehicle: Bindings for crosstrack in Lua 2024-08-20 09:10:42 +10:00
timtuxworth 8a93c6a264 AP_Scripting: Bindings for crosstrack in Lua 2024-08-20 09:10:42 +10:00
timtuxworth f63568b34b ArduPlane: Bindings for crosstrack in Lua 2024-08-20 09:10:42 +10:00
Iampete1 b811791863 Filter: examples: TransferFunctionCheck: add support for varable DT low pass 2024-08-20 09:09:41 +10:00
Iampete1 e2ce21a237 Filter: LowPassFilter: split into two classes for constant and variable dt 2024-08-20 09:09:41 +10:00
Iampete1 7d7333a91f Filter: example: TransferFunctionCheck: override constant dt filter 2024-08-20 09:09:41 +10:00
Iampete1 ee8a8f0254 SITL: SIM_Battery: provde dt in voltage filter apply function 2024-08-20 09:09:41 +10:00