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 <durra...@uwindsor.ca>: > 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 > LinkedIn <https://www.linkedin.com/in/durraniu/> > > > _______________________________________________ > sumo-dev mailing list > sumo-dev@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-dev > >
_______________________________________________ sumo-dev mailing list sumo-dev@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-dev