Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add disconnect timeout counter for the radio link #428
In order to allow #393 to be closed and also to fix connections problems where the Crazyflie already has a brunch of log block running and the lib is flooded with the log blocks when connecting it would be good to have a timeout on radio packets that indicate that the radio link is disconnected. When the link is disconnected, the log subsystem will reset itself which solves both USB problems and radio connection problems.
This radio timeout can be set to 1 seconds.
@whoenig this means that if the Crazyflie does not receive any packet (including Null packets and broadcasts) for more than 1 seconds, the log subsystem will reset. Is that going to be a problem for ROS/Crazyswarm usecase?