Commit Graph

390 Commits

Author SHA1 Message Date
Andrew Tridgell 94841dd608 Tools: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Iampete1 cf16448dfa Tools: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
Iampete1 bcf0733ea9 AP_Periph: always limit rangefinder update rate to given max rate 2024-05-08 17:16:34 +10:00
Iampete1 13cbffebcc AP_Periph: allow airspeed without I2C 2024-05-08 17:15:14 +10:00
Iampete1 6dcb0af697 AP_Periph: add support for streaming dedicated RPM message 2024-05-02 20:25:38 +10:00
Gone4Dirt 1a39bd1a6e Periph: Add probe continuous checks to airspeed and compass 2024-04-24 17:06:03 +10:00
Andrew Tridgell 0eded27a9f AP_Periph: check return of get_RelPosHeading 2024-04-23 10:32:43 +10:00
Gone4Dirt 853bfbf64d AP_Periph: Add support for up to two rangefinders 2024-04-17 17:06:42 +10:00
Peter Barker daf6bca778 AP_Periph: correct compilation when HAL_GCS_ENABLED 2024-04-10 17:11:34 +10:00
Michael du Breuil 81d7240bd9 AP_Periph: fix can mirroring 2024-04-05 10:53:38 +11:00
Peter Barker c450de6e96 AP_Periph: add assert that AP_CHECK_FIRMWARE_ENABLED is set 2024-03-26 10:50:11 +11:00
Peter Barker 7e1a3ae4dc Tools: allow forwards/backwards for DroneCAN type autoconfig
ArduPilot configures a connected DroneCAN GPS based on its GPS Type.

Given parameter name changes, ArduPilot must be able to configure both new and old AP_Periphs, and new AP_Periphs have to cope with being configured by old ArduPilots.
2024-03-19 19:50:12 +11:00
Peter Barker 7e4d9f2893 AP_Periph: stop passing serial manager to GPS init
it can get this via the singleton
2024-03-19 07:28:55 +11:00
Andrew Tridgell 9aade22c7e AP_Periph: support HiRes magnetometer data 2024-03-16 20:10:35 +11:00
Andrew Tridgell fbfa3e43bc AP_Periph: allow for RTCMv3 packets larger than 300 bytes
with newer receivers, RTCMv3 packets can be larger than 300
2024-03-06 19:38:06 +11:00
Andrew Tridgell 0007c7dce0 AP_Periph: mark master as 1.8.0 dev 2024-02-26 07:53:39 +11:00
Andrew Tridgell edd03b1ac2 AP_Periph: release notes for 1.7.0 2024-02-26 07:52:55 +11:00
Andrew Tridgell 7790b1ec71 AP_Periph: map MAV_SEVERITY to DroneCAN debug levels 2024-02-22 15:03:01 +11:00
bugobliterator 7b6b6ae803 AP_Periph: fix version setting in CheckFirmware app descriptor 2024-02-21 18:54:17 +11:00
Andrew Tridgell 20cb709ca2 AP_Periph: use gmtime_r() instead of gmtime() 2024-02-21 12:09:48 +11:00
Peter Barker 102ffd3aeb AP_Periph: don't send GPS messages if not compiled in 2024-02-15 12:17:07 +11:00
Peter Barker bdb84181bc Tools: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Andrew Tridgell 50332ab23f AP_Periph: check decode for DNA message 2024-02-11 16:48:52 +11:00
Gone4Dirt 26bfedb956 AP_Periph: Send generic equipment temperature data 2024-01-30 10:13:35 +11:00
Peter Barker 113ada0524 Tools: use virtual method for GCS_MAVLink::handle_message
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
Andrew Tridgell 9bb29aec36 AP_Periph: ensure no external flash in periph
bootloader protocol cannot support it in its current form
2024-01-21 12:30:08 +11:00
Andrew Tridgell b8e14c166f AP_Periph: fixed SITL build 2024-01-21 12:30:08 +11:00
Andrew Tridgell 38d7af450f AP_Periph: prevent wrap of free memory in VSSC 2024-01-21 12:30:08 +11:00
Andrew Tridgell 9904dca558 AP_Periph: added reboot link to web UI 2024-01-21 12:30:08 +11:00
Andrew Tridgell 59fe2c9d4e AP_Periph: added reboot for scripting 2024-01-21 12:30:08 +11:00
Andrew Tridgell 46f65aec4e AP_Periph: moved web UI script to Tools/AP_Periph
for use in multiple boards
2024-01-21 12:30:08 +11:00
Peter Barker a77df87b01 Tools: rename sim_periph_gps to sim_gps_universal, recreate sim_periph_gps 2024-01-16 12:16:35 +11:00
Peter Barker fb1209ff3c AP_Periph: add missing AP_AHRS include 2024-01-15 20:41:58 +11:00
Peter Barker 38a9960b31 AP_Periph: add missing include for AP_RTC
shouldn't be instantiating one of these without directly including the header.

