I forgot the quotes:

vehicle.setParameter(vehID, *"*laneChangeModel.lcAssertive*"*, "1.3")

Am Do., 28. Jan. 2021 um 22:44 Uhr schrieb Bae, Jong In <[email protected]>:

> Hello,
>
> Thank you for your suggestion. When I'm using the command you told me, I
> get an error message 'NameError: name 'laneChangeModel' is not defined'.
> I'm using the latest SUMO version (1.8.0). I've also tried with LC2013
> instead of laneChangingModel in the command but still got the same
> NameError.
>
> Am I using the wrong syntax in the command?
>
> Thank you!
> ------------------------------
> *From:* sumo-user <[email protected]> on behalf of Jakob
> Erdmann <[email protected]>
> *Sent:* Monday, January 25, 2021 2:11 AM
> *To:* Sumo project User discussions <[email protected]>
> *Subject:* Re: [sumo-user] Change the value of lcAssertive during
> simulation?
>
> vehicle.setParameter(vehID, laneChangeModel.lcAssertive, "1.3")
>
> See
> https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html#supported_lanechangemodel_parameters
> <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FTraCI%2FChange_Vehicle_State.html%23supported_lanechangemodel_parameters&data=04%7C01%7Cjbae42%40gatech.edu%7C7bd7597b97794bfb3e8208d8c1006ebd%7C482198bbae7b4b258b7a6d7f32faa083%7C0%7C0%7C637471554898527881%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=enuRBOqIN5oya60xB5qXJwfN7HaTNCQue34ljD4q%2FWY%3D&reserved=0>
> Note, that all parameters must be strings.
>
> Am Sa., 23. Jan. 2021 um 18:47 Uhr schrieb Bae, Jong In <[email protected]
> >:
>
> Hello,
>
> I was wondering if there is any way to change the lcAssertive value during
> simulation via traci?
> I'm aware that we can change the lane changing mode via traci but I was
> wondering if we can change the lcAssertive value in particular.
>
> Thank you!
>
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cjbae42%40gatech.edu%7C7bd7597b97794bfb3e8208d8c1006ebd%7C482198bbae7b4b258b7a6d7f32faa083%7C0%7C0%7C637471554898527881%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=v4CacyXvT6U8Gruh6V0A4ZoN8t4%2BDRZ8hXwtjYcmmTY%3D&reserved=0>
>
> _______________________________________________
> 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

Reply via email to