Skip to main content

Autonomous Navigation

Development configuration​

The workspace contains amrj16_bringup/launch/amrj16_nav_and_slam.launch.py, which includes the navigation launch from amrj16_nav and a SLAM Toolbox node. The source declares use_sim_time (default false), autostart (default true), nav_params_file and slam_params_file.

On a separate development computer with the installed workspace, inspect arguments without launching the stack:

ros2 launch amrj16_bringup amrj16_nav_and_slam.launch.py --show-args

Inspect an existing navigation session​

In a correctly isolated simulation or authorized ROS graph, check localization and the available navigation action:

ros2 run tf2_ros tf2_echo map base_footprint
ros2 action list -t
ros2 action info /navigate_to_pose

The source uses the Nav2 NavigateToPose interface; confirm the deployed name and server before use. In RViz2 inspect the robot pose, map and available costmap/path displays. Do not send navigation goals until the simulation or physical test environment and control authorization have been validated.

A complete simulation startup, initial-pose workflow, goal execution, cancellation and recovery sequence remain to be tested. For the web interface see Navigation.

Reference approach: Clearpath Humble Nav2.