Skip to main content

pamoja_ackermann_turn_radius

Function pamoja_ackermann_turn_radius 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_ackermann_turn_radius( car: PamojaAckermann, steering: f32, ) -> f32
Expand description

Returns the turn radius of a steering angle.

§Arguments

  • car - the vehicle.
  • steering - the steering angle in radians.

§Returns

The radius in meters, or infinity with the wheels straight.