Help getting fixed time interval

asked 2020-10-21 20:42:44 -0500

sh_ec_ks gravatar image

updated 2020-10-21 20:42:57 -0500

What is the best way to get a fixed time interval for calculations? I've tried setting a timer with a call back and setting loop rate, but when i calculate dt from ros::Time or ros::WallTime they answer is not what it should be. Thanks for any help.

edit retag flag offensive close merge delete