Commit Graph

12 Commits

Author SHA1 Message Date
bugobliterator 5a967fd597 AP_DroneCAN: add support for semaphore around allocate/free blocks in libcanard 2023-06-08 10:15:50 +10:00
Andrew Tridgell f99fa6a703 AP_DroneCAN: use separate tx and rx semaphores
this prevents a deadlock on callback for DroneCAN receiver
2023-06-08 10:15:50 +10:00
Andrew Tridgell 3034aef570 AP_DroneCAN: add a delay after an event on process
ensure MCU gives up some time
2023-06-08 10:15:50 +10:00
Andrew Tridgell dc8366c31e AP_DroneCAN: fixed queue ordering bug in sending DroneCAN frames
this caused RTK RTCM data to be corrupted on send
2023-06-08 10:15:50 +10:00
Andrew Tridgell f0a0a4cfa9 AP_DroneCAN: move tx frame to loop context
prevent contents from previous frame being used
2023-06-08 10:15:50 +10:00
Andrew Tridgell e1dd452b66 AP_DroneCAN: fixed C++ type narrowing warnings 2023-06-08 10:15:50 +10:00
bugobliterator 3dca277488 AP_DroneCAN: use canard cleanup 2023-06-08 10:15:50 +10:00
bugobliterator efe5fb7e69 AP_DroneCAN: push ESC data out immediately and ensure high priority 2023-05-31 17:31:09 +10:00
bugobliterator 0c728972ff AP_DroneCAN: move to using CanardTxTransfer for sending data 2023-04-26 14:08:45 +10:00
bugobliterator b1c4cf9923 AP_DroneCAN: fix DroneCAN run for SITL 2023-04-19 17:26:57 +10:00
Andrew Tridgell 9261f89e39 AP_DroneCAN: rename more variables, types and defines 2023-04-11 10:31:31 +10:00
Andrew Tridgell 53390f3a6f AP_DroneCAN: rename from AP_UAVCAN 2023-04-08 07:11:23 +10:00