Usage instructions
The problem with sleep in FTC is that it delays the thread from running, this fixes the problem by allowing you to run a function while it is idling.
Idler().safeIdle(5,{
//update drive
})
This will idle for 5 seconds while running //update drive, allowing it to wait for that amount of seconds and not break anything.
Last modified: 20 February 2025