> For the complete documentation index, see [llms.txt](https://docs.ceruleansonar.com/c/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ceruleansonar.com/c/omniscan3d/sonarview/position-and-heading-source.md).

# Position and Heading Source

To position OmniScan 3D data correctly in space, SonarView requires position and heading data from an external source. Currently supported sources include NMEA 0183, NMEA 2000, and mavlink2rest. After setting up your source, configure it in Session Configurations so SonarView knows where to receive the data.

{% hint style="info" %}
Before starting this process, make sure you have completed the [Quick Start guide](/c/omniscan3d/getting-started/quick-start-upgrade-kit.md) and can connect to your Omniscan 3D unit(s)
{% endhint %}

#### 1. Session Configurations

From the main page of SonarView, go to **Session Configurations.** It should look something like this:

<figure><img src="/files/oeCDizySsm8V9Fbe4frT" alt=""><figcaption></figcaption></figure>

#### 2. Add Omniscan 3D Device(s)

First, add your **Omniscan 3D** device by clicking **+ Add Device**. This opens the device editor. If your **Omniscan 3D** device is powered on and available, click **Discover Devices** to automatically populate the required information. It should look something like this:

<figure><img src="/files/HXF0WbIcJGEUiQpAPHAu" alt="" width="378"><figcaption></figcaption></figure>

{% hint style="info" %}
Port # for OS3D is 62312
{% endhint %}

Depending on if you are running the upgrade kit (RX16 + Omniscan) or the self-contained variant of the Omniscan 3D, the setup is slightly different.

{% tabs %}
{% tab title="Upgrade Kit" %}

* Only define **ONE** Omniscan 3D device regardless of if you're running port and starboard units
* Ignore mounting angles here in Session Configurations. Those will be configured once connected in OS3D Configuration
  {% endtab %}

{% tab title="Self-contained" %}

* Set up an Omniscan 3D device per unit and add them to a session together
* Fill in the mounting information here. The **Mounting Angle** and **Mounting Offset** are defined relative to the orientation and position of your heading and position source. In this example, the **Omniscan 3D** unit is pointed **90° to port** relative to the source and is mounted **1 meter to port** and **1.5 meters below** it.&#x20;
  {% endtab %}
  {% endtabs %}

Once you are satisfied with these settings, click **Save**.&#x20;

#### 3. Add Position/Heading Source

Follow the appropriate instructions depending on whether your position/heading source is **NMEA** or **mavlink2rest**.

{% tabs %}
{% tab title="NMEA" %}
To add an NMEA position/heading source, click **+ Add Device**. Because device discovery can’t detect arbitrary NMEA sources, you’ll need to configure it manually. For **Device Type**, select **Generic GPS**. It should look something like this:

<figure><img src="/files/2oUYQ0JBdl8YfjgTGMZO" alt=""><figcaption></figcaption></figure>

With your Omniscan 3Ds and NMEA source configured, add them to a session like this:

<figure><img src="/files/2HQmpY1F8MlVtlwAK0sX" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/6dmQljD9EilU9YSNc6gb" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="mavlink2rest" %}
To add a mavlink2rest position/heading source (e.g. a BlueBoat), you will need to select **+ Add Vehicle** from the main page of Session Configurations. It should end up looking something like this

<figure><img src="/files/DuPtyCu37OPvOxc7WsxO" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Make sure your System ID matches that of your vehicle
{% endhint %}

Next, add the vehicle and Omniscan 3Ds to a session together like this:

<figure><img src="/files/kALFJiG5xNviIhttbMR4" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/bOxrQmfI0b6QwAZ3svC2" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

With your session configured correctly and all devices connected, return to **Discovery** and connect to your custom session. Once you click **Start**, data collection should begin, and you should see your position and heading update in the view.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ceruleansonar.com/c/omniscan3d/sonarview/position-and-heading-source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
