Skip to content

Commit

Permalink
minor fixes in behaviors
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeBouton committed Apr 15, 2019
1 parent 7330393 commit ebd3f01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/src/behaviors.md
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/behaviors/lateral_driver_models.jl
Expand Up @@ -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
Expand Down

0 comments on commit ebd3f01

Please sign in to comment.