Skip to main content
Version: 0.11.0

Web UI Autonomous Mode

Ensure that the Safety document has been read and the user is aware of possible hazards when using this product as well as the safety methods that can be used to stop the moving UGV.

The Autonomous Mode of OutdoorNav Software is a set of robotic navigation modules that enables robotics developers to define and then autonomously execute missions on UGVs, getting work done without requiring direct operator action. This software is composed of four main modules: localization, navigation, safety monitoring and user control unit. This a combination of Clearpath's proprietary packages and custom configured open-source packages from ROS community. Please see the software architecture section for more information.


The list below defines what a "Mission" is as well as its components. These components are referred to throughout this manual.

  • Mission A Mission is a set of one or more Waypoints.
  • Path The list of Waypoints that will determine the path for the specific Mission.
  • Waypoint A Waypoint is any geographical point referenced by its position relative to the datum in meters.
  • Task A Task is an automated activity or wait time implemented as a ROS action at a specific Waypoint. Tasks are called in the order they are added to a Waypoint.
  • Ghost Waypoint A transparent waypoint that is not part of the mission. This Waypoint appears between two other waypoints when in edit mode. The user can drag and drop this ghost waypoint to add a new waypoint to the mission between the other two waypoints.

Map Settings

Map settings

To access the Map Settings: Menu → Settings → Map:

  1. Map Offset: The map tiles used in this software are not perfectly aligned with the real world. Therefore, the user may need to apply an offset to the map so that the UGV's position in the real world matches its position on the map.
  2. Change Datum: The datum is represented by a blue marker on the map and should be set to a location within 10km of the test site. The user can change this value in the Map Settings page. Enter the new values and click the "Set Datum" button.

Mission Creation

To create a new Mission first ensure that the UI is in "Edit Mode" ( select the pencil icon in the bottom bar). Then open the drop down menu in the bottom bar and select the "Add Mission" option. This will allow the user to create a new Mission which can then be defined with Waypoints.

Waypoint Mode

To add new Waypoints to a Mission while edit mode is enabled select the "Waypoint Mode" button. This will allow the user to place Waypoints at locations where the user clicks on the map. These will appear as red Waypoints with the exception of the first waypoint (green) and the last waypoint (yellow).


The first Waypoint in the Mission must be within 3.0 meters of the UGV's current position.

As Waypoints are placed, a "ghost waypoint" will appear between each pair of real Waypoints and can be dragged to a new spot to insert a real Waypoint between them. Waypoints can also be dragged and dropped on the map to modify their positions.

Waypoint Panel

Waypoint Panel

Enable the "Waypoint Panel" toggle to open the list of available Waypoints within the selected Mission as shown in the figure above. The user can now rearrange the list, rename Waypoints, add Tasks to the Waypoints, and modify the final heading and/or tolerance of each Waypoint. The user can also rename the mission and apply Tasks to when the Mission starts and stops.

Rename Mission

To rename the Mission click the Mission name as it appears in the upper left hand corner. This should change the text into an input box that can then be modified. Press enter/click aside to save the change.

Mission Tasks

A Mission can have Tasks assigned to when it starts and when it stops. These Tasks will run in the order they are listed in and will always run whenever the Mission starts or stops.

Rearrange List of Waypoints

Waypoints can be rearranged in order of operation in the list. To do this, enable the "Waypoints Panel" toggle to access the list of Waypoints. Here, the user will be able to drag and drop the Waypoints to reorder them.

Rename Waypoint

By default, once Waypoints are created they are assigned a default name which is the word "Waypoint" followed by a numeric value representing the the number of Waypoints that have been created plus one. The user has the option to rename these Waypoints in order for them to have more descriptive meaning.

To rename a Waypoint follow these steps:

  1. Enable the "Waypoint Panel" toggle. See Waypoint Panel for further details.
  2. Click the name of the Waypoint which the user wants to rename.
  3. Erase the current name and type the new name.

Add Task to Waypoint

Add Task to Waypoint

