minus

operator fun minus(other: MotionState<U>): MotionState<U>(source)

Subtracts another motion state from this one, component-wise.

This is useful for computing error states (reference - measured).

Return

A new MotionState with each component being the difference of the corresponding components

Parameters

other

The motion state to subtract