}
}
if (trackedVehicles.contains(vehicleId)){ // handle a tracked vehicle only
// calculate geo position
Point p = resolver.resolv(edgeId, laneId, pos);
// calculate jitter if required
if (jitter > 0){
double jitterLon = GeoCalc.getLonOffset(p.getX(), p.getY(), jitter)*((Math.random()*2)-1);
double jitterLat = GeoCalc.getLatOffset(p.getX(), p.getY(), jitter)*((Math.random()*2)-1);
p = new PointImpl(p.getX()+jitterLon,p.getY()+jitterLat);
}
// call the listener
this.listener.LocationUpdated(vehicleId, timestep, p.getX(), p.getY(), speed*3.6);
}
}