Skip to content

Commit

Permalink
Merge branch 'feat/perception_reproducer_v2' of github.com:autowarefo…
Browse files Browse the repository at this point in the history
…undation/autoware_tools into feat/perception_reproducer_v2
  • Loading branch information
xtk8532704 committed Jun 7, 2024
2 parents 68491aa + 079b985 commit ef13ca2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ def load_rosbag(self, rosbag2_path: str):
new_msg.stamp = msg.stamp
for traffic_signal in msg.signals:
traffic_light_group = TrafficLightGroup()
traffic_light_group.traffic_light_group_id = traffic_signal.traffic_signal_id
traffic_light_group.traffic_light_group_id = (
traffic_signal.traffic_signal_id
)
for traffic_signal_element in traffic_signal.elements:
traffic_light_element = TrafficLightElement()
traffic_light_element.color = traffic_signal_element.color
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ 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,
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 ef13ca2

Please sign in to comment.