Skip to main content

Navigation

The Navigation group in Mission Canvas prepares the map and localization needed for mobile missions. It contains three stages that can also be used independently:

StagePurpose
MappingBuild and save an occupancy-grid map with SLAM and Mobile Teleop.
Map EditCorrect occupancy pixels and define named map areas.
NavigationLocalize the robot and test the saved map with a single goal.

Before following this guide, we recommend watching the Navigation UI walkthrough below. It provides an overview of the interface and shows how the Mapping, Map Edit, and Navigation stages fit together. If the embedded player does not open, watch it on YouTube.

For a new environment, use this recommended validation sequence:

Mapping → Map Edit → Navigation

After the map has been validated, continue to Mission to add Waypoints and run a route.

Mapping

Use the Mapping stage of Mission Canvas to build an occupancy-grid map with SLAM. The stage combines a live map viewer, mobile-base teleoperation, map saving, and saved-map deletion in one workspace.

Create a Map

Mapping button and Mapping canvas in Mission Canvas

  1. Select Mapping in the Mission Canvas stage rail.

  2. Click Start Mapping.

  3. Confirm that the header status changes to Status: running.

  4. Confirm that the live map and LiDAR scan begin to appear in the map viewer.

  5. In Mobile Teleop, click Activate.

    Mobile Teleop is inactive when you first open the stage. After activation, use the on-screen controls or the keyboard to drive the robot:

    ControlMotion
    WDrive forward.
    SDrive backward.
    ARotate left.
    DRotate right.
    0 buttonStop.
    Space keyStop.

    Press and hold a direction button, or hold its keyboard key, to continue moving. Releasing the button or key stops the robot. Moving the pointer away from a held on-screen button also stops it.

    The velocity command is refreshed every 200 ms while a direction remains held. The panel publishes a geometry_msgs/msg/Twist command to /cmd_vel.

    Adjust the speed

    SettingDefaultRangeStep
    Linear (m/s)0.400.05–1.200.05
    Angular (rad/s)0.800.05–2.000.05

    Changing a speed while the robot is moving applies the new value immediately. Start with low values in narrow or unfamiliar spaces.

    Click Deactivate when Mobile Teleop is no longer needed. Deactivation sends a stop command. The interface also sends a safety stop when an active control is released, when Teleop becomes unavailable, or when the panel closes.

    Mobile Teleop must be activated again for every inactive session. Keyboard input is ignored while the panel is inactive or while focus is in a text input.

  6. Drive the robot through the environment slowly to complete the map.

  7. Save the map before stopping the runtime. The Save Map and Stop controls used in steps 7 and 8 are shown below.

    Save Map and Stop controls in the Mapping stage

    1. While mapping is running, click Save Map in the map-viewer toolbar.
    2. Enter a value in Map name.
    3. Click Save.
    4. Wait for the completion message before stopping mapping or changing stages.

    Save Map is available only while mapping is running. The saved map consists of:

    • <map-name>.pgm, the occupancy-grid image
    • <map-name>.yaml, the map metadata used by navigation

    A map name must be 1–128 characters and can contain only letters, numbers, ., _, and -. For example, use lab-east-01 instead of a name containing spaces.

  8. Click Stop after the map has been saved. Wait until the header shows Status: idle before changing stages or leaving the workspace.

Delete a Saved Map

Live map created while driving with Mobile Teleop

  1. Click the Delete Map trash can button in the map-viewer toolbar. The Saved maps list opens directly below the button.
  2. Find the PGM map that you want to remove and click the red trash can at the right side of its row.
  3. Review the Delete this map? dialog. It shows that the map and its areas will be deleted, along with the number of Missions that will also be removed when that information is available.
  4. Click Yes to delete the map, or No to keep it. Clicking the red trash can alone does not delete the map; deletion occurs only after you click Yes.
warning

Deleting a map permanently removes its PGM image, YAML metadata, area-annotation file, and every Mission stored for that map. This action has no undo operation.

A map currently protected by an active navigation session is disabled in the deletion list. Stop navigation before deleting that map.

Map Edit

Use Map Edit to correct a saved PGM occupancy map and add named areas for Mission Canvas. Pixel edits and area annotations share the same canvas, history, and Save action.

Load a Map

Live map created while driving with Mobile Teleop

  1. Select Map Edit in the Mission Canvas stage rail.
  2. Click Load Map in the stage header.
  3. Select a file from Map. Only saved PGM maps are listed.
  4. Click Load.
  5. Confirm the loaded-file chip in the upper-right corner of the canvas. It shows the path and pixel dimensions of the selected map.

