Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions nuplan/database/nuplan_db/nuplan_scenario_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,9 @@ def get_traffic_light_status_for_lidarpc_token_from_db(
:return: The traffic light status data associated with the given lidar_pc.
"""
query = """
SELECT CASE WHEN tl.status == "green" THEN 0
WHEN tl.status == "yellow" THEN 1
WHEN tl.status == "red" THEN 2
SELECT CASE WHEN tl.status == 'green' THEN 0
WHEN tl.status == 'yellow' THEN 1
WHEN tl.status == 'red' THEN 2
ELSE 3
END AS status,
tl.lane_connector_id,
Expand Down