Commit 8a3a3164 authored by Tobias Meuser's avatar Tobias Meuser Committed by Jose Ignacio Monreal Bailey
Browse files

Added missing methods to XMLController

parent 54226c4b
...@@ -364,4 +364,10 @@ public class XMLSimulationController implements VehicleController, SimulationSet ...@@ -364,4 +364,10 @@ public class XMLSimulationController implements VehicleController, SimulationSet
public double getVehicleSpeed(String pVehicleID) { public double getVehicleSpeed(String pVehicleID) {
return _vehicleDataInformationHandler.getVehiclePositions().get(pVehicleID).getSpeed(); return _vehicleDataInformationHandler.getVehiclePositions().get(pVehicleID).getSpeed();
} }
@Override
public double getVehicleHeading(String pVehicleID) {
return _vehicleDataInformationHandler.getVehiclePositions().get(pVehicleID).getHeading();
}
} }
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