Skip to main content

pamoja_skid_steer_wheel_speeds

Function pamoja_skid_steer_wheel_speeds 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_skid_steer_wheel_speeds( drive: PamojaSkidSteer, linear: f32, angular: f32, ) -> PamojaSideSpeeds
Expand description

Returns the side speeds a skid-steer drive needs for a body motion.

§Arguments

  • drive - the drive.
  • linear - the forward speed.
  • angular - the yaw rate, positive turning left.

§Returns

The left and right speeds, split across the slip-corrected track.