Closed pavel-kirienko closed 3 years ago
@TomDeRybel irrespective of this PR, we would welcome a patch extending the SocketCAN wrapper API with loopback flags. I imagine it would be an extra boolean output parameter to socketcanPop(..., &loopback)
. If the flag pointer is NULL, loopback frames are to be silently dropped; if not NULL, they are to be accepted and indicated using this flag. The initialization function would then always set the RECV_OWN_MSGS option.
Wow, that was fast!
Your proposal sounds good. I will start the required work on Monday.
Have a nice weekend, Tom
Fix https://github.com/UAVCAN/platform_specific_components/issues/19
@TomDeRybel does it answer your question?