Property Tree/Native Protocol Slaving: Difference between revisions

Jump to navigation Jump to search
Line 45: Line 45:
== Slaving Controls (Joystick) ==
== Slaving Controls (Joystick) ==
--native-ctrls transmits many variables concerned with flight control positions, cockpit switches, radio settings, sim status (paused?), etc. See net_ctrls.hxx
--native-ctrls transmits many variables concerned with flight control positions, cockpit switches, radio settings, sim status (paused?), etc. See net_ctrls.hxx
Look at the Network subdirectory for all the various options and the mini-docs for a howto. the necessary socket code is built into flightgear
and envoked as "  --native-ctrls=socket,in,32,,5700,tcp " where:
* 32 is the data rate (packets/sec)
* 5700 is the socket address used by the slave and server
* tcp is the IP protocol (you can use udp, but packert deliver is not guaranteed)


== Slaving Dynamics (FDM) ==
== Slaving Dynamics (FDM) ==

Navigation menu