Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Zh/Yoke for FlightGear

From FlightGear wiki
(Redirected from Zh/ZH/Yoke for FlightGear)
Jump to: navigation, search
FlightGear虚拟摇杆
[[File:
Screenshot of FGYoke in AppStore
|270px|]]
Developed by iOS 版本 开发者 Sidi Liang, Android 版本 开发者 CHH2000Day
Latest release iOS: 1.1.3; Android: 0.3.0
Written in Swift 4.0, Objective-C, Java
OS iOS, Android
Platform 移动端
Development status 已发布
Type 虚拟操控


FlightGear虚拟摇杆 (FGYoke) 是一个iOS与安卓平台的基于TCP的虚拟摇杆应用。

iOS 版本可在AppStore获得.
安卓版 下载

使用说明

首先安装FGYoke.

将下方代码保存为 from_fgyoke.xml ,或者从这里下载, 然后将它移动到FGDATA下的 Protocol 文件夹. 在 Mac OS 中, 路径应为 /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>
            <chunk>
                <name>throttle</name>
                <type>float</type>
                <format>%f</format>
                <node>/controls/engines/engine/throttle</node>
            </chunk>
            <chunk>
                <name>throttle1</name>
                <type>float</type>
                <format>%f</format>
                <node>/controls/engines/engine[1]/throttle</node>
            </chunk>
            <chunk>
                <name>throttle2</name>
                <type>float</type>
                <format>%f</format>
                <node>/controls/engines/engine[2]/throttle</node>
            </chunk>
            <chunk>
                <name>throttle3</name>
                <type>float</type>
                <format>%f</format>
                <node>/controls/engines/engine[3]/throttle</node>
            </chunk>

        </input>
    </generic>
</PropertyList>

前往设置页面, 然后输入运行FG的主机的ip地址与你想使用的端口号. 在本教程中,我们将使用23333作为端口号。点击保存。

在FG启动器中输入 --generic=socket,in,20,,23333,tcp,from_fgyoke

启动FG,然后在应用中将开关打开。如果开关可以保持在“开”的位置,那么连接就是成功的。

论坛主题

外部链接