Skip to content

Commit

Permalink
Merge branch 'beta/v0.19.1' into fix/dummy_diag
Browse files Browse the repository at this point in the history
  • Loading branch information
ito-san authored May 8, 2024
2 parents c3812ac + ec7e474 commit e4c7415
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
rss_params:
rear_vehicle_reaction_time: 2.0
rear_vehicle_safety_time_margin: 1.0
lateral_distance_max_threshold: 2.0
lateral_distance_max_threshold: 3.0
longitudinal_distance_min_threshold: 3.0
longitudinal_velocity_delta_time: 0.8
# hysteresis factor to expand/shrink polygon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def toc(self, name):
time.perf_counter() - self.start_times[name]
) * 1000 # Convert to milliseconds
if self.verbose:
print(f"Time for {name}: {elapsed_time:.2f} ms")
print(f"Time for {name}: {elapsed_time: .2f} ms")

# Reset the starting time for the name
del self.start_times[name]
2 changes: 1 addition & 1 deletion system/diagnostic_graph_aggregator/script/dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def print_table(lines: list, header: list):
lines.insert(0, ["-" * w for w in widths])
lines.insert(2, ["-" * w for w in widths])
for line in lines:
line = map(lambda v, w: f"{v:{w}}", line, widths)
line = map(lambda v, w: f"{v: {w}}", line, widths)
line = " | ".join(line)
print(f"| {line} |")

Expand Down

0 comments on commit e4c7415

Please sign in to comment.