Advertisement
Guest User

UBX-NAV-PVT

a guest
Aug 3rd, 2017
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.05 KB | None | 0 0
  1. struct NAV_PVT {
  2.   unsigned char cls;
  3.   unsigned char id;
  4.   unsigned short len;
  5.   unsigned long iTOW;          // GPS time of week of the navigation epoch (ms)
  6.   unsigned short year;         // Year (UTC)
  7.   unsigned char month;         // Month, range 1..12 (UTC)
  8.   unsigned char day;           // Day of month, range 1..31 (UTC)
  9.   unsigned char hour;          // Hour of day, range 0..23 (UTC)
  10.   unsigned char minute;        // Minute of hour, range 0..59 (UTC)
  11.   unsigned char second;        // Seconds of minute, range 0..60 (UTC)
  12.   unsigned char valid;         // Validity Flags (see graphic below)
  13.   unsigned long tAcc;          // Time accuracy estimate (UTC) (ns)
  14.   long nano;                   // Fraction of second, range -1e9 .. 1e9 (UTC) (ns)
  15.   unsigned char fixType;       // GNSSfix Type, range 0..5
  16.   unsigned char flags;         // Fix Status Flags
  17.   unsigned char flags2;        // Fix Status Flags2
  18.   unsigned char numSV;         // Number of satellites used in Nav Solution
  19.   long lon;                    // Longitude (deg)
  20.   long lat;                    // Latitude (deg)
  21.   long height;                 // Height above Ellipsoid (mm)
  22.   long hMSL;                   // Height above mean sea level (mm)
  23.   unsigned long hAcc;          // Horizontal Accuracy Estimate (mm)
  24.   unsigned long vAcc;          // Vertical Accuracy Estimate (mm)
  25.   long velN;                   // NED north velocity (mm/s)
  26.   long velE;                   // NED east velocity (mm/s)
  27.   long velD;                   // NED down velocity (mm/s)
  28.   long gSpeed;                 // Ground Speed (2-D) (mm/s)
  29.   long heading;                // Heading of motion 2-D (deg)
  30.   unsigned long sAcc;          // Speed Accuracy Estimate
  31.   unsigned long headingAcc;    // Heading Accuracy Estimate
  32.   unsigned short pDOP;         // Position dilution of precision
  33.   unsigned char reserved1;     // Reserved
  34.   long headVeh;                // Heading of vehicle (2-D)
  35.   short magDec;                // Magnetic declination
  36.   unsigned short magAcc;       // Magnetic declination accuracy
  37. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement