Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Add new parameter

Hi,

options for sumo are defined in ./src/microsim/MSFrame.cpp and can be queried through the static OptionsCont instance. You can get it by calling OptionsCont::getOptions(); and use the right member method (e.g. getString("parameter-name")) to access the value.

 

Best regards,

Mirko


-----Original-Nachricht-----
Betreff: [sumo-user] Add new parameter
Datum: 2025-02-04T09:43:38+0100
Von: "林紹維 via sumo-user" <sumo-user@xxxxxxxxxxx>
An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>

Dear community,
I am currently modifying the source code of a car following model and need to add new parameter values inserted from the command line. However, I have trouble parsing the values from the command line to the car following model implementation, how can I manage to do this? Any help would be appreciated.

Best regards,

Leonardo
_______________________________________________
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