suboptimumg.log_analysis.drivetrain#
- suboptimumg.log_analysis.drivetrain.add_rear_slip_ratio(data, wheel_speed_col='pcm.moc.motor.wheelSpeed', low_speed_thresh=1.0)[source]#
Add the rear axle longitudinal slip ratio:
(v_wheel - v_ground) / v_ground.Positive values mean driven wheels spinning faster than ground speed (traction loss). Requires
add_groundspeedand thecorrect_motor_datapreprocessing step. Storesrear.slipRatio.- Parameters:
low_speed_thresh (float) – Ground speed (m/s) below which slip ratio is forced to zero.
data (SingleRunData)
wheel_speed_col (str)
- Return type:
SingleRunData