Skip to main content

Module movement

Module movement 

Source
Expand description

Trapezoidal velocity-profile movement math.

Exposes braking_distance for consumers writing opportunistic dispatch strategies that need the kinematic answer without constructing a Simulation. Trapezoidal velocity-profile movement physics.

Structs§

MovementResult
Result of one tick of movement physics.

Functions§

braking_distance
Distance required to brake to a stop from a given velocity at a fixed deceleration rate.
tick_movement
Advance position/velocity toward a target using a trapezoidal velocity profile.