Michael du Breuil
e2d0cc55d0
AP_Periph: Support APD ESC telemetry
2023-05-25 17:35:27 -07:00
Michael du Breuil
584a1f8c49
Tools: AP_Periph: Reduce the priority of outdoing ADS-B messages
...
We consume these at line rate from the transciever, don't allow this to
cause unnecessary congestion on the bus, as it may be used for flight
critical functions. A more proper solution would be to behave more like
the actual AP_ADSB library, and simple rate limit how often we send any
updates out to the host device, as well as filtering for distance, but
that requires more information then is currently readily available.
2023-05-25 16:59:32 -07:00
Peter Barker
274379ea8a
AP_Periph: include AP_ESC_Telem header
...
... since we insantiate one of these we should include its header
2023-05-09 10:56:13 +10:00
Peter Barker
6c29079a76
AP_Periph: correct includes
...
we instantiate SerialManager - best include its header!
2023-05-09 10:56:13 +10:00
Peter Barker
ddcfe5e734
Tools: move and rename CAN Driver_Type enumeration
2023-04-20 08:53:46 +10:00
Peter Barker
95d8719465
Tools: remove CANTester
2023-04-18 11:43:58 +10:00
Peter Barker
eb2a4a68c5
AP_Periph: use CopyFieldsFrom in CAN parameters
2023-04-18 11:43:58 +10:00
Tom Pittenger
34a990d2ff
AP_Periph: add AP_KDECAN support
2023-04-17 11:52:52 +10:00
Andrew Tridgell
c7231240c8
Tools: rename more variables, types and defines
2023-04-11 10:31:31 +10:00
Andrew Tridgell
7b4e4889c7
AP_Periph: use generated decoder for FW update and actuators
2023-04-10 14:46:54 +10:00
Andrew Tridgell
119b0b15f1
AP_Periph: cope with mixed bxCAN and CANFD packets
...
this allows for runtime switching of CANFD enable, while supporting
incoming bxCAN packets in CANFD mode
2023-04-10 14:46:54 +10:00
Andrew Tridgell
e6d6848fb1
AP_Periph: prepare for 1.5.0 release
2023-03-27 07:36:19 +11:00
Andrew Tridgell
7f66e35459
AP_Periph: release notes for 1.5.0
2023-03-27 07:35:41 +11: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
Iampete1
8b36fde0c1
AP_Periph: fix proximity parameter path
2023-03-21 11:41:18 +11:00
Peter Barker
7995bc5175
Tools: add and use option to compile SLCAN support out of code
2023-03-15 19:08:09 +11:00
Andrew Tridgell
2781f65d56
AP_Periph: limit peripheral mag to 25Hz by default
...
we only read mag on the vehicles at 10Hz. Some magnetometers were
reporting data at 500Hz (see MMC5xx3 driver)
by sampling more slowly the data is accumulated and averaged on the
node which saves a lot of bandwidth
2023-03-06 17:24:29 -08: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
Andrew Tridgell
d3bf7fc946
AP_Periph: rename CAN_PROBE_CONTINUOUS to AP_PERIPH_PROBE_CONTINUOUS
2023-03-06 19:48:07 +11:00
Tom Pittenger
223b91f6b4
Periph: fix sending GPS Heading packet at correct interval
2023-02-25 03:23:07 -08:00
Henry Wurzburg
59a5babc06
AP_Periph:Add SLCAN feature note
2023-02-24 09:22:34 +11:00
rishabsingh3003
32a0c8935e
AP_Periph: Fix hwesc telem temp units
2023-02-22 07:12:47 +11:00
Pierre Kancir
b7b08c3487
AP_Periph: add patch rev into firmware version
2023-02-08 12:47:49 +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
43e5ea43b7
Tools: AP_Periph: use shared Param info defines
2023-01-11 18:41:34 +11:00
Peter Barker
65915441b6
Tools: make check_var_info void
...
Given all the callers die anyway, make it void
2023-01-10 10:48:15 +11:00
Iampete1
bba1d0b9d9
AP_Periph: rename airspeed param group to match vehicles
2023-01-03 10:17:56 +11:00
Iampete1
cb6891821e
AP_Periph: always call airspeed init to allow param conversion
2023-01-03 10:17:56 +11:00
Andrew Tridgell
69cb6796f3
AP_Periph: send GNSS Heading message
...
if not sending RelPosHeading then send Heading message if we have yaw
2022-12-20 10:23:58 +11:00
Andrew Tridgell
dcab2d2f2a
AP_Periph: cope with GPS without yaw accuracy
2022-12-20 10:23:58 +11:00
Peter Barker
d438c8e127
AP_Periph: code-generate chan-fetching methods
...
A recent PR had to change every single one of these methods, which was kind of unfortunate.
So generate the methods using a #define so the duplication happens at preprocessor-time.
2022-12-15 08:31:54 +11:00
rishabsingh3003
27f55ae626
AP_Periph: Add proximity support
2022-12-15 07:20:05 +11:00
James O'Shannessy
11ab5e3f3d
AP_Periph: Adds a parameter to allow for user configurable timeout
...
Timeout defaults to 200ms. Timeout can be disabled by setting parameter to 0. Timeout should be configured to be able to handle at small number of missed packets.
2022-12-03 13:55:01 +11:00
James O'Shannessy
4679cb4265
AP_Periph: Add timeout to ESC driving when CAN packets are lost
...
Fixes a periph continuing to drive an ESC to an output when the esc_rawcommand packets are lost
2022-12-03 13:55:01 +11:00
bugobliterator
3ec938fae6
waf: add dynamic source option to ap_stlib
2022-11-16 18:05:59 +11:00
bugobliterator
e4ada09fc3
waf: use bld for dronecangen export headers for including
2022-11-16 18:05:59 +11:00
Tom Pittenger
4e94046a4a
AP_Periph: can_printf() to send longer strings using multiple packets
2022-10-23 21:47:42 -07:00
Tom Pittenger
3f4755ea7b
AP_Periph: add support for AP_TemperatureSensor
2022-10-18 10:05:31 +11:00
Tom Pittenger
53e0c4175e
AP_Periph: add support for SLCAN
2022-10-11 11:26:40 +11:00
Tom Pittenger
0767640372
AP_Periph: fix periph-heavy build, wscript
2022-10-11 11:20:50 +11:00
Peter Barker
3cbd018877
AP_Periph: correct build for EFI can
...
no longer an array
2022-10-05 18:03:59 +11:00
Andrew Tridgell
aa757501f4
AP_Periph: removed the old DroneCAN Fix message
...
only send/process Fix2 message, saving bus bandwidth and flash space
2022-09-28 17:27:32 +10:00
Andrew Tridgell
304d7472ff
AP_Periph: update release notes for 1.4.1
2022-09-28 07:24:27 +10:00
Andy Piper
8ee5c8735d
AP_Periph: delegate dshot configuration to BLHeli. Make esc telemetry output rate configurable
...
correct SRV_Channel initialization order to get ESC masks correct
2022-09-20 09:45:03 +10:00
Peter Barker
25c3665277
Tools: populate sysid/compid in reboot ACK
2022-09-14 20:16:38 +10:00
Andrew Tridgell
31cac4395f
AP_Periph: support actuator type with PWM
...
this makes debugging much easier in CAN analyser
2022-09-13 16:23:44 +10:00
bugobliterator
939bd94796
AP_Periph: make constants used in bitshift unisigned
2022-09-08 13:37:55 +10:00
bugobliterator
3e8355638b
AP_Periph: add support for redundant CAN bus
2022-09-08 13:37:55 +10:00
Andrew Tridgell
1fab01951a
AP_Periph: build fix
2022-09-05 12:35:37 +10:00