__init__(self,
Time=0,
AngVel=[ 0.0, 0.0, 0.0] ,
Heading=0.0,
Pitch=0.0,
Roll=0.0,
Accel=[ 0.0, 0.0, 0.0] ,
Vel=[ 0.0, 0.0, 0.0] ,
Pos=[ 0, 0, 0] ,
ID=0)
(Constructor)
| source code
|
Initailise the packet.
- Parameters:
Time - time in milliseconds (to check order)
AngVel - 3 floats, angular velocity vector
Heading - anticlockwise from above (Z)
Pitch - anticlockwise from right (X)
Roll - anticlockwise from front (Y)
Accel - 3 floats X, Y, Z
Vel - 3 floats X, Y, Z
Pos - 3 ints X, Y, Z (1m = 65536)
ID - optional: only if OutSim ID is specified
|