Skip to content

Comments

feat: enable traffic light debugging outputs for signal display (#12135)#2701

Merged
Owen-Liuyuxuan merged 3 commits intofeat/v0.48/e2efrom
feat/v0.48/enable_dp_traffic_light
Feb 20, 2026
Merged

feat: enable traffic light debugging outputs for signal display (#12135)#2701
Owen-Liuyuxuan merged 3 commits intofeat/v0.48/e2efrom
feat/v0.48/enable_dp_traffic_light

Conversation

@Owen-Liuyuxuan
Copy link

Enable outputting the first traffic light on the route for visualization on RViz signal display.

The diffusion planner now publishes autoware_perception_msgs/msg/TrafficLightGroup on each planning cycle, locating the first lanelet with a traffic light ID along the route (starting from the current ego position forward).

  • If no traffic light input is available from perception, the message reports UNKNOWN;
  • if no traffic light exists on the following route, an empty message is published.
  • The topic can be remapped to /planning/scenario_planning/lane_driving/behavior_planning/debug/traffic_signal for compatibility with existing RViz and ad_api consumers.

autowarefoundation#12135

image

…warefoundation#12135)

* feat: enable traffic light debugging outputs for signal display

Signed-off-by: YuxuanLiuTier4Desktop <619684051@qq.com>

* fix: pre-commit

Signed-off-by: YuxuanLiuTier4Desktop <619684051@qq.com>

* feat: align const argument; fix not needed clear

Signed-off-by: YuxuanLiuTier4Desktop <619684051@qq.com>

* feat: add documentation for interface changes

Signed-off-by: YuxuanLiuTier4Desktop <619684051@qq.com>

* feat: add test for basic function

Signed-off-by: YuxuanLiuTier4Desktop <619684051@qq.com>

* feat: fix traffic light element error

Signed-off-by: YuxuanLiuTier4Desktop <619684051@qq.com>

---------

Signed-off-by: YuxuanLiuTier4Desktop <619684051@qq.com>
@Owen-Liuyuxuan
Copy link
Author

@SakodaShintaro I tried merging this PR to the XX1, but DP codes contain a conflict, so I gave up.

@sonarqubecloud
Copy link

@Owen-Liuyuxuan Owen-Liuyuxuan merged commit 5b3ac75 into feat/v0.48/e2e Feb 20, 2026
21 of 26 checks passed
@Owen-Liuyuxuan Owen-Liuyuxuan deleted the feat/v0.48/enable_dp_traffic_light branch February 20, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beta/v0.48 Base branch: beta/v0.48 e2e Product: e2e type:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant