avoidance

package
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Avoid

func Avoid(db database.RO, r float64) constraint.Steer

func SLSDO

func SLSDO(o agent.RO) constraint.Steer

SLSDO calculates a steering acceleration given an agent-agent interaction. This is based on the slsdo avoidance algorithm. See https://slsdo.github.io/steering-behaviors/ for more information.

N.B.: In the original slsdo algorithm, there is consideration for the time-to-collision (lb). We assume this value is accounted for by the caller, which should iterate over all local neighbors of the input agent a.

func SLSDOFeature added in v0.3.0

func SLSDOFeature(f feature.RO) constraint.Steer

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL