Function chip::max_speed

source ·
pub fn max_speed(curvature: f32) -> f32
Expand description

Estimates the maximum speed a car can be traveling while turning with the given curvature.

Curvature is defined as 1 ÷ the radius of a circle drawn with that curvature.