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 Mar 28, 2024
1 parent ebc38dd commit b4c9134
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion control_src/consistency_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ def read_yaml(file_path):
description = item.split(",")[0]
value = float(description.split(":")[1].strip())
error_message = ""
if "steer_delay_difference" in item or "steer_time_constant_difference" in item or "accelerate_delay_difference" in item:
if (
"steer_delay_difference" in item
or "steer_time_constant_difference" in item
or "accelerate_delay_difference" in item
):
if value != 0.0:
error_message = (
"[ERROR] The parameters of the controller and simulator should be identical.\033[0m"
Expand Down

0 comments on commit b4c9134

Please sign in to comment.