vehicle.slowDown accepts non-integer values so you can just send 0.25 as duration.
Am Di., 27. Aug. 2019 um 12:32 Uhr schrieb Aditya Prakash Chouhan < [email protected]>: > Dear all, > I am looking a way to adjust velocity of vehicles gradually. I came to > know that traci.vehicle.setSpeed() does an instant change in velocity > whereas traci.vehicle.slowDown() changes velocity in the time given in > seconds. However, I wish to change velocity in a non-integer time interval > for eg. 250 milliseconds. Is there a way to do this? > Please help!! > > Thanks, > Aaditya Prakash Chouhan > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
