Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Update perid of speed and position

Try to use this option when running sumo:

--step-length TIME

Defines the step duration in seconds

Best,
Joerg

On 13/06/18 15:38, Tong, Kailin wrote:
Dear all,

I use TraCI and the time step of traci.simulationStep is set to 0.1 seconds.

I also use traci.vehicle.setSpeed to set a vehicle speed at every time step (0.1 seconds)

But when I check the speed and position from traci.vehicle.getSpeed and traci.vehicle.getPostion, They are updated every one second.

Is it a fixed update period in SUMO, or do I overlook some options?

Thank you in advance!

Best regards,

Kailin



_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user




Back to the top