Skip to content

Autonomy Quick Start

Ali Ryckman edited this page Sep 15, 2024 · 15 revisions

This assumes that you have already installed (and verified) ROS for our system if not follow this tutorial

This tutorial will take you through starting up the autonomy system and running the navigation code to hopefully be able to see the rover run in simulation.

From ros2_ws first run the navigation launch file:

ros2 launch mrover simulator.launch.py And in a separate terminal roslaunch mrover autonomy.launch.py

This starts the simulation environment and starts all necessary nodes for the autonomy mission.

image image

Next from another terminal window/tab (in catkin_ws) run:

ros2 run mrover visualizer.py

This will launch a state machine visualizer that should show you the structure of the state machine as well as highlight the current active state.

visualizer

Now, from another terminal window/tab (in ros2_ws) run:

ros2 run mrover debug_course_publisher.py

This will publish a test course to the navigation system and you should start to see the rover moving towards the waypoint and completing the autonomy mission as well as updates on the state machine visualizer regarding what state the rover is in.

Clone this wiki locally