Multiplayer protocol: Difference between revisions

Jump to navigation Jump to search
git link to flightgear file. @Hooray: There aren't actually that many, see Special:WhatLinksHere/Template:Repo link
(Major cleanup)
(git link to flightgear file. @Hooray: There aren't actually that many, see Special:WhatLinksHere/Template:Repo link)
Line 76: Line 76:


==== First part ====
==== First part ====
{{note|1=<br/>
* Positions are in with respect to the Earth centered frame.
* Positions are in with respect to the Earth centered frame
* Orientations are with respect to the X, Y and Z axis of the Earth centered frame, stored in the angle axis representation where the angle is coded into the axis length.
* Orientations are with respect to the X, Y and Z axis of the Earth centered frame, stored in the angle axis representation where the angle is coded into the axis length
* Velocities are along the X, Y and Z directions of the Earth centered frame.
* Velocities are along the X, Y and Z directions of the Earth centered frame
* Angular accelerations are in two parts of the three dimensional angular velocity vector with respect to the Earth centered frame measured in the Earth centered frame.
* Angular accelerations are in two parts of the three dimensional angular velocity vector with respect to the Earth centered frame measured in the Earth centered frame
* Linear accelerations are in two parts of the three dimensional linear acceleration vector with respect to the Earth centered frame measured in the Earth centered frame.
* Linear accelerations are in two parts of the three dimensional linear acceleration vector with respect to the Earth centered frame measured in the Earth centered frame}}


The first part contain these fields in exactly that order:
The first part contain these fields in exactly that order:
Line 177: Line 176:


==== Second part ====
==== Second part ====
{{Note|This table is is current for FlightGear 3.2.0.  For the list in the development version, see {{Git link|gitorious|fg/flightgear|master|src/MultiPlayer/multiplaymgr.cxx|text=src/MultiPlayer/multiplaymgr.cxx}}.}}
{{Note|This table is is current for FlightGear 3.2.0.  For the list in the development version, see {{flightgear file|src/MultiPlayer/multiplaymgr.cxx|l=70}}.}}


The fields of the second part are '''property values''' encoded in the form '''ID'''|'''Value'''.
The fields of the second part are '''property values''' encoded in the form '''ID'''|'''Value'''.

Navigation menu