Commit Graph

11 Commits

Author SHA1 Message Date
Andrew Tridgell f0aa2a65e4 HAL_SITL: reimplement CAN with BinarySemaphore 2024-01-03 07:37:05 +11:00
Andrew Tridgell b6e79d05fd HAL_SITL: support multicast UDP for CAN in SITL
this will work on windows and in WSL
2023-08-29 15:09:48 +10:00
Andrew Tridgell a42a2fec2a HAL_SITL: implement multicast comms for SITL AP_Periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell 761297a068 AP_HAL_SITL: change to 16 bit timeout in event interface
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Andrew Tridgell 81b1b69cd5 HAL_SITL: fixed receive of CANFD in SITL socketcan
we need to use read() and look at the size to work out if each frame
is bxCAN of CANFD

See https://www.kernel.org/doc/Documentation/networking/can.txt
2023-04-10 14:46:54 +10:00
Andrew Tridgell 21b4a19c6f HAL_SITL: implement CAN get_statistics() 2022-12-13 16:56:57 +11:00
bugobliterator bd2bf7fedc AP_HAL_SITL: add support for CANFD in SITL 2022-03-27 06:07:34 -07:00
Andrew Tridgell 5eb8b8d72e HAL_SITL: support mavcan message forwarding 2022-02-12 16:36:05 +11:00
Andrew Tridgell 4f1c43862e HAL_SITL: support arrays of CAN interfaces
allows for multi-bus in AP_Periph
2021-03-23 12:01:20 +11:00
Andrew Tridgell c21b6b4a16 AP_HAL_SITL: use ExpandingString class 2021-01-05 10:52:00 +11:00
Siddharth Purohit c17aec07a2 HAL_SITL: add SocketCAN Iface driver over virtual CAN 2020-08-19 17:31:09 +10:00