Multiplayer protocol: Difference between revisions

Jump to navigation Jump to search
m
Robot: Cosmetic changes
m (Robot: Cosmetic changes)
Line 16: Line 16:
|-
|-
|MsgId:
|MsgId:
|4 bytes, defines what data is appended to the header. Can be 0x00000001 for chat messages (deprecated) or<br>
|4 bytes, defines what data is appended to the header. Can be 0x00000001 for chat messages (deprecated) or<br />
0x00000007 for position data<br>all other values are outdated and ignored
0x00000007 for position data<br />all other values are outdated and ignored
|-
|-
|MsgLen:
|MsgLen:
Line 47: Line 47:
|lag  || 8 bytes, time offset for network lag
|lag  || 8 bytes, time offset for network lag
|-
|-
|PosX || 8 bytes, XDR encoded double value, X-ccordinate of users<br>
|PosX || 8 bytes, XDR encoded double value, X-ccordinate of users<br />
position wrt the earth centered frame
position wrt the earth centered frame
|-
|-
|PosY || 8 bytes, XDR encoded double value, Y-ccordinate of users<br>
|PosY || 8 bytes, XDR encoded double value, Y-ccordinate of users<br />
position wrt the earth centered frame
position wrt the earth centered frame
|-
|-
Line 68: Line 68:
|VelZ || 4 bytes, XDR encoded float value, velocity of the user in Z direction wrt the earth centered frame measured in the earth centered frame
|VelZ || 4 bytes, XDR encoded float value, velocity of the user in Z direction wrt the earth centered frame measured in the earth centered frame
|-
|-
|AV1 || 4 bytes, XDR encoded float value, 1. part of the three dimensional angular velocity vector<br>
|AV1 || 4 bytes, XDR encoded float value, 1. part of the three dimensional angular velocity vector<br />
wrt the earth centered frame measured in the earth centered frame
wrt the earth centered frame measured in the earth centered frame
|-
|-
|AV2 || 4 bytes, XDR encoded float value, 2. part of the three dimensional angular velocity vector<br>
|AV2 || 4 bytes, XDR encoded float value, 2. part of the three dimensional angular velocity vector<br />
wrt the earth centered frame measured in the earth centered frame
wrt the earth centered frame measured in the earth centered frame
|-
|-
|AV3 || 4 bytes, XDR encoded float value, 3. part of the three dimensional angular velocity vector<br>
|AV3 || 4 bytes, XDR encoded float value, 3. part of the three dimensional angular velocity vector<br />
wrt the earth centered frame measured in the earth centered frame
wrt the earth centered frame measured in the earth centered frame
|-
|-
|LA1 || 4 bytes, XDR encoded float value, 1. part of the three dimensional linear accelaration vector<br>
|LA1 || 4 bytes, XDR encoded float value, 1. part of the three dimensional linear accelaration vector<br />
wrt the earth centered frame measured in the earth centered frame
wrt the earth centered frame measured in the earth centered frame
|-
|-
|LA2 || 4 bytes, XDR encoded float value, 2. part of the three dimensional linear accelaration vector<br>
|LA2 || 4 bytes, XDR encoded float value, 2. part of the three dimensional linear accelaration vector<br />
wrt the earth centered frame measured in the earth centered frame
wrt the earth centered frame measured in the earth centered frame
|-
|-
|LA3 || 4 bytes, XDR encoded float value, 3. part of the three dimensional linear accelaration vector<br>
|LA3 || 4 bytes, XDR encoded float value, 3. part of the three dimensional linear accelaration vector<br />
wrt the earth centered frame measured in the earth centered frame
wrt the earth centered frame measured in the earth centered frame
|-
|-
|AA1 || 4 bytes, XDR encoded float value, 1. part of the three dimensional angular accelaration vector<br>
|AA1 || 4 bytes, XDR encoded float value, 1. part of the three dimensional angular accelaration vector<br />
wrt the earth centered frame measured in the earth centered frame
wrt the earth centered frame measured in the earth centered frame
|-
|-
|AA2 || 4 bytes, XDR encoded float value, 2. part of the three dimensional angular accelaration vector<br>
|AA2 || 4 bytes, XDR encoded float value, 2. part of the three dimensional angular accelaration vector<br />
wrt the earth centered frame measured in the earth centered frame
wrt the earth centered frame measured in the earth centered frame
|-
|-
|AA3 || 4 bytes, XDR encoded float value, 3. part of the three dimensional angular accelaration vector<br>
|AA3 || 4 bytes, XDR encoded float value, 3. part of the three dimensional angular accelaration vector<br />
wrt the earth centered frame measured in the earth centered frame
wrt the earth centered frame measured in the earth centered frame
|-
|-

Navigation menu