Rev 792 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 792 | Rev 828 | ||
---|---|---|---|
Line 98... | Line 98... | ||
98 | if (GpsVelNed.Status == VALID) // valid packet |
98 | if (GpsVelNed.Status == VALID) // valid packet |
99 | { |
99 | { |
100 | GPSInfo.veleast = GpsVelNed.VEL_E; |
100 | GPSInfo.veleast = GpsVelNed.VEL_E; |
101 | GPSInfo.velnorth = GpsVelNed.VEL_N; |
101 | GPSInfo.velnorth = GpsVelNed.VEL_N; |
102 | GPSInfo.veltop = -GpsVelNed.VEL_D; |
102 | GPSInfo.veltop = -GpsVelNed.VEL_D; |
- | 103 | GPSInfo.velground = GpsVelNed.GSpeed; |
|
103 | GpsVelNed.Status = PROCESSED; // never update old data |
104 | GpsVelNed.Status = PROCESSED; // never update old data |
104 | } |
105 | } |
105 | if ((GpsSol.Status != INVALID) && (GpsPosLlh.Status != INVALID) && (GpsVelNed.Status != INVALID)) |
106 | if ((GpsSol.Status != INVALID) && (GpsPosLlh.Status != INVALID) && (GpsVelNed.Status != INVALID)) |
106 | { |
107 | { |
107 | GPSInfo.status = VALID; // set valid if data are updated |
108 | GPSInfo.status = VALID; // set valid if data are updated |