Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If you want to reset your turtle simulation without restarting the ROS nodes, you can use services!  Like this...

    Code Block
    rosservice call /turtle1/teleport_absolute '{x: 5.5, y: 5.5, theta: 0.0}'
    rosservice call /clear
  • You will need to make sure to call rosinit in MATLAB before running the turtle_waypoint.m script.
    If you restart the ROS Master, you will need to restart ROS in MATLAB like this...

    Code Block
    rosshutdown
    rosinit

  •  

Summary

After completing all the required exercises your ROS package should look something like this...

...