Skip to content

Commit

Permalink
Update limited speed
Browse files Browse the repository at this point in the history
  • Loading branch information
alexDickhans committed Aug 25, 2024
1 parent 430bdf8 commit 14a6413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mp_2d.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl MotionProfile2d {
if curvature == 0.0 || !curvature.is_finite() {
1.0
} else {
1.0 / (1.0 + (curvature * 0.5) * track_width).abs()
1.0 / (1.0 + (curvature * 0.5).abs() * track_width)
}
}

Expand Down

0 comments on commit 14a6413

Please sign in to comment.