Commit Graph

104 Commits

Author SHA1 Message Date
Shiv Tyagi
2b6bbedce6 Tools: use new AP_PERIPH_NOTIFY_ENABLED define 2025-02-20 13:32:20 +11:00
Shiv Tyagi
82a0347657 Tools: use new AP_PERIPH_EFI_ENABLED define 2025-02-20 13:05:19 +11:00
Shiv Tyagi
9b226edf3a Tools: use new AP_PERIPH_ADSB_ENABLED define 2025-02-20 12:06:00 +11:00
Shiv Tyagi
222f3ceefd Tools: use AP_PERIPH_NETWORKING_ENABLED for HAL_PERIPH_ENABLE_NETWORKING 2025-02-17 09:55:51 +11:00
Shiv Tyagi
0248f0d5d8 Tools: replace HAL_PERIPH_ENABLE_AIRSPEED with AP_PERIPH_AIRSPEED_ENABLED 2025-02-16 10:11:10 +11:00
Shiv Tyagi
abc605c7e4 Tools: u AP_PERIPH_RPM_ENABLED and AP_PERIPH_RPM_STREAM_ENABLED 2025-02-13 20:29:06 +11:00
Shiv Tyagi
651e0be73c Tools: replace HAL_PERIPH_ENABLE_RCIN with AP_PERIPH_RCIN_ENABLED 2025-02-11 19:31:19 +11:00
Shiv Tyagi
61fb095525 Tools: use AP_PERIPH_IMU_ENABLED in place of HAL_PERIPH_ENABLE_IMU 2025-02-08 08:22:10 +11:00
Shiv Tyagi
c324143866 Tools: create and use AP_PERIPH_RANGEFINDER_ENABLED 2025-02-03 10:06:04 +11:00
Shiv Tyagi
dba4136f95 Tools: create and use AP_PERIPH_BARO_ENABLED 2025-01-31 08:25:28 +11:00
Shiv Tyagi
1060d6703b Tools: create and use AP_PERIPH_MAG_ENABLED 2025-01-30 08:49:03 +11:00
Peter Barker
b3bc0528e0 Tools: create and use AP_PERIPH_BATTERY_ENABLED
... and AP_PERIPH_BATTERY_BALANCE_ENABLED while we're here
2025-01-28 09:11:21 +11:00
Peter Barker
04786200c3 Tools: create AP_PERIPH_GPS_ENABLED 2025-01-23 17:47:58 +11:00
Hayden Donald
79b596d229 AP_Periph: Prepare reboot before rebooting via AP_Periph:reboot()
Call AP_Periph:prepare_reboot() before rebooting via AP_Periph:reboot()
2024-11-19 16:08:40 +11:00
bugobliterator
b05a6c00b6 AP_Periph: add support for publishing raw imu data 2024-10-23 06:46:22 +09:00
Bob Long
230269bed8 HAL_ChibiOS: add adjustable wdg timeout for hwdefs
This allows the watchdog timeout to be adjusted in the hwdef.dat file,
so that critical nodes like ESCs can recover more quickly.
2024-07-23 19:53:38 +10:00
Andrew Tridgell
94841dd608 Tools: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Iampete1
13cbffebcc AP_Periph: allow airspeed without I2C 2024-05-08 17:15:14 +10:00
Gone4Dirt
853bfbf64d AP_Periph: Add support for up to two rangefinders 2024-04-17 17:06:42 +10: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
Peter Barker
bdb84181bc Tools: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Andrew Tridgell
59fe2c9d4e AP_Periph: added reboot for scripting 2024-01-21 12:30:08 +11: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
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
Tom Pittenger
0b60777db6 AP_Periph: add Networking-UART passthrough 2023-11-26 11:28:57 +11:00
Peter Barker
d27bb9d606 Tools: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Andrew Tridgell
0c38dada6c AP_Periph: re-structure peripheral code
split into separate cpp files and avoid static functions
2023-09-01 13:04:59 +10:00
Tom Pittenger
4f2344f397 AP_Peirph: fix battery parameters 2023-08-28 09:14:33 -07:00
Andrew Tridgell
bc825fb4c1 AP_Periph: added battery balance plug node
this supports a periph node attached to a LiPo battery balance plug,
reporting via BatteryInfoAux
2023-08-26 21:12:42 +10:00
Andrew Tridgell
c151d9bc3d Tools: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Peter Barker
ee0a49bb7c AP_Periph: add support for DroneCAN RCInput packets 2023-08-19 20:27:24 +10:00
Tom Pittenger
1a67775c52 AP_Periph: add AP_RPM support
Co-authored-by: Samuel Tabor <samuel.tabor@krausaerospace.com>
2023-08-11 13:31:45 -07:00
Tom Pittenger
88cc72f0ee AP_Periph: add networking 2023-08-06 09:20:08 +10:00
Tom Pittenger
3bd1b3f7ed AP_Periph: add support for Networking 2023-08-06 09:20:08 +10:00
bugobliterator
b6605f5877 AP_Periph: add CAN and Protocol statistics send 2023-07-10 12:56:37 +10:00
Peter Barker
5a33f870c0 Tools: use HAL_PROXIMITY_ENABLED in place of HAL_PERIPH_ENABLE_PRX
boolean truth rather than defines, and simplifies code
2023-06-08 11:53:01 +10:00
Michael du Breuil
e2d0cc55d0 AP_Periph: Support APD ESC telemetry 2023-05-25 17:35:27 -07:00
Tom Pittenger
34a990d2ff AP_Periph: add AP_KDECAN support 2023-04-17 11:52:52 +10:00
Peter Barker
ba3aa0c158 AP_Periph: add and use a "bool read(c)" method to AP_HAL
this is much less likely to not work vs the int16_t equivalent
2023-03-22 17:59:11 +11:00
Andrew Tridgell
a4a52c3e8c AP_Periph: cope with peripherals with i2c only rangefinders
if no uart then still check for non-uart sensors
2023-03-06 19:48:07 +11:00
Tom Pittenger
95b4ded3e8 AP_Periph: add AP_NMEA_Output to Periph 2023-02-07 21:12:07 +11:00
rishabsingh3003
59bc3cff93 AP_Periph: Allow user to change serial port for HW Telem 2023-01-25 18:15:28 +11:00
Iampete1
cb6891821e AP_Periph: always call airspeed init to allow param conversion 2023-01-03 10:17:56 +11:00
rishabsingh3003
27f55ae626 AP_Periph: Add proximity support 2022-12-15 07:20:05 +11:00
Tom Pittenger
3f4755ea7b AP_Periph: add support for AP_TemperatureSensor 2022-10-18 10:05:31 +11:00
Andrew Tridgell
2f3fe19aca AP_Periph: use AP_CheckFirmware 2022-08-15 09:18:34 +10:00
Andrew Tridgell
f728894eec AP_Periph: added EFI support 2022-06-09 21:10:37 +10:00