zzhao 发表于 2015-6-21 19:54:05

下载一下试试看,正想有一个这样的程序

zzhao 发表于 2015-6-21 20:01:35

怎么用你的执行文件呢?运行了程序,启动了flightgear.bat
具体*.bat内容如下:
C:
cd C:\Program Files\FlightGear 3.4.0

SET FG_ROOT=C:\Program Files\FlightGear 3.4.0\\data
.\\bin\\fgfs --aircraft=f-14b --fdm=null --native-fdm=socket,in,30,127.0.0.1,5502,udp --native-ctrls=socket,out,30,127.0.0.1,5505,udp --fog-fastest --disable-clouds --start-date-lat=2004:06:01:09:00:00 --disable-sound --in-air --enable-freeze --airport=KSFO --runway=10L --altitude=7224 --heading=113 --offset-distance=4.72 --offset-azimuth=0

飞机没有反应啊

zzhao 发表于 2015-6-21 20:35:27

测了一下,发送的数据起作用了,需要将上面的*.bat文件中的输入接口的端口号从5505改为5500。
但发送程序的数据是随机数很乱,所以飞机飞的也很凌乱,需要改成更平稳一些的数据。:lol

天一25 发表于 2015-6-25 11:20:42

感谢分享!!!11:):)

18298347945 发表于 2015-7-3 22:09:16

zzhao 发表于 2015-6-21 20:35 static/image/common/back.gif
测了一下,发送的数据起作用了,需要将上面的*.bat文件中的输入接口的端口号从5505改为5500。
但发送程序的 ...

层住,具体该怎么用呢?请细说一下。。。

mutouren 发表于 2015-7-29 13:16:54

非常感谢楼主,学习中!

mutouren 发表于 2015-7-29 14:20:07

学习中,非常感谢楼主!:P

lvguohu 发表于 2015-7-30 08:48:56

相当于fg是接收方。。。。。。。。

blue_sky_1 发表于 2015-9-4 07:55:06

标记一下,等有钱了下来玩玩

xiongwy 发表于 2015-11-6 09:32:32

现在正在研究这方面的东西,正好有用,谢谢楼主
页: 1 2 3 4 [5] 6 7 8 9 10 11
查看完整版本: FG接口程序