The navigation stack uses sensor data to create a map of the environment and to localize the robot within that map. This allows the robot to plan paths and avoid obstacles autonomously.
The global planner calculates a path from the robot's current location to the goal position using the map. It provides a high-level route for the robot to follow.
The local planner dynamically adjusts the robot's path to avoid obstacles detected in real-time, allowing smooth and safe navigation.
The correct syntax uses 'ros2 launch' with the launch file and passes parameters using 'param:=value' format.
// Robot position is published correctly // Map is loaded // Goal is set // But robot stays stillOptions:
If the robot's odometry and map frames are not connected via a transform, the localization will fail, and the robot won't know how to move towards the goal.
