Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Acceleration and Speed in intersections

Dear developers,
Hello! I am now using Traci to control the behavior of vehicles in intersections. I have Three questions to discuss with you.
Firstly, the traci.vehicle.getSpeed() and traci.vehicle.getAccl() all returns a scalar value, what does it mean when the vehicles is turning in the intersections? If I want to know the component of speed and acceleration in x-axis and y-axis, is it correct to use Angle to calculate? 
Secondly, do you have a function to predict the vehicle position in the next time step? I find it not accurate if I use the current speed and acceleration to calculate the next position.
Thirdly, do you have any method to precisely control the acceleration of the vehicle? traci.vehicle.setAcceleration() only sets the optimal maximum value, but can't control it precisely.

Looking forward to your reply.

Best wishes,
Duowei



Back to the top