Timer vs Sleep [closed]
Hello everybody, I am implementing a controller over ros and I need to force the rates of two nested loops as precisely as possible.
I usually use the timer function with a callback, but I was wandering if there is a bettere way. Is there a difference of performance and precision between the timer function and the sleep function?
What do you thin I should use?
Thank you very much Andrea