Edit Occupancy Pixels

Live map created while driving with Mobile Teleop

  1. Select an editing tool.
  2. Select a brush size.
  3. Press or drag over the map to paint. A continuous drag paints the cells between pointer positions.
  4. Use Undo or Redo if necessary.
  5. Click Save when the map is correct.

Pixel Tools

ToolResultStored PGM value
Clear SpaceMarks cells as known free space.254
Add ObstacleMarks cells as occupied.0
Mark UnknownMarks cells as unexplored or unknown.205

Brush Sizes

ButtonNameWidth
SSmall1 cell
MMedium3 cells
LLarge6 cells
XLExtra Large10 cells

Choose a small brush for corners and thin walls. Use a larger brush only for broad areas, and zoom in to verify that nearby doorways or corridors remain open.

Add and Manage Map Areas

Named areas are stored separately from the PGM pixels and can be displayed in the Navigation, Design, and Run stages through the Map areas layer.

Click Add Label to open the area tools.

ToolOperation
AreaCreates a new named area by selecting a rectangle.
ExtendAdds free cells to the selected area with the current brush.
Erase AreaRemoves area cells under the current brush.

Only white free-space cells that are not already claimed by another visible area can be added to an area. Obstacles, unknown cells, and already marked cells are ignored.

Create an Area

Live map created while driving with Mobile Teleop

  1. Click Add Label, then select Area.
  2. Optionally enter an AREA NAME.
  3. Drag a rectangle over unmarked white free space on the map.
  4. Release the pointer to create the area.
  5. Confirm that the new item appears under LABELED AREAS.

If the name field is empty, Autonomy Studio assigns the next available name, such as Area 1 or Area 2. A display color is assigned automatically. Area names are trimmed to a maximum of 80 characters.

A selection that contains no available free cells is not created. If this happens, select a different region or correct its occupancy pixels first.

Extend an Area

Live map created while driving with Mobile Teleop

  1. Select the target under LABELED AREAS.
  2. Select Extend.
  3. Choose S, M, L, or XL.
  4. Paint over adjacent, unmarked white free-space cells.

Extend changes only the selected area. It does not overwrite cells owned by other areas and does not include occupied or unknown map cells.

Erase Area Cells

Live map created while driving with Mobile Teleop

  1. Select Erase Area.
  2. Choose a brush size.
  3. Paint over the area cells that you want to remove.

Erase Area removes labeled cells under the brush, including cells from more than one area if the stroke crosses them. It does not change the underlying occupancy pixels.

If all visible cells of an area are erased, that area no longer appears in the list.

Select and Rename an Area

Live map created while driving with Mobile Teleop

  1. Click an item under LABELED AREAS to select it.
  2. Double-click its name to edit it.
  3. Press Enter or click outside the field to apply the new name.

Delete an Area

Live map created while driving with Mobile Teleop

  1. Click the delete icon beside the area.
  2. Click it again within four seconds when the button changes to the confirmation state.

Deleting an area removes its label geometry but does not change the map's obstacle, free-space, or unknown pixels. Where stored areas overlap, deleting one preserves the visible cells belonging to the remaining areas.

Use the Navigation stage to validate a saved map, localize the robot, and drive to one map goal without creating or running a Mission. This is useful for checking map quality, localization, costmaps, and path planning before you build a multi-waypoint route.

Load a Map

Live map created while driving with Mobile Teleop

  1. Select Navigation in the Mission Canvas stage rail.
  2. Click Load Map in the stage header.
  3. Select a saved PGM file from Map.
  4. Click Load.
  5. Confirm that Navigate Session shows the selected map.

Loading a map prepares the display but does not start navigation. The header remains Status: idle until you click Localize.

The Navigation picker is map-only. Mission selection and Mission execution are handled in the Mission Run stage.

Localize the Robot

Localization tells the navigation system where the physical robot is on the loaded map.

Live map created while driving with Mobile Teleop

  1. Click Localize.
  2. Wait for the navigation runtime to start. The header changes to Status: running.
  3. Press the map at the robot's current position.
  4. Drag in the direction that the robot is facing, then release.
  5. Wait while Autonomy Studio submits the initial pose and requests AMCL no-motion updates.
tip

Set the pose as close as possible to the robot's real position and heading. A poor initial estimate can cause the scan and map to remain misaligned or can produce an unsafe plan.

Send a Goal

Live map created while driving with Mobile Teleop

  1. Click Set Goal.
  2. Press the target position on the map.
  3. Drag in the direction that the robot should face at the destination, then release.
  4. Confirm that Navigate Session → Goal changes to Driving.