uavos / apx-gcs

APX Ground Control
GNU Lesser General Public License v3.0
11 stars 13 forks source link

How to override gcs host ip address i want to use my local ip address #23

Closed sivdesh closed 3 years ago

sivdesh commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context How to override gcs host ip address

uavinda commented 3 years ago

The autopilot firmware is simulated by running a binary utility located in APXFW package and extracted by GCS here ~/Documents/UAVOS/Firmware/sim/. The sim firmware utility connects to GCS TCP server for telemetry datalink and to Xplane plugin TCP server to get sensors data and send controls. The GCS recognizes vehicle by its unique UID, which is fixed for sim firmware.

Thus, just run the binary utility found in folder ~/Documents/UAVOS/Firmware/sim/ with the key -h to get usage help.

F.ex.

./sim-darwin -t 192.168.1.56