can i subsribe ultrasonic distane and update a marker in rviz based on that value [closed]
can i write this subscriber and publisher as a single node. ros::spin(), r.sleep() create problems in my code. can any one help me please.
At least post your code? It's hardly possible to figure out what is going on with the info provided
A wild guess, without any code but:
ros::spin()
spins indefinitely, thus never getting to ther.sleep()
part which is supposed to be used in conjunction withspinOnce()
?The real question is http://answers.ros.org/question/24635...