ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It is possible but messy using terminal command:

rosrun navigation waypoints
sleep 45
rosnode kill waypoints
rosrun navigation waypoints
sleep 45
rosnode kill waypoints

if you put those line of code in a terminal file, you can run it and it will perform your node every 45 seconds.

  • mkdir ~/bin
  • put your line of code inside a simple file, let's say waypoint
  • chmod +x waypoint
  • export PATH=$PATH:~/bin in your ~/.bashrc
  • then in another terminal just type waypoint