Was being included transitively
2024-01-15 20:41:58 +11:00
Andrew Tridgell c59287bf9b AP_Periph: fixed version handling in periph 2024-01-12 19:06:49 -08:00
Andrew Tridgell 44bc523db8 AP_Periph: added support for PPP gatewate peripheral 2024-01-12 14:23:34 -08:00
Iampete1 a5f2076d21 Tools: AP_Periph: add support for relay via incoming hardpoint command 2024-01-10 18:29:24 +11:00
Peter Barker c22794d078 AP_Periph: add missing SITL includes
these are required for compilation when other things are introduced
2024-01-03 18:33:10 +11:00
Peter Barker 3bd8f1a3df AP_Periph: rename rx-protocol-stats ins local to avoid conflict with ins singleton 2024-01-03 11:43:43 +11:00
Andrew Tridgell 83cfcd841b AP_Periph: added support for SERIAL_OPTIONS
allows for options and flow control per serial port
2023-12-27 05:13:14 -07:00
Andrew Tridgell cd72dcb73f AP_Periph: use a 1s deadline for packets
this fixes an issue with early discard of packets on MCUs with small
number of transmit slots and higher packet send count
2023-12-19 18:56:46 +11:00
Peter Barker 576dc9d05f Tools: clamp empy to version 3
API and syntax hanges make 4 problematic
2023-12-03 17:08:00 +11:00
Andrew Tridgell 0a4eb251c6 AP_Periph: disable UART reboot check for non-debug builds
this was causing loss of bytes on GPS peripherals as the reboot check
swallowed data. The option is really only meant for debug builds to
make ./waf AP_Periph --upload work, so disable by default on non-debug
builds

we could just remove this option where it is in hwdef.dat files, but I
know quite a few peripherals are out-of-tree, so this catches the
error for those too

the symptoms were high GPS delta values
2023-11-29 12:53:01 +11:00
Tom Pittenger 7da434d1e0 AP_Periph: fix include order network build error 2023-11-29 12:29:19 +11:00
Tom Pittenger f870b63851 AP_Periph: move Network Passthrough to it's own file 2023-11-26 11:28:57 +11:00
Tom Pittenger 0b60777db6 AP_Periph: add Networking-UART passthrough 2023-11-26 11:28:57 +11:00
Andy Piper 8718261f27 AP_Periph: add CAN_TERMINATE for software driven termination 2023-11-23 12:18:29 -08:00
Peter Barker 47a18596db AP_Periph: correct parameter documentation 2023-11-22 21:43:53 -08:00
Andrew Tridgell 68f5c7b4dc AP_Periph: fixed reply for serial tunnel
add in serial index
2023-11-22 17:19:12 +11:00
Peter Barker b83fc15759 Tools: tidy MSG_MCU_STATUS defines 2023-11-21 13:21:13 +11:00