To add a Task to the end of a Mission:

  1. Click the "+" icon (beside the Gear icon) in the Waypoint Row the Task is to be added to.

  2. Click the "Add Task" Button that has appeared.

  3. Select the Task from the dropdown list. Standard waypoint icons will be replaced accordingly depending on the task selected (waypoint icons will keep the colours assigned to them based on placement). Waypoints in the table will also have a small icon to indicate if tasks are assigned to the Waypoint accordingly.

    • Dock UGV: Will dock the UGV to begin charging the UGV's battery. See [Autonomous Docking](#autonomous-docking) for more information on the autonomous docking feature.
    • Move PTZ: Will move the PTZ camera to the position selected in the task settings.

      Settings: Select the camera position. See Pan-Tilt-Zoom (PTZ) View for details on how to save camera positions.

    • Save Image: Will save an image using one of the UGV camera(s) to the **/opt/onav/saved_files/media/...** directory and can be retrieved using a tool such as Filezilla.

      Settings: Select which camera the image will be saved from.

    • Start/Stop Video Recording: Will start/stop recording video using one of the UGV camera(s) to the **/opt/onav/saved_files/media/...** folder and can be retrieved using a tool such as Filezilla.

      Settings: Select which camera the recording will come from.

    • Undock UGV: Will undock the UGV from the autocharge dock. Once completed, the UGV can be sent on autonomous missions. It is often recommended to place the undock task first in the list of Waypoints or as a start Mission Task; that way, the UGV will automatically continue towards its next Waypoint once undocked.

      If the users places the Undock Task in the start Mission event the first Waypoint should be approximately 2-3 meters behind the UGVs docked position.

    • Wait: Will pause and wait for the specified number of seconds at the end of the Waypoint.

      Settings: Enter the amount of time to wait, in seconds.

    • New Custom Task: Creates a new custom task that is defined by the user.
      Custom Task Settings Dialog
      • Task Name: Task name that will show up in the list of available tasks on the UI.
      • Action Server Name: The namespace of the custom task action server.
      • Float CSV: A list of comma seperated float values that consist of the numerical inputs to the custom task.
      • String CSV: A list of comma seperated string values that consist of the semantic inputs to the custom task.

      See the Custom Tasks section for details on how to develop custom tasks for your application.

  4. The check box next to the Task name controls mission behaviour in the event that the Task fails. If the checkbox is checked the Mission will proceed to the next step in it's process, such as the next task or navigating to the next Waypoint. If its not checked, the Mission will become cancelled upon the Task's failure.

  5. Click the Gear icon next to the selected Task to add the required Settings.


    If a waypoint has more than one task assigned to it, the icon will be replaced with

Advanced Settings

Waypoint Heading

When creating a Waypoint, the user has the option of setting a final heading for the Waypoint. For example, when creating a Waypoint at an inspection point, the user may want the UGV to navigate and stop facing a certain direction. In Waypoint Panel, the list of Waypoints can be seen and the advanced settings of each Waypoint can be accessed by clicking the "Gear" icon.

To set the Waypoint's final heading, the user will need to check the "Final Heading Enabled" checkbox and enter the heading value in degrees. The heading indicator on the top bar can be used to help set this value. See the figure below showing the advanced settings.


Waypoints that have a heading or tolerance assigned to them will show a different colour on their settings icon.

Waypoint Advanced Settings

The heading that has been entered will only be applied to the Waypoint (ie. the robot will only align itself with the correct heading at the Waypoint). If the robot is required to be at specific headings at other Waypoints the user will need to enter these in for each specific Waypoint.

Waypoint Tolerance

When creating a Mission, the user has the option of setting a specific tolerance for each Waypoint. By default, the Waypoint position and orientation tolerances are 0.3 meters and 180°, respectively. If a specific Waypoint requires that the tolerances be either increased or decreased, these values can be modified in the advanced settings. For example, if it's required that the position and/or orientation at a Waypoint be very accurate, such as 0.1 meters position and 5° orientation, or looser at 1.0 meter position, this can be done within these settings.

In Waypoint Panel, the list of waypoints can be seen and the advanced settings of each Waypoint can be accessed by clicking the "Gear" icon. To set the Waypoint's tolerance, the user will need to check the "Waypoint Tolerance Enabled" checkbox and enter the position and orientation values, in meters and degrees, respectively.

Constrained Replanning

