From fd91c76030d3d6693d4f2289f0e23a8ca0016e72 Mon Sep 17 00:00:00 2001 From: rajnikantsh Date: Fri, 24 May 2019 02:16:49 +0530 Subject: [PATCH] change cav automation level --- src/main/scala/beam/agentsim/agents/vehicles/BeamVehicle.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/beam/agentsim/agents/vehicles/BeamVehicle.scala b/src/main/scala/beam/agentsim/agents/vehicles/BeamVehicle.scala index 3dcec4d3a84..6c5a2b4fae2 100755 --- a/src/main/scala/beam/agentsim/agents/vehicles/BeamVehicle.scala +++ b/src/main/scala/beam/agentsim/agents/vehicles/BeamVehicle.scala @@ -229,7 +229,7 @@ class BeamVehicle( StreetVehicle(id, beamVehicleType.id, spaceTime, mode, true) } - def isCAV: Boolean = beamVehicleType.automationLevel > 3 + def isCAV: Boolean = beamVehicleType.automationLevel == 5 def initializeFuelLevels = { primaryFuelLevelInJoules = beamVehicleType.primaryFuelCapacityInJoule