1
0
Fork 0

Initial revision.

This commit is contained in:
curt 2009-11-24 18:54:38 +00:00
parent 02fab82534
commit 5ef38fdd1a
2 changed files with 139 additions and 0 deletions

71
Protocol/insgns-gps.xml Normal file
View file

@ -0,0 +1,71 @@
<?xml version="1.0"?>
<!-- Example usage: <dash><dash>generic=file,out,4,fgfs.gps,insgns-gps -->
<PropertyList>
<generic>
<output>
<line_separator>newline</line_separator>
<var_separator>tab</var_separator>
<chunk>
<name>time (sec)</name>
<type>float</type>
<format>%.4f</format>
<node>/sim/time/elapsed-sec</node>
</chunk>
<chunk>
<name>latitude (rad)</name>
<type>float</type>
<format>%.10f</format>
<node>/position/latitude-deg</node>
<factor>0.01745329251994329576</factor> <!-- degrees to radians -->
</chunk>
<chunk>
<name>longitude (rad)</name>
<type>float</type>
<format>%.10f</format>
<node>/position/longitude-deg</node>
<factor>0.01745329251994329576</factor> <!-- degrees to radians -->
</chunk>
<chunk>
<name>negative altitiude (m)</name>
<type>float</type>
<format>%.3f</format>
<node>/position/altitude-ft</node>
<factor>-0.3048</factor> <!-- feet to meter -->
</chunk>
<chunk>
<name>Velocity North ("vn" mps)</name>
<type>float</type>
<format>%.8f</format>
<node>/velocities/speed-north-fps</node>
<factor>0.3048</factor> <!-- fps to mps -->
</chunk>
<chunk>
<name>Velocity East ("ve" mps)</name>
<type>float</type>
<format>%.8f</format>
<node>/velocities/speed-east-fps</node>
<factor>0.3048</factor> <!-- fps to mps -->
</chunk>
<chunk>
<name>Velocity Down ("vd" mps)</name>
<type>float</type>
<format>%.8f</format>
<node>/velocities/speed-down-fps</node>
<factor>0.3048</factor> <!-- fps to mps -->
</chunk>
</output>
</generic>
</PropertyList>

68
Protocol/insgns-imu.xml Normal file
View file

@ -0,0 +1,68 @@
<?xml version="1.0"?>
<!-- Example usage: <dash><dash>generic=file,out,50,fgfs.imu,insgns-imu -->
<PropertyList>
<generic>
<output>
<line_separator>newline</line_separator>
<var_separator>tab</var_separator>
<chunk>
<name>time (sec)</name>
<type>float</type>
<format>%.4f</format>
<node>/sim/time/elapsed-sec</node>
</chunk>
<chunk>
<name>roll rate ("p" rad/sec)</name>
<type>float</type>
<format>%.6f</format>
<node>/fdm/jsbsim/velocities/pi-rad_sec</node>
</chunk>
<chunk>
<name>pitch rate ("q" rad/sec)</name>
<type>float</type>
<format>%.6f</format>
<node>/fdm/jsbsim/velocities/qi-rad_sec</node>
</chunk>
<chunk>
<name>yaw rate ("r" rad/sec)</name>
<type>float</type>
<format>%.6f</format>
<node>/fdm/jsbsim/velocities/ri-rad_sec</node>
</chunk>
<chunk>
<name>X accel (body axis) (mps)</name>
<type>float</type>
<format>%.5f</format>
<node>/accelerations/pilot/x-accel-fps_sec</node>
<factor>0.3048</factor> <!-- feet to meter -->
</chunk>
<chunk>
<name>Y accel (body axis) (mps)</name>
<type>float</type>
<format>%.5f</format>
<node>/accelerations/pilot/y-accel-fps_sec</node>
<factor>0.3048</factor> <!-- feet to meter -->
</chunk>
<chunk>
<name>Z accel (body axis) (mps)</name>
<type>float</type>
<format>%.5f</format>
<node>/accelerations/pilot/z-accel-fps_sec</node>
<factor>0.3048</factor> <!-- feet to meter -->
</chunk>
</output>
</generic>
</PropertyList>