Atlas Robotics
Lesson 1/6 · about 10 min

Goal: the robot gets to the platform on your map

In world ramp, you drive the robot around to let FAST-LIO2 build a 3D map, save the map, restart and let the robot find its position on that map. Then just press a point on the 0.6 m high platform, the robot will find its way, climb a 6° slope and stop at the right place.

Real run on dev machine: Nav2 goes to three destinations on the scanned map in turn.

GoalPathTimeRecoveryGoal error
1. Middle of the platformFrom the starting point, go up the west slope, z 0 → 0.6 m32 s00.24 m
2. East slope footCross the platform, down the east slope22 s00.21 m
3. Starting pointRound south, avoiding the pillars and crates51 s00.22 m

Recovery are Nav2's unjamming movements (turn in place, reverse). Zero means the robot goes all the way to the goal. The target deviation is less than 0.25 m because Nav2 is configured to consider arrival when the robot is within a radius of 0.25 m around the target.

Four steps, four commands

StepMain command?Module explained
1. Scanfastlio2.launch.py + keyboard drivingGrowing 3D map in RVizM08 (FAST-LIO2), M09 (PGO)
2. Save/pgo/save_mapsmap.pcd + poses.txtM10
3. relocalizationfastlio2.launch.py mode:=localizationRobot knows where it is on the old mapM10
4. Go yourselfnavigation.launch.py + "2D Goal Pose" in RVizThe robot automatically goes to the click pointM11 (traversability map), M12 (Nav2)

In this module, just run the command and check the results step by step. Each block is opened and studied carefully in the module listed in the last column.

What does this module have?

LessonTaskExpected result
1. Scan 3D maps with FAST-LIO2Bringup ramp, FAST-LIO2 + PGO, drive a loopThe map includes a floor, two ramps, and a platform; The trajectory ends at the starting point
2. Save the map and read the recorded filesCall the save service and read the two files just recordedsuccess: true, map.pcd about 20 MB, poses.txt about 100 lines
3. localization robot on saved mapRun localization on saved map, try "2D Pose Estimate"ICP alignment accepted after about 5 seconds, scans the same map
4. Send the goal to let the robot navigate itselfnavigation.launch.py, placed on the podiumRobot reaches the platform, 0 recovery
5. ExerciseRedo the whole series with world warehouseRobot walks independently between two rows of shelves

Repo has the scanned ramp map available at src/atlas3d_mapPCDs/ramp/demo (the same map in the scene above). If a step fails, use this map to continue with the following steps, then go back and fix it.

Goal: the robot climbs the platform on your own map · Module 1: One full loop: scan → save → localize → drive — Atlas Robotics