utils

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Average

func Average(steerings []constraint.Steer) constraint.Steer

func Clamped

func Clamped(steerings []constraint.Steer, limit float64) constraint.Steer

func Scale

func Steer

func Steer(v func(agent.RO) vector.V) constraint.Steer

Steer takes as input a desired velocity and returns a steering acceleration vector.

func Sum

func Sum(steerings []constraint.Steer) constraint.Steer

func WeightedAverage

func WeightedAverage(steerings []constraint.Steer, weights []float64) constraint.Steer

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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