Debian Codegraph @

Docs/README.jsclient

raw
1 Start flightgear with
2 fgfs --jsclient=socket,in,<hz>,,<port>,udp \
3 --prop:/jsclient/axis[i]="/property/you/want/to/control" \
4 --prop:/jsclient/axis[i+1]="/another/property/you/want/to/control" ...
5 eg:
6 # fgfs --aircraft=yf23-yasim --airport=KEMT --jsclient=socket,in,5,,16759,udp \
7 --prop:/jsclient/axis[0]="/controls/flight/spoilers" \
8 --prop:/jsclient/axis[1]="/radios/comm/volume"
9
10 Start the server on the machine with the remote gameport:
11 JsServer <host> <port>
12 eg:
13 # JsServer 192.168.1.1 16759
14
15 (JsServer can be started before or after fgfs)