# ETHERNET TELEMETRY PAYLOAD CONTROL

### **Setup with Herelink** <a href="#bkmrk-setup-with-herelink" id="bkmrk-setup-with-herelink"></a>

**In this example:**

* Using Ethernet telemetry to control G-Hadron (gimbal and camera).
* Using HDMI to do video streaming from Zio to QGroundControl.

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FZd8guSNbiLFqjHjBMqyL%2Fimage.png?alt=media&#x26;token=5621d013-04be-4c07-84b6-899f5cc1ca47" alt=""><figcaption></figcaption></figure>

**Setup on QGroundControl App**

**1. Disable all AutoConnect in General**

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FbBfjuhy1dBBUvXOmjOE5%2Fimage.png?alt=media&#x26;token=27921f88-a64c-44f0-bd93-d846737d247b" alt=""><figcaption></figcaption></figure>

**2. Navigate to Comm Links, add new Comm Link for Ethernet telemetry**

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2Fu6DMgxGO1hLEIh3cUuu4%2Fimage.png?alt=media&#x26;token=e4f6b456-089c-4799-9d8d-e2ae7551d33d" alt=""><figcaption></figcaption></figure>

**3. Create the new link as following**

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FEwaQLhFTdEWH8y55bUAq%2Fimage.png?alt=media&#x26;token=94a5e475-d267-4347-9fc8-7dd3571b6795" alt=""><figcaption></figcaption></figure>

**On the above example:**

```
Name: Zio
Type: UDP
Listening Port: 14565
Target Hosts: 192.168.144.200:14565 (Zio's IP)
```

**4. Check the new Ethernet connection**

* Connect the HDMI to Herelink v1.1
* Video Stream info will show as below after configuring successfully

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FiDS35M6LMiaSKpF7Hr9V%2Fimage.png?alt=media&#x26;token=bbbef3eb-b5da-41e8-9bf0-2bd1402815cb" alt=""><figcaption></figcaption></figure>

**(Do not change)**

```
Video Source: RTSP Video Stream
RTSP URL: rtsp://192.168.55.100:8554/ghadron
Aspect Ratio: 1.777777
```

**Successful connection**

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2F5msoikIuhHnDyOm7RRnO%2Fimage.png?alt=media&#x26;token=a026f69d-65e0-46f5-b8b1-fc052d658153" alt=""><figcaption></figcaption></figure>

Receive On the PC using VLC:<br>

* Goto Media -> Open Network Stream
* <rtsp://192.168.144.25:8554/ghadron>

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2Fnj0zbgiL1knkTu2mFMui%2Fimage.png?alt=media&#x26;token=cbae4bfa-6b04-4884-b6cb-226d7703c1d3" alt=""><figcaption></figcaption></figure>

Receive On the PC using Gstreamer

{% hint style="info" %}
gst-launch-1.0 rtspsrc latency=0 location=rtsp\://192.168.144.25:8554/ghadron ! decodebin ! videoconvert ! autovideosink sync=false
{% endhint %}

Configure video streaming settings

{% content-ref url="payload-web-server" %}
[payload-web-server](https://docs.gremsy.com/tiny-gimbal/g-hadron/payload-web-server)
{% endcontent-ref %}

<br>

<br>
