LiDAR Scan → Occupancy Grid → A* Path → PID Control → Movement
The robot emits LiDAR beams in all directions. Hits on obstacles build an occupancy grid map. Choose an environment preset or randomize.
A* searches the occupancy grid from robot to goal. Blue cells show the explored frontier; yellow shows the optimal path found.
A PID controller steers the robot along the planned path. Watch it correct for heading errors and navigate to the goal.