Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 19, 2024
1 parent 9557102 commit ebaf27e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1147,9 +1147,7 @@ def get_target_velocity(
max_vel_from_lateral_acc_on_segment = np.sqrt(
self.params.max_lateral_accel / max_curvature_on_segment
)
target_vel = np.min(
[target_vel_ + 1.0 * sine**2, max_vel_from_lateral_acc_on_segment]
)
target_vel = np.min([target_vel_ + 1.0 * sine**2, max_vel_from_lateral_acc_on_segment])

return target_vel

Expand Down

0 comments on commit ebaf27e

Please sign in to comment.