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 <[email protected]>:

    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
    <[email protected]> wrote:

        traci.vehicletype.setMaxSpeed

        Am Do., 24. März 2022 um 09:22 Uhr schrieb AM kb
        <[email protected]>:

            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
            [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

    _______________________________________________
    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, 
visithttps://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

Reply via email to