Commit 1c9e8358 authored by JannikDecker's avatar JannikDecker
Browse files

Update Vehicle.java

parent 58e311bf
Pipeline #187954 passed with stage
in 2 minutes and 47 seconds
......@@ -417,7 +417,7 @@ public class Vehicle{
public boolean isAtLocation(RealVector location2D){
RealVector vehiclePos2D = new ArrayRealVector(new double[]{physicalVehicle.getPosition().getEntry(0),physicalVehicle.getPosition().getEntry(1)});
return location2D.getDistance(vehiclePos2D) < 2.5;
return location2D.getDistance(vehiclePos2D) < 1.5;
}
/**
* @return true if it's an EV
......
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