After calling a traci.vehicle function that modifies type-specific attribute (i.e. traci.vehicle.setDeceleration), the original type of the vehicle is copied, modified and re-assigned to the vehicle. This is to ensure that all other vehicles with the same type are not affected. Thus, the type id 'type@vehID' signifies that vehicle 'vehID' was loaded with 'type' but then hat some attribute modified and received a vehicle-specific type.
Am Mo., 15. Juni 2020 um 00:12 Uhr schrieb Bae, Jong In <[email protected]>: > Hello, > > I have 2 different scenarios where I am using the function 'getTypeID' to > check for vehicles with type "HV". > The function is returning two different formats even though I am using the > same function. > > When I print it, one scenario returns *'type@vehID'* (HV@HV1, for > example) and the other scenario returns just the *'type'* (HV, for > example). > I am using the same version of SUMO (1.6.0). > > I was wondering why I am getting two different formats from the same > function. > > Thank you! > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
