AutomotiveSensors
Sensor models to work with AutomotiveDrivingModels.jl
Installation
Using the SISL registry (recommended):
] registry add https://github.com/sisl/Registry
] add AutomotiveSensors
To install this package and its dependencies, run the following in the julia REPL.
using Pkg
Pkg.add(PackageSpec(url="https://github.com/sisl/Vec.jl"))
Pkg.add(PackageSpec(url="https://github.com/sisl/Records.jl"))
Pkg.add(PackageSpec(url="https://github.com/sisl/AutomotiveDrivingModels.jl"))
Pkg.add(PackageSpec(url="https://github.com/sisl/AutoViz.jl"))
Pkg.add(PackageSpec(url="https://github.com/sisl/AutomotiveSensors.jl"))
Models
GaussianSensor
: Simple sensor model that returns the state of other vehicle with Gaussian noise on position and velocity. It observes the heading perfectly, it is sensitive to occlusion and can return false positive and false negative. The noise can be specified using anAbstractNoiseModel
, the default isLinearNoise
.PerfectSensor
: Sensor that returns the exact state of other vehicles.
Tools
occlusion_checker
: Check whether a vehicle is occluded by an obstacle. It relies on tracing a ray between the two vehicle of interest and checking if the ray intersects with an obstacle. The rays can be visualized using theOcclusionOverlay
. See AutoViz.jl to learn more on how to use overlays.