toChassis

Converts this pose velocity (global frame) to a chassis velocity (local frame).

Transforms the linear velocity from the global field frame to the robot's local frame using the robot's current heading. Angular velocity remains unchanged as it's frame-invariant.

Return

the velocity in the robot's local (chassis) frame

Parameters

heading

the robot's current heading rotation

See also

for the inverse transformation