Skip to content

Commit

Permalink
Update and resize screenshots on navigation (#3697)
Browse files Browse the repository at this point in the history
  • Loading branch information
sguequierre authored Nov 22, 2024
1 parent 6e48b92 commit be7c778
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Binary file modified assets/services/navigation/navigation-control-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions docs/services/navigation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Add a [nested reference frame](/services/frame-system/nested-frame-config/) conf
- From the left-hand menu, select your base.
- Since you haven't adjusted any parameters yet, the default reference frame will be shown for your base:

{{<imgproc src="/services/navigation/select-base-frame.png" resize="300x" style="width: 500px" alt="Frame card for a base with the default reference frame settings">}}
{{<imgproc src="/services/navigation/select-base-frame.png" resize="700x" style="width: 300px" alt="Frame card for a base with the default reference frame settings">}}

- Keep the `parent` frame as `world`.
Select the **Geometry** dropdown menu.
Expand All @@ -191,15 +191,15 @@ Add a [nested reference frame](/services/frame-system/nested-frame-config/) conf

For example, you would configure a box-shaped base with dimensions of 100mm x 100mm x 100mm (l x h x w) as follows:

{{<imgproc src="/services/navigation/configure-base-geometry.png" resize="300x" style="width: 500px" alt="The frame card for the base in the Viam app config builder.">}}
{{<imgproc src="/services/navigation/configure-base-geometry.png" resize="700x" style="width: 300px" alt="The frame card for the base in the Viam app config builder.">}}

- Next, select your movement sensor from the left-hand menu. Click on the **Parent** menu and select your base component.
- Give the movement sensor a **Translation** that reflects where it is mounted on your base, measuring the coordinates with respect to the origin of the base.
In other words, designate the base origin as `(0,0,0)` and measure the distance between that and the origin of the sensor to obtain the coordinates.

For example, you would configure a movement sensor mounted 200mm on top of your base as follows:

{{<imgproc src="/services/navigation/full-frame-movement-sensor-ui.png" resize="300x" style="width: 500px" alt="The frame card for the movement sensor in the Viam app config builder.">}}
{{<imgproc src="/services/navigation/full-frame-movement-sensor-ui.png" resize="700x" style="width: 300px" alt="The frame card for the movement sensor in the Viam app config builder.">}}

You can also adjust the **Orientation** and **Geometry** of your movement sensor or base, if necessary.
See [the frame system service](/services/frame-system/#configuration) for instructions.
Expand Down Expand Up @@ -227,9 +227,9 @@ The [navigation service API](/appendix/apis/services/navigation/) supports the f

After configuring the navigation service for your machine, navigate to the **CONTROL** tab of the machine's page in the [Viam app](https://app.viam.com) and expand the card matching the name of your service to use an interface for rover navigation.

Here, you can toggle the mode of the service between **Manual** and **Waypoint** to start and stop navigation, add waypoints and obstacles, and view the position of your rover base on a map:
Here, you can add waypoints and obstacles and view the position of your rover base on a map:

![An example control interface for a navigation service in the Viam app Control Tab.](/services/navigation/navigation-control-card.png)
{{<imgproc src="/services/navigation/navigation-control-card.png" resize="900x" style="width: 700px" alt="An example control interface for a navigation service in the Viam app Control Tab.">}}

## Navigation concepts

Expand Down

0 comments on commit be7c778

Please sign in to comment.