Skip to content

fix(autoware_tensorrt_yolox): add missing cstdint include and ament_index_cpp test dependency#12400

Merged
xmfcx merged 1 commit intoautowarefoundation:mainfrom
xmfcx:fix/tensorrt-yolox-missing-includes
Mar 31, 2026
Merged

fix(autoware_tensorrt_yolox): add missing cstdint include and ament_index_cpp test dependency#12400
xmfcx merged 1 commit intoautowarefoundation:mainfrom
xmfcx:fix/tensorrt-yolox-missing-includes

Conversation

@xmfcx
Copy link
Copy Markdown
Contributor

@xmfcx xmfcx commented Mar 31, 2026

Why

autoware_tensorrt_yolox fails to compile on Ubuntu 24.04 / ROS 2 Jazzy because label.hpp uses uint32_t without including <cstdint>, and the test depends on ament_index_cpp which is not declared in package.xml.


Test plan

  • colcon build --packages-select autoware_tensorrt_yolox compiles without errors

…ndex_cpp test dependency

label.hpp uses uint32_t without including <cstdint>, causing build
failure on Ubuntu 24.04 / ROS 2 Jazzy. test_label.cpp uses
ament_index_cpp but it was not declared as a test dependency.

Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
@xmfcx xmfcx self-assigned this Mar 31, 2026
@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Mar 31, 2026
@xmfcx xmfcx requested a review from mitsudome-r March 31, 2026 13:55
@github-actions
Copy link
Copy Markdown

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@xmfcx xmfcx added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Mar 31, 2026
@xmfcx xmfcx merged commit eba1b03 into autowarefoundation:main Mar 31, 2026
45 of 46 checks passed
@github-project-automation github-project-automation bot moved this from To Triage to Done in Software Working Group Mar 31, 2026
@xmfcx xmfcx deleted the fix/tensorrt-yolox-missing-includes branch March 31, 2026 14:01
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 18.88%. Comparing base (fe12efd) to head (ccef1d7).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12400      +/-   ##
==========================================
+ Coverage   18.48%   18.88%   +0.40%     
==========================================
  Files        1858     1897      +39     
  Lines      129162   130891    +1729     
  Branches    45965    48378    +2413     
==========================================
+ Hits        23872    24719     +847     
- Misses      85485    86936    +1451     
+ Partials    19805    19236     -569     
Flag Coverage Δ *Carryforward flag
daily 21.00% <ø> (ø) Carriedforward from fe12efd
daily-cuda 18.56% <ø> (ø) Carriedforward from fe12efd
daily-humble-amd64-cuda 18.44% <ø> (ø) Carriedforward from fe12efd
daily-humble-amd64-nocuda 20.96% <ø> (ø) Carriedforward from fe12efd
differential 2.27% <ø> (?)
differential-cuda 1.99% <ø> (?)
total-cuda 18.56% <ø> (ø) Carriedforward from fe12efd
total-humble-cuda 18.44% <ø> (ø) Carriedforward from fe12efd

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

PanConChicharron pushed a commit to PanConChicharron/autoware.universe that referenced this pull request Apr 6, 2026
…ndex_cpp test dependency (autowarefoundation#12400)

label.hpp uses uint32_t without including <cstdint>, causing build
failure on Ubuntu 24.04 / ROS 2 Jazzy. test_label.cpp uses
ament_index_cpp but it was not declared as a test dependency.

Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:perception Advanced sensor data processing and environment understanding. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

fix(autoware_tensorrt_yolox): missing cstdint include and ament_index_cpp test dependency

2 participants