added some hints to the c++
This commit is contained in:
parent
a205f55d01
commit
08a738316f
1 changed files with 12 additions and 0 deletions
|
@ -28,6 +28,18 @@ void GpsConverter::frameReceived(const CANFrame& canFrame)
|
|||
{
|
||||
const uint8* payload = canFrame.getPayload();
|
||||
// TOOD implement conversion to arc-msec and call IGpsACPusher
|
||||
|
||||
sint32 latInMs = 0; // here add your converted lat
|
||||
sint32 longInMs = 0; // here add your converted long
|
||||
|
||||
|
||||
if (latInMs != fLastLatInMs || longInMs != fLastLongInMs)
|
||||
{
|
||||
// value changed
|
||||
fAcPusher.pushGPSCoordinates(latInMs, longInMs);
|
||||
fLastLatInMs = latInMs;
|
||||
fLastLongInMs = longInMs;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue