Skip to content

Commit

Permalink
Merge branch 'main' into feat/planning-control-evaluator
Browse files Browse the repository at this point in the history
  • Loading branch information
hayato-m126 committed Jul 23, 2024
2 parents 2ffc651 + e30cd64 commit 2870b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log_evaluator/scripts/traffic_light_evaluator_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def list_dynamic_object_2d_from_ros_msg(
label = self.__evaluator.evaluator_config.label_converter.convert_label(
get_traffic_light_label_str(signal.elements),
)
confidence: float = max(signal.elements, key=lambda x: x.confidence)
confidence: float = max(signal.elements, key=lambda x: x.confidence).confidence
signal_pos = self.get_traffic_light_pos(signal.traffic_light_group_id, cam2map)
# debug self.get_logger().error(f"{signal_pos=}")

Expand Down

0 comments on commit 2870b9a

Please sign in to comment.