Plan a mission

This guide will teach you how to plan and execute a mission in the 3D Scene module.

A mission being planned

Step 1: Configure a mission layer

To add a mission to your 3D Scene module:

  1. In Formant, navigate to the 3D Scene module you have created for your device.
  2. In the upper-right corner of the module, click the three dots >> Configure.
  3. Scroll down to Mission and click Add.
  4. Configure your mission:
PropertyUsage
Command nameEnter the name of the command you will use to send the waypoints to your robot.
Path typeStatic: Your path will be a fixed width in the UI. As you zoom out, it will appear smaller, and as you zoom in, it will appear larger.

Dynamic: Your path will scale up and down as you zoom in and out in the UI.
Path widthSet the static width of your path.
  1. (Optional) If you want to send specific commands to your robot at each waypoint, scroll to Add Properties and click Add...
Property nameUsage
TypeEnter the data type of the message you want to send to your robot at this waypoint.
NameGive the waypoint property a name.
DefaultSet a default value to be sent to the robot if another value is not specified.
  1. Click the Add button, and then click Done.

Step 2: Add waypoints

Now that we have configured our mission, we'll add waypoints to tell our robot where to go on the map, and what to do when it gets there.

  1. In the upper-right corner of the module, you will now see the waypoints icon. Click the waypoints icon to open the waypoints sidebar.
  2. With the waypoints sidebar open, Shift + left-click to drop a waypoint. Configure its (x,y) position and orientation as desired.

📘

Creating a path of sequential waypoints

Sequential Shift + left clicks will append new waypoints to the end of the path.

When a new waypoint is added, the previous waypoint will automatically adjust orientation to point towards the newest waypoint (unless orientation for the previous waypoint was manually set using the gizmo or manually entered in the sidebar).

To delete a waypoint, select the waypoint and click Delete. The waypoint prior to the deleted waypoint will automatically connect to the waypoint after the deleted waypoint, if available.

If you want to restart the path from scratch, click Cancel in the waypoint sidebar.

Step 3: Execute your mission

Once you have created your path of waypoints, click Send Path. This will send the path to your ROS Service. Once the ROS Service responds, the Mission Planning module shows the status of the Service call along with the path generated by the ROS Service.

👋

If you notice an issue with this page or need help, please reach out to us! Use the 'Did this page help you?' buttons below, or get in contact with our Customer Success team via the Intercom messenger in the bottom-right corner of this page, or at [email protected].