]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/pve.cxx
Removed some testing cruft related to a dumb attempt to disable the nagle
[flightgear.git] / src / Network / pve.cxx
index 2caa940601d5f770a99c3559ba3da9feeb4fd319..f9d3cc8c6f4ae0dbac973bb85c2de2dfaa5b3cbe 100644 (file)
@@ -38,7 +38,16 @@ FGPVE::~FGPVE() {
 }
 
 
-// generate Garmin message
+// "PVE" (ProVision Entertainment) output format (for some sort of
+// motion platform)
+//
+// Outputs a 5-byte data packet defined as follows:
+//
+// First bite:  ASCII character "P" ( 0x50 or 80 decimal )
+// Second byte:  "roll" value (1-255) 1 being 0* and 255 being 359*
+// Third byte:  "pitch" value (1-255) 1 being 0* and 255 being 359*
+// Fourth byte:  "heave" value (or vertical acceleration?)
+
 bool FGPVE::gen_message() {
     // cout << "generating pve message" << endl;
     FGInterface *f = cur_fdm_state;