Skip to main content

compute_slip_ratio

Function compute_slip_ratio 

Source
pub fn compute_slip_ratio(wheel_speed: f64, vehicle_speed: f64) -> f64
Expand description

Compute the longitudinal slip ratio.

  • wheel_speed — peripheral speed of the tire = omega * R (m/s)
  • vehicle_speed — forward speed of the vehicle (m/s)

Returns slip ratio (dimensionless, positive = drive slip, negative = brake slip).