-
Notifications
You must be signed in to change notification settings - Fork 682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(autoware_carla_interface): resolve init file error and colcon marker warning #9115
fix(autoware_carla_interface): resolve init file error and colcon marker warning #9115
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9115 +/- ##
=======================================
Coverage 27.50% 27.50%
=======================================
Files 1303 1303
Lines 101046 101046
Branches 39180 39180
=======================================
Hits 27794 27794
Misses 70544 70544
Partials 2708 2708
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…dules directories - Added __init__.py to autoware_carla_interface to ensure it is treated as a Python package. - Added __init__.py to the modules directory for proper subpackage handling. Signed-off-by: Jesus Armando Anaya <jesus@armandoanaya.com>
…er warning - Renamed the resource file to `autoware_carla_interface` as required for ROS 2 package indexing. - Updated `setup.py` to include the correct marker file path in `data_files`, resolving the colcon warning about missing explicit markers in the ament resource index. Signed-off-by: Jesus Armando Anaya <jesus@armandoanaya.com>
b336d87
to
3a8aedb
Compare
d3b7386
to
3a8aedb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this fix !
Description
This PR resolves the colcon warning and errors in the
autoware_carla_interface
package:autoware_carla_interface
for proper ROS 2 package indexing.__init__.py
files for Python package recognition, which previously caused the following error:package init file 'src/autoware_carla_interface/__init__.py' not found (or not a regular file)
.WARNING:colcon.colcon_ros.task.ament_python.build: Package 'autoware_carla_interface' doesn't explicitly install a marker in the package index
.Related links
Parent Issue:
How was this PR tested?
Build and colcon test for the
autoware_carla_interface
module, verifying that the marker warning and colcon errors are resolved.Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.