TCP Aircraft Server

From PaparazziUAV
Revision as of 17:40, 10 June 2014 by Psinha (talk | contribs) (Created page with "<categorytree style="float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;" mode=pages>Tools</categorytree> __TOC__ The <tt>tcp aircraft server</...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The tcp aircraft server (in sw/tools/tcp_aircraft_server/) is an agent that re-broadcasts the ivy telemetry stream from a specified vehicle over tcp to a specified remote ip which hosts its own local ground segment ivy network. This allows the broadcast of a vehicle telemetry stream over the internet to a remote party without the need for VPNs.

Usage

Broadcast Ground Station

Set your Paparazzi src and home directories for eg: export PAPARAZZI_SRC=~/path/to/paparazzi export PAPARAZZI_HOME=~/path/to/paparazzi

Then, from your Paparazzi directory, run:

./sw/ground_segment/tmtc/ivy_tcp_aircraft -id <ac_id_number> -h <remote IP>

Recipient Computer

Run:

./sw/tools/tcp_aircraft_server/tcp_aircraft_server.py

Then open Paparazzi Center using the -n option for the server unless you wish to log messages locally, and use the tools within Paparazzi Center as you would do normally.

The recipient side of the setup broadcasts locally over the default Paparazzi ivy bus 127.255.255.255:2010