Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] Lead vehicle type in Wiedemann car-following model

in the very latest development version (8f43c4a6874690c0a41443b1efbead0e4384f921) the followSpeed() API includes a parameter for the lead vehicle. Note, that in some calling contexts, this value may be a nullpointer

2018-04-03 20:23 GMT+02:00 Umair Durrani <durraniu@xxxxxxxxxxx>:

I am looking into the Wiedemann model and related
cpp and .h files in the development version of SUMO.   

Is there a way to print or do something with the LEAD vehicle type in the MSCFModel_Wiedemann.cpp?. I found 'gap2pred' and 'predspeed' but nothing like 'predType' or 'predClass'.

Ideally, I want to change the behavior of following vehicle if the lead vehicle class is a truck. 

best regards,
Umair Durrani 
Ph.D. Candidate
Civil and Environmental Engineering

sumo-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top