Sleeps in jog_arm_server
Closed this issue · 1 comments
martinappo commented
In the jog_arm_server code there are several sleeps in different loops. I have few questions and/or suggestions concerning these.
- There are some sleeps that have "magic number" as duration. Maybe some comment or reasonable named constant would help understand these. (Collision checking loop (l:167), jogging cmd wait loop (l:209), jogging calculations loop(l:233)
- All the sleeps are constant sleeps. That is ros::Rate, rate.sleep() pattern is not used. Is there any explanation, why is that?