AutomotiveDrivingModels.jl icon indicating copy to clipboard operation
AutomotiveDrivingModels.jl copied to clipboard

Stochasticity in IDM and similar models

Open tawheeler opened this issue 7 years ago • 1 comments

The intelligent driver model is traditionally free of stochasticity. The implementation in AutomotveDrivingModels includes a value for a Gaussian variance to add stochasticity. I propose that we decouple these concepts.

  • We remove the variance from IDM and have it be deterministic
  • We introduce a GaussianDriver that can include a submodel which produces the mean prediction. Thus one can include the IDM or any other driver model and introduce stochasticity on top of it.

Thoughts?

tawheeler avatar Jun 02 '17 20:06 tawheeler

The typewise branch has a fix for this which implements my suggested approach.

mutable struct StochasticLaneFollowingDriver{D<:LaneFollowingDriver, P<:ContinuousUnivariateDistribution} <: LaneFollowingDriver
    submodel::D
    distr::P
end

tawheeler avatar Jul 26 '17 18:07 tawheeler