diff --git a/planning/planning_debug_tools/scripts/perception_replayer/perception_reproducer_v2.py b/planning/planning_debug_tools/scripts/perception_replayer/perception_reproducer_v2.py index 3720f1e7..5da192c1 100755 --- a/planning/planning_debug_tools/scripts/perception_replayer/perception_reproducer_v2.py +++ b/planning/planning_debug_tools/scripts/perception_replayer/perception_reproducer_v2.py @@ -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 = ( + 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, @@ -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 )