How to connect UgCS to HereLink

From UgCS
Jump to: navigation, search

Main Page UgCS How to

1.Install UgCS with component "Support ArduPilot vehicles"

Setup.png


2.Turn on HereLink controller, make it sure it’s set up and vehicle is connected - Read more about setup here

3.There are two ways to connect UgCS to HereLink:

3.1 Connecting from UgCS to HereLink using Herelink built-in Access Point (AP)
3.1.1 Create AP on your Herelink
3.1.2 Connect UgCS laptop to Herelink AP. Make sure that there's the following line in VSM config (C:\Program Files (x86)\UgCS\bin\vsm-ardupilot.conf):connection.udp_in.1.local_port = 14550

3.2 Connecting from UgCS to HereLink joining 5Ghz network
3.2.1 Join 5gz network with Herelink and UgCS laptop (UDP might have some firewall or security measures that can disrupt the connection establishing between devices)
3.2.2 Open vsm-ardupilot.conf with notepad (with Administrator privileges) found at C:\Program Files (x86)\UgCS\bin\
3.2.3 Add following lines:
Connection.udp_out.1.address = X.X.X.X
Connection.udp_out.1.port = 14552
Where X.X.X.X is IP address of HereLink device
3.2.4 Restart Ardupilot VSM

4.When connection is established you should see telemetry data coming to UgCS as in the picture below.

Connected.png



5.Troubleshooting:
Check vsm-ardupilot.log file for error messages (C:\Users\USER_NAME\AppData\Local\UgCS\logs\vsm-ardupilot\vsm-ardupilot.log)