Skip to content

Commit

Permalink
Merge branch 'main' into log-evaluator
Browse files Browse the repository at this point in the history
  • Loading branch information
hayato-m126 committed Jul 22, 2024
2 parents 24db2a7 + 8d5a5d7 commit e30cd64
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 e30cd64

Please sign in to comment.