80 double newPos,
double newSpeed);
92 void setParameter(
const std::string& key,
const std::string& value);
105 double stdDev,
double offset);
A device which collects info on current friction Coefficient on the road.
std::string getParameter(const std::string &key) const
try to retrieve the given parameter from this device. Throw exception for unsupported key
double myOffset
a value which is initialised based on a vType parameter
~MSDevice_Friction()
Destructor.
double myStdDeviation
a value which is initialised based on a vehicle parameter
MSDevice_Friction & operator=(const MSDevice_Friction &)
Invalidated assignment operator.
static void insertOptions(OptionsCont &oc)
Inserts MSDevice_Friction-options.
MSDevice_Friction(const MSDevice_Friction &)
Invalidated copy constructor.
void setParameter(const std::string &key, const std::string &value)
try to set the given parameter for this device. Throw exception for unsupported key
bool notifyMove(SUMOTrafficObject &veh, double oldPos, double newPos, double newSpeed)
Checks for waiting steps when the vehicle moves.
static void buildVehicleDevices(SUMOVehicle &v, std::vector< MSVehicleDevice * > &into)
Build devices for the given vehicle, if needed.
const std::string deviceName() const
return the name for this type of device
double myRawFriction
realValue from Road (without measurement model)
double myMeasuredFrictionCoefficient
a value which is initialised based on a commandline/configuration option
double getMeasuredFriction()
Abstract in-vehicle device.
A storage for options typed value containers)
Representation of a vehicle, person, or container.
Representation of a vehicle.