Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] traci Vtype

thank you so much dear Mirko. your suggestion solved my problem. 

On Thu, Mar 24, 2022 at 5:42 PM Mirko Barthauer <m.barthauer@xxxxxxxxxxx> wrote:

Just in case this is your total Python code and HVs and AVs aren't variables: Add the quotes to make them strings.

Mirko

Am 24.03.2022 um 11:04 schrieb Jakob Erdmann:
The first rule of error reporting is: report the actual error verbatim.

Am Do., 24. März 2022 um 09:38 Uhr schrieb AM kb <amirhkr1995@xxxxxxxxx>:
thank you dear Jakob,
I have sent two screenshots of my vehicle type definition in the rou.xml file and my Traci code and I have set max speed for each type but I can not run the simulation and it raises an error.

Untitled.pngUntitleddd.png

On Thu, Mar 24, 2022 at 12:58 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
traci.vehicletype.setMaxSpeed

Am Do., 24. März 2022 um 09:22 Uhr schrieb AM kb <amirhkr1995@xxxxxxxxx>:
hello everyone,
I want to change the max speed of vehicle type in Traci during simulation but I do not know the correct command: 
traci.?.setMaxSpeed(self, typeID, speed)
What should I put in place of the question mark?
best regards,
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top