Commit Graph

23 Commits

Author SHA1 Message Date
Andrew Tridgell f0aa2a65e4 HAL_SITL: reimplement CAN with BinarySemaphore 2024-01-03 07:37:05 +11:00
Oleksiy Protas e855c9f46a AP_HAL_SITL: ensure stdint include 2024-01-02 13:42:58 +11:00
Andrew Tridgell 9afc30671f AP_HAL_SITL: added last_transmit_us to CAN stats 2023-09-05 06:56:51 +10: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 65ced84a0e HAL_SITL: handle periph voltage/current and improve timing 2023-08-24 13:06:40 +10:00
Andrew Tridgell a42a2fec2a HAL_SITL: implement multicast comms for SITL AP_Periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell 85c2c3609b AP_HAL_SITL: removed native_millis/micros 2023-08-24 13:06:40 +10:00
acxz ade161f0a8 AP_HAL_SITL: remove std:: scope from uint16_t 2023-05-17 11:15:43 +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 baa7301977 HAL_SITL: fixed valgrind error 2023-04-08 07:11:23 +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
Siddharth Purohit 81f6e3c585 AP_HAL_SITL: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-06-24 09:02:42 +10:00
Tom Pittenger aec9d45573 AP_HAL_SITL: use HAL_ENABLE_LIBUAVCAN_DRIVERS instead of HAL_MAX_CAN_PROTOCOL_DRIVERS 2021-06-09 18:36:18 +10: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
bugobliterator eea6b4c9b9 AP_HAL_SITL: handle uninitialised file descriptor 2020-11-11 19:52:37 +11:00
bugobliterator 0d41db5520 AP_HAL_SITL: flush data from select call as we don't wait select in AP_Periph 2020-11-04 19:59:40 +11:00
bugobliterator 09a0d8d0c0 HAL_SITL: add support for AP_Periph SITL build 2020-11-04 19:59:40 +11:00
bugobliterator 5f0c553982 AP_HAL_SITL: configure filter only if in FilteredMode 2020-10-08 09:31:35 +11:00
Siddharth Purohit c17aec07a2 HAL_SITL: add SocketCAN Iface driver over virtual CAN 2020-08-19 17:31:09 +10:00