Yoke for FlightGear: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(+ Infobox; +- First section; +- Using empty lines instead of </br> tags; +- Making "How to use" into a heading; + related content; + categories)
(+- first section, I assumed the name off the app was FGYoke, but was mistaken; + link to Apple App Store page)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Infobox Software
{{Infobox Software
| title              = FGYoke
| title              = Yoke for FlightGear
| logo                =  
| logo                =  
| logosize            =  
| logosize            =  
Line 18: Line 18:
| website            =  
| website            =  
}}
}}
'''FGYoke''' (yoke for FlightGear) is a virtual yoke app based on TCP for iOS and Android.
'''Yoke for FlightGear''' ('''FGYoke''') is a virtual yoke app based on TCP for iOS and Android.


iOS version available in Apple Appstore.
iOS version available in Apple Appstore.
Line 64: Line 64:
=== Forum topics ===
=== Forum topics ===
* [https://forum.flightgear.org/viewtopic.php?f=6&t=31488 A Yoke for FlightGear on iOS/Android]
* [https://forum.flightgear.org/viewtopic.php?f=6&t=31488 A Yoke for FlightGear on iOS/Android]
== External links ==
* [https://itunes.apple.com/se/app/yoke-for-flightgear/id1180439266?mt=8 Yoke for FlightGear] på Apple App Store.


[[Category:Android apps]]
[[Category:Android apps]]
[[Category:IOS apps]]
[[Category:IOS apps]]

Revision as of 23:49, 16 January 2017

Yoke for FlightGear
Developed by iOS app by Sidi Liang, Android app by CHH2000Day
Latest release iOS: 1.0.2; Android: 0.3.0
OS iOS, Android
Type Virtual control

Yoke for FlightGear (FGYoke) is a virtual yoke app based on TCP for iOS and Android.

iOS version available in Apple Appstore.

How to use

Install FGYoke first.

Save the code as from_fgyoke.xml , or download it from 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

<?xml version="1.0"?>

<PropertyList>
    <generic>
        <input>
            <line_separator>newline</line_separator>
            <var_separator>,</var_separator>
            <chunk>
                <name>aileron</name>
                <type>float</type>
                <format>%f</format>
                <node>/controls/flight/aileron</node>
            </chunk>
            <chunk>
                <name>elevator</name>
                <type>float</type>
                <format>%f</format>
                <node>/controls/flight/elevator</node>
            </chunk>
        </input>
    </generic>
</PropertyList>

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

Type in --generic=socket,in,20,,23333,tcp,from_fgyoke 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.

Related content

Wiki articles

Forum topics

External links