diff --git a/docs/src/behaviors.md b/docs/src/behaviors.md index a8e3d24..84e2f5c 100644 --- a/docs/src/behaviors.md +++ b/docs/src/behaviors.md @@ -2,9 +2,15 @@ These stands one level above the `actions`. They provide a higher level decision that the `actions` then implement in order to propagate the simulation forward. +A behavior model can be interpreted as a control law. Given the current scene, representing all +the vehicles present in the environment, a behavior model returns an action to execute. ## Interface +We provide an interface to interact with behavior model or implement your own. + + + ## Available Behaviors ```@docs IntelligentDriverModel diff --git a/src/behaviors/lateral_driver_models.jl b/src/behaviors/lateral_driver_models.jl index 6de893d..85858cc 100644 --- a/src/behaviors/lateral_driver_models.jl +++ b/src/behaviors/lateral_driver_models.jl @@ -6,10 +6,10 @@ Base.rand(model::LateralDriverModel) = error("rand not implemented for model $mo Distributions.pdf(model::LateralDriverModel, a_lon::Float64) = error("pdf not implemented for model $model") Distributions.logpdf(model::LateralDriverModel, a_lon::Float64) = error("logpdf not implemented for model $model") - +# TODO: Why does this struct live in the `lateral_driver_models.jl` file """ ProportionalLaneTracker -TODO: Why does this struct live in the `lateral_driver_models.jl` file + A controller that executes the lane change decision made by the `lane change models` # Constructor