How to use ros rate sleep in my ReactJS app
Hello! Im making a reactJS app to control remotely the pioneer robot of robotics lab in my university. I use odometry to check if the robot has the angle i need in a while loop but is crashing. I read in the internet that it needs ros rate sleep in every loop ros needs, but i cant find how to use it in react. Can someone help me how to use ros rate sleep in the loop of my react app please?