toVel

open fun toVel(cartesianXVel: Double, cartesianYVel: Double, cartesianAngVel: Double): PoseVelocity2d

Rotates these Cartesian coordinates by 90 degrees clockwise and converts them to a Robot Vector.

Return

the Robot Velocity pose representation of this Cartesian pose

Parameters

cartesianXVel

the Cartesian x velocity

cartesianYVel

the Cartesian y velocity

cartesianAngVel

the Cartesian clockwise heading velocity