Skip to content

Commit 8157552

Browse files
committed
chore: comment out debug print
1 parent 150ea35 commit 8157552

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

driving_log_replayer/scripts/traffic_light_evaluator_node.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def list_dynamic_object_2d_from_ros_msg(
166166
)
167167
confidence: float = max(signal.elements, key=lambda x: x.confidence)
168168
signal_pos = self.get_traffic_light_pos(signal.traffic_signal_id, cam2map)
169-
self.get_logger().error(f"{signal_pos=}")
169+
# debug self.get_logger().error(f"{signal_pos=}")
170170

171171
estimated_object = DynamicObject2D(
172172
unix_time=unix_time,
@@ -220,9 +220,9 @@ def traffic_signals_cb(self, msg: TrafficSignalArray) -> None:
220220
cam2map = ground_truth_now_frame.transforms[(FrameID.TRAFFIC_LIGHT, FrameID.MAP)]
221221

222222
for obj in ground_truth_now_frame.objects:
223-
x, y, z, dist = self.get_traffic_light_pos_and_dist(obj.uuid, map_to_baselink)
224-
self.get_logger().error(f"{dist=}")
225-
# カメラからの座標系に変換
223+
x, y, z, _ = self.get_traffic_light_pos_and_dist(obj.uuid, map_to_baselink)
224+
# _ replace with dist and then self.get_logger().error(f"{dist=}")
225+
# transform to camera coordinate system
226226
position = cam2map.inv().transform((x, y, z))
227227
obj.set_position(position)
228228

0 commit comments

Comments
 (0)