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

Hello,
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
regards,
Jakob

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

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
sumo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-dev



Back to the top