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 Jun 7, 2024
1 parent ef13ca2 commit dbb99cf
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ class PerceptionReproducerV2(PerceptionReplayerCommon):
"""

def __init__(self, args):
self.rosbag_ego_odom_search_radius = args.search_radius # (m) the range of the ego odom to search,
self.reproduce_cooldown = args.reproduce_cooldown # (sec) the cooldown time for republishing published data, please make sure that it's greater than the ego's stopping time.

self.rosbag_ego_odom_search_radius = (
args.search_radius
) # (m) the range of the ego odom to search,
self.reproduce_cooldown = (

Check warning on line 40 in planning/planning_debug_tools/scripts/perception_replayer/perception_reproducer_v2.py

View workflow job for this annotation

GitHub Actions / spell-check-partial

Unknown word (cooldown)
args.reproduce_cooldown

Check warning on line 41 in planning/planning_debug_tools/scripts/perception_replayer/perception_reproducer_v2.py

View workflow job for this annotation

GitHub Actions / spell-check-partial

Unknown word (cooldown)
) # (sec) the cooldown time for republishing published data, please make sure that it's greater than the ego's stopping time.

Check warning on line 42 in planning/planning_debug_tools/scripts/perception_replayer/perception_reproducer_v2.py

View workflow job for this annotation

GitHub Actions / spell-check-partial

Unknown word (cooldown)

self.rosbag_ego_odom_search_radius = (
args.search_radius
) # (m) the range of the ego odom to search,
Expand Down Expand Up @@ -122,8 +126,9 @@ def on_timer(self):

# find a list of ego odom around the nearest_ego_odom_pos.
self.stopwatch.tic("find_nearby_ego_odom_indies")
ego_odom_indices = self.find_nearby_ego_odom_indies(nearest_ego_odom_pos,
self.rosbag_ego_odom_search_radius)
ego_odom_indices = self.find_nearby_ego_odom_indies(
nearest_ego_odom_pos, self.rosbag_ego_odom_search_radius
)
ego_odom_indices = self.find_nearby_ego_odom_indies(
nearest_ego_odom_pos, self.rosbag_ego_odom_search_radius
)
Expand Down

0 comments on commit dbb99cf

Please sign in to comment.