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:
parent
47820385ee
commit
08e11bd4dd
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue