-
Notifications
You must be signed in to change notification settings - Fork 673
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
feat: apply autoware_
prefix for default_ad_api_helpers
#9965
base: main
Are you sure you want to change the base?
feat: apply autoware_
prefix for default_ad_api_helpers
#9965
Conversation
Note: * In this commit, I did not organize a folder structure. The folder structure will be organized in the next some commits. * The changes will follow the Autoware's guideline as below: - https://autowarefoundation.github.io/autoware-documentation/main/contributing/coding-guidelines/ros-nodes/directory-structure/#package-folder Signed-off-by: Junya Sasaki <[email protected]>
Signed-off-by: Junya Sasaki <[email protected]>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
You have added
Let's rename them as well since those are the ROS packages. The final structure should look like the following:
|
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.
- Do not change the copyright publication year.
- Executable and node name do not need "autoware" prefix.
Also, can you please replace "ad_api" with "adapi"? |
…t-ad-api-helpers Signed-off-by: Junya Sasaki <[email protected]>
Signed-off-by: Junya Sasaki <[email protected]>
Signed-off-by: Junya Sasaki <[email protected]>
Signed-off-by: Junya Sasaki <[email protected]>
* `ad_api_adaptors` => `autoware_ad_api_adaptors` * `ad_api_visualizers` => `autoware_ad_api_visualizers` * `automatic_pose_initializer` => `autoware_automatic_pose_initializer` Signed-off-by: Junya Sasaki <[email protected]>
@isamu-takagi Thank you for your comment. I'm now replacing the
|
…lpers' of github.com:sasakisasaki/autoware.universe into feat-apply-autoware-prefix-for-system-default-ad-api-helpers Signed-off-by: Junya Sasaki <[email protected]>
EXECUTABLE autoware_initial_pose_adaptor_node | ||
EXECUTOR MultiThreadedExecutor | ||
) | ||
|
||
rclcpp_components_register_node(${PROJECT_NAME} | ||
PLUGIN "ad_api_adaptors::RoutingAdaptor" | ||
EXECUTABLE routing_adaptor_node | ||
PLUGIN "autoware::ad_api_adaptors::RoutingAdaptor" | ||
EXECUTABLE autoware_routing_adaptor_node |
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.
As discussed in the internal slack, please do not change the names of the executables.
@sasakisasaki Thank you. Can you replace all parts such as directory names, file names, package names, etc.? |
Signed-off-by: Junya Sasaki <[email protected]>
…lpers' of github.com:sasakisasaki/autoware.universe into feat-apply-autoware-prefix-for-system-default-ad-api-helpers Signed-off-by: Junya Sasaki <[email protected]>
Signed-off-by: Takagi, Isamu <[email protected]>
Signed-off-by: Takagi, Isamu <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9965 +/- ##
==========================================
- Coverage 29.67% 29.65% -0.02%
==========================================
Files 1433 1439 +6
Lines 108152 108391 +239
Branches 42895 42907 +12
==========================================
+ Hits 32090 32147 +57
- Misses 72953 73127 +174
- Partials 3109 3117 +8
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Takagi, Isamu <[email protected]>
Description
This pull request addresses the issue of inconsistent naming by adding the
autoware_
prefix to relevant components. This change ensures uniformity across the codebase and aligns with the project's naming conventions.Related Links
How was this PR tested?
Currently, we only verified that the build succeeds. Further checks will be performed by using the updated module. This PR will be ready for review after finishing all the necessary checks/tests.
Directory Name
autoware_
as a prefix to the directory name.packages.xml
autoware_
to thename
element.CMakeLists.txt
project
name toautoware_***
.autoware::
toPLUGIN
.Header Files (.hpp)
#ifndef
guards withAUTOWARE__
.autoware::
tonamespace
.Source Files (.cpp)
autoware::
insideRCLCPP_COMPONENTS_REGISTER_NODE
.Launch Files
autoware_
beforefind-pkg-share
.node pkg="<pkgname>"
toautoware_<pkgname>
.Include
autoware
folder as necessary and update include statements accordingly.Verification Points
find-pkg-share
in autowaresensor_launch
as seen ingnss_poser
Notes for Reviewers
None.
Interface Changes
None.
Effects on System Behavior
All the developers who were using
default_ad_api_helpers
needs to modify their code. This is maybe kind of non quick-win task.