To enable the visualization of the contrained area of traversal (defined by the path contraint around the reference path), navigate to the General settings in the hamburger menu. Enable/disable the visualization of the path ui_route_deviation distance using the switch button (see image below).

General settings

Once enabled the area of possible deviation will show over the planned route as can be seen in the following figure.

Route with maximum path deviation

If the UGV is manually driven outside of the constrained replanning area while a Mission is running, the Mission will not be able to be resumed until the UGV is returned within the navigable area defined by the path contraint.

Mission Execution

Start Mission

There are multiple ways to start a Mission. At the bottom of the UI, the user has the ability to start the currently selected Mission by clicking the "Play" button . Starting the Mission this will start the Mission from the first Waypoint. The user may also select the drop down next to the button to start the Mission from the current UGV position. This is a useful way to start a Mission in the event that the UGV was blocked by obstacles that were later moved. Another way that a user can start a Mission is by selecting a waypoint in edit mode and then clicking on "Start Mission from Here" option. If the UGV is within 3 metres of that Waypoint the Mission will start from there.

Starting from a specific Waypoint

When the Mission has been started the Play button will turn green, regardless of how it has been started.

Pause Mission

At the bottom of the UI, the user has the ability to pause the currently running mission by clicking the "Pause" button . When the mission has been paused this button will turn yellow. Pausing a mission allows the user to take time to look around with the camera or to teleoperate the UGV to a nearby location to perform an inspection. For ease of operation, the user must PAUSE the active mission if the user wants to teleoperate the UGV.

Cancel Mission/Task

At the bottom of the UI, the user has the ability to stop the currently running mission or task by clicking the "Stop" button . When the mission/task has been cancelled this button will turn red. The name of the mission/task will be shown to be cancelled in the feedback bar.

Autonomous Docking

Dock Icon

Docking The UGV

To dock the UGV autonomously, the user should follow these steps:

  • Enable the "Edit Mission" toggle.
  • Create a Mission whose Waypoints approach the dock from the front and whose final Waypoint is within the maximum predock distance which is shown as a circle around the dock.
  • Enable the Waypoints Panel toggle to view the list of Waypoints, rename the last Waypoint to "Dock Waypoint" or something descriptive and add the "Dock UGV" Task to this Waypoint. If there is more than one dock in the system the user will have to open the task options and select the dock name from the list.
  • Run the Mission.

Undocking The UGV

To undock the UGV autonomously, the user should follow these steps:

  • Enable the "Edit Mission" toggle. Select the "Waypoint Mode" button.
  • Select the Waypoint icon on the bottom bar to create a Waypoint at the current location of the UGV. This step should either be it's own mission or it should be the starting point of a mission.
  • Enable the Waypoints Panel toggle to view the list of Waypoints, rename this Waypoint to "Undock Waypoint" or something descriptive and add the "Undock UGV" task to the Waypoint that was just created.
  • Run the Mission.

Compatibility with a Doghouse

In order for the autonomous docking feature to be compatible with a doghouse, the doghouse must conform to a few specifications:

  • Must be installed on a flat surface, and have no elevation change between the charge-deck and the outdoor surface (ie. no ramp into the doghouse).
  • Must be greater than 1.2 m wide.
  • Must be between 1.5 and 2.5 m long.
  • Dock target should be installed centered along the back of the doghouse.

Recover from Failed Docking or Undocking

If for any reason, the docking or undocking tasks fail, the user can:

  • Manually drive the UGV towards the dock target, aligning the charging unit with the receiver on the UGV.
  • Manually drive the UGV in reverse away from the dock target. It is suggested that the user reverse roughly 2-3 meters away from the target, then wait 1-2 minutes before starting any autonomous navigation missions.

Switching to IndoorNav

If it is included in the UGV, IndoorNav can be executed through the OutdoorNav software. To switch between the modes in OutdoorNav select the 'Navigation Mode' option found in the hamburger menu. This will navigate to a page that shows the current mode and provides an option to switch. When in IndoorNav mode the user may navigate to the IndoorNav Web GUI directly or work within the OutdoorNav view as can be seen below.


When in IndoorNav mode the OutdoorNav Autonomy software is switched off. The UI will disable OutdoorNav UI features related to Autonomy but will still allow users the option to view camera streams.