added some hints to the c++

This commit is contained in:
Andrei Bechet 2015-07-01 11:32:07 +02:00
parent a205f55d01
commit 08a738316f
1 changed files with 12 additions and 0 deletions

View File

@ -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;
}
}