10 #include "AnitaPacketUtil.h" 28 Adu5Pat::Adu5Pat(Int_t trun,
36 payloadTime=gpsStruct->unixTime;
37 payloadTimeUs=gpsStruct->unixTimeUs;
43 pitch=gpsStruct->pitch;
GpsAdu5PatStruct_t – Yes.
Adu5Pat – The ADU5 Position and Attitude Data.
Float_t latitude
In degrees.
Float_t longitude
In degrees.
UInt_t realTime
Time from the GPS unit.
Float_t brms
Baseline rms error in metres.
ADU5 Postion and Attitude – Telemetered.
UInt_t attFlag
0 is good attitude, 1 is bad attitude
Float_t altitude
In metres.
UInt_t timeOfDay
in ms since the start of the day
Int_t intFlag
for raw data = 0, otherwise shows interpolation time
Float_t heading
0 is facing north, 180 is facing south
UInt_t readTime
Time of readout by the CPU.
int simplePacketCheck(GenericHeader_t *gHdr, PacketCode_t code)
simplePacketCheck – utility function