Added some winting in main loop because controller was so much spamming the robot's main controller, it couldn't send info to the motion controller so it would make like there was some latency, even if there were not...

This commit is contained in:
Ulysse Cura 2025-05-27 18:38:26 +02:00
parent 47820385ee
commit 08e11bd4dd
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,8 @@ void controller_handle_inputs_outputs(void)
udp_server_send(); udp_server_send();
mutex_exit(&wifi_mutex); mutex_exit(&wifi_mutex);
sleep_us(500);
tight_loop_contents(); tight_loop_contents();
} }