AmpleRobots

Robot Passport · Simulation

Simulated rover with ROS 2

No hardware needed: drive, map and navigate a robot in simulation.

A free, software-only project using ROS 2 and a robot simulator to learn topics, teleoperation, mapping and navigation.

What you will learn

  • ROS 2 nodes and topics
  • Simulation
  • SLAM mapping
  • Autonomous navigation

Parts

ComponentQtyPurpose
Computer running Ubuntu (native, virtual machine or WSL2)1ROS 2 runs best on its supported Ubuntu release.
ROS 2 (current long-term support release)1Free robotics middleware.
Robot simulator (e.g. Gazebo) and a sample robot model1Physics and sensors without hardware.
Navigation and SLAM packages (e.g. Nav2, slam_toolbox)1Mapping and path planning.

Generic parts are listed on purpose: choose locally available equivalents that meet the same ratings.

Build steps

  1. Install the ROS 2 release recommended by its official documentation for your operating system.
  2. Launch the sample robot in the simulator and list running topics.
  3. Drive the robot with keyboard teleoperation and echo the velocity and laser-scan topics.
  4. Run SLAM while driving around the world and save the map.
  5. Load the map in the navigation stack and send goal poses.
  6. Write your own node that sends a sequence of goals (a patrol route).

Test protocol

Goal: Measure navigation success and time for a fixed patrol.

Setup: Use the same saved map and four fixed goal poses.

  1. Run the patrol five times from the same start pose.
  2. Record goals reached, total time and any recoveries.
  3. Change one navigation parameter and repeat.

Record for every run:

  • Goals reached
  • Patrol time (s)
  • Recovery behaviours triggered
  • Parameter changed

Measured results for this reference design will be published here with their test conditions. Submitting your own results opens with member accounts.

Safety

  • Simulation only. Before moving to a real robot, add a hardware emergency stop and test at low speed.

Take it further

  • Add a simulated camera and detect markers.
  • Port the patrol node to a physical rover.
  • Share your launch files with a build log.

Stuck on this build?

Ask the AmpleRobots team. Build threads in RoboForum, linked to each Passport, open with member accounts.

Ask a question →