Aufgrund einer Wartung wird GitLab am 18.01. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 18.01. between 8:00 and 9:00 am.

Commit dd6973b7 authored by JannikDecker's avatar JannikDecker
Browse files

Update Vehicle.java

parent 1c9e8358
Pipeline #187955 passed with stage
in 2 minutes and 59 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) < 1.5;
return location2D.getDistance(vehiclePos2D) < 1.8;
}
/**
* @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