ros publishing without loop?
If I am publishing a "geometry_msgs::Twist" with out a while(n.ok()) loop it is not affecting the topic. But I can not use a infinite loop. Everytime according the scan data I have to modify the linear and angular velocity of the Twist msgs. Is there any way out to affect the topic without using the loop.. Thanks in advance
can you write more about issue , also if possible the code.