Andrew Tridgell
b55c1d7193
AP_CANManager: removed native_millis/micros
2023-08-24 13:06:40 +10:00
Andrew Tridgell
1723cca023
AP_CANManager: fixed owner of SLCAN UART
...
this broke when we moved to the unified AP_HAL locking system for
UARTs. The SLCAN code relied on the fact that the thread owner check
was not done for the read_locked() path. Now that we have a higher
level consistent API that check is done and SLCAN broke
2023-08-02 17:44:39 +10:00
Andrew Tridgell
a5fd60ec71
AP_CANManager: fixed usage of read_locked
...
this didn't actually cause an issue, but is wrong
2023-08-02 17:44:39 +10:00
Andrew Tridgell
aa74615ce1
AP_CANManager: moved UART port locking up to AP_HAL
2023-07-12 17:06:02 +10:00
Peter Barker
14089d4919
AP_CANManager: 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
Peter Barker
c1c8158687
AP_CANManager: add and use option to compile SLCAN support out of code
2023-03-15 19:08:09 +11:00
Peter Barker
23dd4f54df
AP_CANManager: remove GCS.h from library header files
2022-11-16 18:29:07 +11:00
Peter Barker
6cf2136691
AP_CANManager: change namespace of MultiCopter and FixedWing params
...
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Andrew Tridgell
3f4c5e243e
AP_CANManager: disable SLCAN when armed
...
this disables SLCAN if enabled using CAN_SLCAN_CPORT and
SERIALn_PROTOCOL=22 when we are armed, to reduce load on the CAN
thread from the very inefficient SLCAN processing
2022-09-29 20:40:21 +10:00
Andrew Tridgell
cf5d94b81f
AP_CANManager: fixed slcan receive of CANFD frames
2022-03-11 18:13:54 +11:00
bugobliterator
cb1bc4e613
AP_CANManager: add support for enabling CANFD
2022-03-11 18:13:54 +11:00
Siddharth Purohit
563e69e64c
AP_CANManager: add support for trx CANFD frames over SLCAN
2022-03-11 18:13:54 +11:00
Andrew Tridgell
0b95272f27
AP_CANManager: support mavcan message forwarding
2022-02-12 16:36:05 +11:00
bugobliterator
e29ddebe3c
AP_CANManager: remove unused variable from SLCANIface code
2021-08-19 14:20:58 +10:00
Siddharth Purohit
603b302ffd
AP_CANManager: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Tom Pittenger
bdf0efbbe7
AP_CANManager: reorganize precompiler for HAL_ENABLE_LIBUAVCAN_DRIVERS and HAL_MAX_PROTOCOL_DRIVERS
2021-06-09 18:36:18 +10:00
murata
cfaf9f9420
AP_CANManager: Delete unused methods
2021-05-23 09:09:20 +10:00
Siddharth Purohit
d1dcfd91b5
AP_CANManager: do select before sending passthrough message
2021-03-30 08:05:00 +11:00
Siddharth Purohit
cb118c6b73
AP_CANManager: improve robustness of slcan passthrough under high rate
2021-03-30 08:05:00 +11:00
Andrew Tridgell
0c6b4a1045
AP_CANManager: use ExpandingString class
2021-01-05 10:52:00 +11:00
bugobliterator
27b1ce572e
AP_CANManager: fix comms between SLCAN and second CAN Iface
2020-09-03 11:01:26 +10:00
Siddharth Purohit
8373862f39
AP_CANManager: constant slcan via serial manager protocol param
2020-08-28 09:13:23 +10:00
Siddharth Purohit
979b0b82d0
AP_CANManager: add CANManager library
2020-08-19 17:31:09 +10:00