Commit 35c2d458 authored by hengwen's avatar hengwen

More log

parent d1126efe
Pipeline #190057 failed with stage
in 4 minutes and 25 seconds
......@@ -241,6 +241,7 @@ public class VehicleService {
public boolean isCurrentTrajectoryFinished() {
double distToTarget = currentSimulator.getVehicleByID(id).getDistanceToTargetInMeter();
logger.info(String.format("Vehicle %s distance to target: %.2fm", id, distToTarget));
if (distToTarget < minDistToTarget) {
minDistToTarget = distToTarget;
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment