Commit Graph

116 Commits

Author SHA1 Message Date
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
0b96145fbb Tools: use AP_PERIPH_RTC_ENABLED in place of HAL_PERIPH_ENABLE_RTC 2025-02-10 09:37:48 +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
a953cc2019 AP_Periph: Add restart acknowledgement for UAVCAN
There was no acknowledgement for UAVCAN so we add it here
2025-01-15 14:05:48 +11:00
Andrew Tridgell
13807f24d7 AP_Periph: added simulation of DroneCAN servo status
allows for testing of DroneCAN servo logging in SITL
2024-12-03 07:38:17 +11:00
bugobliterator
b05a6c00b6 AP_Periph: add support for publishing raw imu data 2024-10-23 06:46:22 +09:00
bugobliterator
27b202e984 AP_Periph: make can broadcast threadsafe, like can_printf call from lua thread 2024-09-16 19:45:24 +10:00
Iampete1
0b551ed7bc AP_Periph: add support for sending extended ESC status 2024-08-20 09:14:11 +10:00
Iampete1
6dcb0af697 AP_Periph: add support for streaming dedicated RPM message 2024-05-02 20:25:38 +10:00
Gone4Dirt
853bfbf64d AP_Periph: Add support for up to two rangefinders 2024-04-17 17:06:42 +10:00
Andrew Tridgell
7790b1ec71 AP_Periph: map MAV_SEVERITY to DroneCAN debug levels 2024-02-22 15:03:01 +11:00
Gone4Dirt
26bfedb956 AP_Periph: Send generic equipment temperature data 2024-01-30 10:13:35 +11:00
Andrew Tridgell
59fe2c9d4e AP_Periph: added reboot for scripting 2024-01-21 12:30:08 +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
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
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
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
0b60777db6 AP_Periph: add Networking-UART passthrough 2023-11-26 11:28:57 +11:00
Michael du Breuil
00a5c92635 AP_Periph: Rate limit EFI driver updates
Also remove the last update variables for features that were compiled
out.
2023-10-17 10:14:03 +11:00
Peter Barker
566371837c Tools: add and use HAP_PERIPH_ENABLE_RTC 2023-10-11 19:17:27 +11:00
Peter Barker
748dd22f4e AP_Periph: instantiate AP_AHRS even if not in SITL
Closes potential problem with HerePro if it calls AP_AHRS methods
2023-10-04 18:10:58 +11:00
Andrew Tridgell
bb004c499f AP_Periph: fixed ADSB peripheral to send heartbeat
and remove duplicated mavlink bindings
2023-10-02 21:45:28 +11:00
Andrew Tridgell
50ae89ed8c AP_Periph: support per-cell info in periph battery monitoring
useful for SMBus batteries
2023-10-02 21:45:28 +11:00
Michael du Breuil
6897dd08ef Tools: AP_Periph: Add CAN_MIRROR
This allows us to mirror CAN traffic between ports on demand.
2023-09-19 12:17:28 +10:00
Tom Pittenger
ea207c4b4a AP_Periph: add AP_PERIPH_SAFTEY_SWITCH_ENABLED 2023-09-19 09:29:26 +10:00
Andrew Tridgell
a732f846e6 AP_Periph: moved CAN_APP_NODE_NAME to AP_Periph.h
needed by battery driver
2023-09-05 06:56: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
698e38e849 AP_Periph: allow SITL periph with more devices 2023-08-24 13:06:40 +10:00
Peter Barker
9fb872cdd7 AP_Periph: move RC IN parameters to sub-object 2023-08-19 20:27:24 +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
Peter Barker
3c46db5261 AP_Periph: rename ins locals to avoid conflict with ins member variable 2023-08-01 11:37:14 +10:00
Andrew Tridgell
946840cc99 AP_Periph: added targetted tunnel message for CAN serial passthru
this allows for remote control of serial devices over DroneCAN
2023-07-12 17:06:02 +10:00
bugobliterator
b6605f5877 AP_Periph: add CAN and Protocol statistics send 2023-07-10 12:56:37 +10:00