If you don't need one of the original models, you can change their behavior directly. Setting new model parameters with vehicle.setParameter requires the model to handle these parameters. For an example, see https://github.com/eclipse/sumo/blob/0c8354574ee4afa57e7e5dc7c398dbbb32faca08/src/microsim/cfmodels/MSCFModel_CACC.cpp#L241
Am Di., 15. Nov. 2022 um 10:17 Uhr schrieb 薛田莉 <[email protected]>: > Hello, > > I've read the tutorial ( > https://sumo.dlr.de/docs/Developer/How_To/Car-Following_Model.html), but > I'm still confused of implementing/adjusting a new car-following model . > I want to adjust several parameters of the original car-following model, > cause my car-following model is much easier, is it possible to change the > parameters in the file src/microsim/cfmodels/MSCFModel_KraussOrig1.h > directly? > And after the adjusting, what should I do to use this new car-following > model by traci?(is it like traci.vehicle.setParameter(vehID, > "carFollowModel.XYZ", "42")?) > > Thank you. > _______________________________________________ > 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
