Yoke for FlightGear: Difference between revisions

Jump to navigation Jump to search
m
Fix grammar
mNo edit summary
m (Fix grammar)
Line 27: Line 27:
Install FGYoke first.
Install FGYoke first.


Save the code as from_fgyoke.xml , or download it from [https://github.com/sidi762/FGYoke-for-iOS/blob/master/from_fgyoke.xml here], then copy it to the Protocol folder under the data folder of FlightGear. for Mac OS, it should be /Applications/FlightGear.app/Contents/Resources/data/Protocol
Save the code as from_fgyoke.xml, or download it from [https://github.com/sidi762/FGYoke-for-iOS/blob/master/from_fgyoke.xml here], then copy it to the 'Protocol' folder under the FGDATA. For Mac OS, it should be '/Applications/FlightGear.app/Contents/Resources/data/Protocol'.
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<?xml version="1.0"?>
<?xml version="1.0"?>
Line 79: Line 79:
</syntaxhighlight>
</syntaxhighlight>


Go to the setting page, and type in the IP address and the port number of the computer that is going to run FlightGear. In this case, we can use 23333 as the port number. Click Save.
Go to the setting page, then type in the IP address and the port number of the computer for FlightGear. In this case, we can use 23333 as the port number. Click Save.


Type in <code>--generic=socket,in,20,,23333,tcp,from_fgyoke</code> in settings when launching FlightGear.
Type in <code>--generic=socket,in,20,,23333,tcp,from_fgyoke</code> in settings when launching FlightGear.


Start FlightGear, and click on the switch in the app. If it stays on "On" position, then the connection was successful.
Start FlightGear, and click on the switch icon in the app. If it stays on "On" position, the connection was successful.


== Tips to reduce latency in iOS version==
== Tips to reduce latency in iOS version==
Line 89: Line 89:
There may be some latency due to a bad Internet environment. If you have a lightning cable, you may make use of the Personal Hotspot.
There may be some latency due to a bad Internet environment. If you have a lightning cable, you may make use of the Personal Hotspot.


After connecting your iPhone to your computer, switch on the personal hotspot of your phone and check the Internet settings of your computer to make sure it is connected(In MacOS, there should be an iPhone USB tab in settings). Then either check your IP address in settings or using ifconfig/ipconfig depending on what system you are on.
After connecting your iPhone/iPad to your computer, switch on the personal hotspot of your phone and check the Internet settings of your computer to make sure it is connected (In MacOS, there should be an iPhone USB tab in settings). Then either check your IP address in settings or using ifconfig/ipconfig depending on what system you are on.


This method could also be used when there is no Internet available for FGYoke.
This method could also be used when there is no Internet available for FGYoke.
339

edits

Navigation menu