Browse Source
The hrt_abstime value used to control the 1s pub rate was the value of the timestamp_usec of the CanardTransfer, which has a timeout of 100ms added to it. Since hrt_abstime is an unsigned datatype, if the hrt_elapsed_time() check was called <100ms apart, the negative value would result in a large hrt_elapsed_time, and the bus would be spammed with Heartbeat messages (or error messages from canardTxPush).release/1.12
JacobCrabill
4 years ago
committed by
Daniel Agar
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue