FlightGear飞行模拟器

标题: 关于UDP通信的设置问题 [打印本页]

作者: 思想的小鱼    时间: 2019-3-13 22:20
标题: 关于UDP通信的设置问题
看了两天的资料文档 --native generic==  使用xml定义的协议,而用原生FDM的协议又是怎样一种,需要编写的格式怎么样呢,哪位大神有空的话可以简明扼要讲讲吗,谢谢啦。

作者: popsohu    时间: 2019-4-20 10:42
--generic=params

    With this option it is possible to output a pre-configured
    ASCII string or binary sequence  using a predefined separator.
    The configuration is defined in an XML file located in the
    Protocol directory of the base package.

    params can be:
    serial port communication:    serial,dir,hz,device,baud,protocol
    socket communication:         socket,dir,hz,machine,port,style,protocol
    i/o to a file:                file,dir,hz,filename,protocol

--native-fdm=params




欢迎光临 FlightGear飞行模拟器 (http://www.flightgear.org.cn/) Powered by Discuz! X3.2