toPose

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

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

Return

the velocity in the global (field) frame

Parameters

heading

the robot's current heading rotation

See also

for the inverse transformation