From 5ef38fdd1a5b9234e47cbc17803a7fdd85d55b83 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 24 Nov 2009 18:54:38 +0000 Subject: [PATCH] Initial revision. --- Protocol/insgns-gps.xml | 71 +++++++++++++++++++++++++++++++++++++++++ Protocol/insgns-imu.xml | 68 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 139 insertions(+) create mode 100644 Protocol/insgns-gps.xml create mode 100644 Protocol/insgns-imu.xml diff --git a/Protocol/insgns-gps.xml b/Protocol/insgns-gps.xml new file mode 100644 index 000000000..18d00048d --- /dev/null +++ b/Protocol/insgns-gps.xml @@ -0,0 +1,71 @@ + + + + + + + + + + newline + tab + + + time (sec) + float + %.4f + /sim/time/elapsed-sec + + + + latitude (rad) + float + %.10f + /position/latitude-deg + 0.01745329251994329576 + + + + longitude (rad) + float + %.10f + /position/longitude-deg + 0.01745329251994329576 + + + + negative altitiude (m) + float + %.3f + /position/altitude-ft + -0.3048 + + + + Velocity North ("vn" mps) + float + %.8f + /velocities/speed-north-fps + 0.3048 + + + + Velocity East ("ve" mps) + float + %.8f + /velocities/speed-east-fps + 0.3048 + + + + Velocity Down ("vd" mps) + float + %.8f + /velocities/speed-down-fps + 0.3048 + + + + + + diff --git a/Protocol/insgns-imu.xml b/Protocol/insgns-imu.xml new file mode 100644 index 000000000..2880e027a --- /dev/null +++ b/Protocol/insgns-imu.xml @@ -0,0 +1,68 @@ + + + + + + + + + + newline + tab + + + time (sec) + float + %.4f + /sim/time/elapsed-sec + + + + roll rate ("p" rad/sec) + float + %.6f + /fdm/jsbsim/velocities/pi-rad_sec + + + + pitch rate ("q" rad/sec) + float + %.6f + /fdm/jsbsim/velocities/qi-rad_sec + + + + yaw rate ("r" rad/sec) + float + %.6f + /fdm/jsbsim/velocities/ri-rad_sec + + + + X accel (body axis) (mps) + float + %.5f + /accelerations/pilot/x-accel-fps_sec + 0.3048 + + + + Y accel (body axis) (mps) + float + %.5f + /accelerations/pilot/y-accel-fps_sec + 0.3048 + + + + Z accel (body axis) (mps) + float + %.5f + /accelerations/pilot/z-accel-fps_sec + 0.3048 + + + + + +