Skip to main content

pamoja_mecanum_wheel_speeds

Function pamoja_mecanum_wheel_speeds 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_mecanum_wheel_speeds( base: PamojaMecanum, twist: PamojaTwist, ) -> PamojaWheelSpeeds
Expand description

Returns the four wheel speeds a mecanum base needs for a body twist.

§Arguments

  • base - the base.
  • twist - the body motion, using its forward, sideways, and yaw parts.

§Returns

The four wheel speeds.