flameout wrote:I haven't read this whole topic, just some of the posts, but I think if I were to have one big feature added I would want an xml-configurable INS system. Rather than planes (many, including the Concorde, which I believe is simulated with GPS) unrealisticly using the GPS, they could have an xml file and a gauge. I know it would be a lot of work and would need people capable of designing the system, it would increase realism hugely. Features I would want: xml-based configuration, multiple unit and mixing support, radio updating (various types, such as DME/DME and radial/DME,) and realistic alignment/fast alignment options (some planes re-align quickly.) However, this would be difficult to implement, and I think it will be some time before developers are bored enough to work on one.
The Nasal source file is attached (sorry, I currently have to upload it to the forums -- I lost my link to my web site when my Dad's hard drive crashed. Additionally, a simple readme is attached.
ins.nas may be placed anywhere, and is run from within the aircraft-set.xml file. ins.xml must be in the aircraft root directory, with the aircraft-set.xml file and the FDM configuration (this can be changed in the code.)
The ins.xml file describes each INS and its capabilities. I also, in this sample file, include a definition for each of the inputs/output to it, so that aircraft gauges will never get a nil value and have an error. It is recommended you have an error display for when they are not in nav mode. There are two properties, attwork and navwork, that can be used for this.
Please comment on it and post suggestions and feature requests. Also, any documentation that is GPL-compatible will be helpful in designing this system.
Here is a sample ins.xml file:
- Code: Select all
<PropertyList>
<left>
<drift>
<drift-rate type="double">.5</drift-rate>
<pitcherr type="double">0</pitcherr>
<rollerr type="double">0</rollerr>
</drift>
<nolatlonin type="string">true</nolatlonin>
<lat type="double">0</lat>
<long type="double">0</long>
<trutrack type="double">0</trutrack>
<magtrack type="double">0</magtrack>
<north-velocity-fps type="double">0</north-velocity-fps>
<east-velocity-fps type="double">0</east-velocity-fps>
<ground-speed type="double">0</ground-speed>
<vspeed type="double">0</vspeed>
<truheading type="double">0</truheading>
<magheading type="double">0</magheading>
<heading-rate type="double">0</heading-rate>
<pitch type="double">0</pitch>
<pitch-rate type="double">0</pitch-rate>
<roll-angle type="double">0</roll-angle>
<roll-rate type="double">0</roll-rate>
<navwork type="string">false</navwork>
<attwork type="string">false</attwork>
<mode type="string">off</mode>
</left>
<center>
<drift>
<drift-rate type="double">.5</drift-rate>
<pitcherr type="double">0</pitcherr>
<rollerr type="double">0</rollerr>
</drift>
<nolatlonin type="string">true</nolatlonin>
<lat type="double">0</lat>
<long type="double">0</long>
<trutrack type="double">0</trutrack>
<magtrack type="double">0</magtrack>
<north-velocity-fps type="double">0</north-velocity-fps>
<east-velocity-fps type="double">0</east-velocity-fps>
<ground-speed type="double">0</ground-speed>
<vspeed type="double">0</vspeed>
<truheading type="double">0</truheading>
<magheading type="double">0</magheading>
<heading-rate type="double">0</heading-rate>
<pitch type="double">0</pitch>
<pitch-rate type="double">0</pitch-rate>
<roll-angle type="double">0</roll-angle>
<roll-rate type="double">0</roll-rate>
<navwork type="string">false</navwork>
<attwork type="string">false</attwork>
<mode type="string">off</mode>
</center>
<right>
<drift>
<drift-rate type="double">.5</drift-rate>
<pitcherr type="double">0</pitcherr>
<rollerr type="double">0</rollerr>
</drift>
<nolatlonin type="string">true</nolatlonin>
<lat type="double">0</lat>
<long type="double">0</long>
<trutrack type="double">0</trutrack>
<magtrack type="double">0</magtrack>
<north-velocity-fps type="double">0</north-velocity-fps>
<east-velocity-fps type="double">0</east-velocity-fps>
<ground-speed type="double">0</ground-speed>
<vspeed type="double">0</vspeed>
<truheading type="double">0</truheading>
<magheading type="double">0</magheading>
<heading-rate type="double">0</heading-rate>
<pitch type="double">0</pitch>
<pitch-rate type="double">0</pitch-rate>
<roll-angle type="double">0</roll-angle>
<roll-rate type="double">0</roll-rate>
<navwork type="string">false</navwork>
<attwork type="string">false</attwork>
<mode type="string">off</mode>
</right>
</PropertyList>
Hope you enjoy this.