Closed PhiBabin closed 6 years ago
The communication tasks is still running after the bug happen. The NRF's register seem to has been resetted. For example, the nrf channel is resetted.
The current fix is if we don't received any package for 1 secondes, we check the nrf's register, if there are corrupted, we rexecute nrf_init()
The fix works
I saw it with the delta, but it might happen with the gamma. After a while the robot will stop receving wireless command. With bluetooth I detected that the ctrl loop was still running. [] check if it's the communication that hang or crash [] check if the bug can be reproduce while the robot is immobile