When running the NAV2 bringup, a profile is required in the parameters. It is used to switch between the parameter sets for the nodes used by the NAV2 bringup and it is simply a Python function that locates the relevant parameter files. To check the available profiles, navigate to the lgdxrobot2_bringup/param folder.
Nav2 offers different controller plugins for line following, each using a distinct algorithm. LGDXRobot2 ROS 2 allows switching between the available plugins through profiles.
Model Predictive Path Integral Controller (MPPI) – This is the default plugin, so specifying a profile is not required.DWB Controller – Use loc-dwb as the profile name.Graceful Controller – Use loc-gc as the profile name.Regulated Pure Pursuit Controller – Use loc-rpp as the profile name.This section is subject to change.
slam indicates that the profile is intended for SLAM, while loc indicates that it is intended for localisation.-sim, it is intended for simulation.-pi4, it is intended for the Raspberry Pi 4B+, and -jetson-nano indicates that it is intended for the Nvidia Jetson Nano.-no-cam, it is intended for robots without a Realsense IMU.param and rviz folders from the lgdxrobot2_bringup package to any folder.param folder, copy any existing folder and rename it using a custom profile name. It is recommended that the name starts with slam- or loc-.param, but ekf.yaml and nav2.yaml are required.rviz folder, copy any RViz configuration file and rename it to match the custom profile name.profiles_path:=<path to custom profiles folder> profile:=<profile_name>.