Repository navigation
feat(external_cmd_selector): apply agnocast_wrapper::Node to external_cmd_selector - #13013
Merged
kobayu858 merged 3 commits intoJul 28, 2026
Conversation
|
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
…_cmd_selector Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp> Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp>
kobayu858
force-pushed
the
apply_agnocast_external_cmd_selector
branch
from
July 16, 2026 12:18
81e57f4 to
fa22a4e
Compare
kobayu858
marked this pull request as ready for review
July 16, 2026 13:04
kobayu858
requested review from
TakaHoribe,
rej55,
satoshi-ota,
shmpwk,
taikitanaka3,
takayuki5168 and
tkimura4
as code owners
July 16, 2026 13:04
Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp>
Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp>
kobayu858
marked this pull request as draft
July 22, 2026 13:18
kobayu858
marked this pull request as ready for review
July 23, 2026 01:33
takayuki5168
approved these changes
Jul 28, 2026
|
Tick the box to add this pull request to the merge queue (same as
|
tier4-autoware-public-bot Bot
pushed a commit
to tier4/pilot_auto_control
that referenced
this pull request
Jul 28, 2026
…_cmd_selector (autowarefoundation/autoware_universe#13013) * feat(external_cmd_selector): apply agnocast_wrapper::Node to external_cmd_selector Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp> Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> --------- Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp>
TetsuKawa
pushed a commit
to TetsuKawa/autoware_universe
that referenced
this pull request
Aug 10, 2026
…_cmd_selector (autowarefoundation#13013) * feat(external_cmd_selector): apply agnocast_wrapper::Node to external_cmd_selector Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp> Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> --------- Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp> Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
TetsuKawa
pushed a commit
to TetsuKawa/autoware_universe
that referenced
this pull request
Sep 7, 2026
…_cmd_selector (autowarefoundation#13013) * feat(external_cmd_selector): apply agnocast_wrapper::Node to external_cmd_selector Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp> Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> --------- Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp> Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
TetsuKawa
pushed a commit
to TetsuKawa/autoware_universe
that referenced
this pull request
Sep 7, 2026
…_cmd_selector (autowarefoundation#13013) * feat(external_cmd_selector): apply agnocast_wrapper::Node to external_cmd_selector Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp> Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> --------- Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp>
TetsuKawa
pushed a commit
to TetsuKawa/autoware_universe
that referenced
this pull request
Sep 15, 2026
…_cmd_selector (autowarefoundation#13013) * feat(external_cmd_selector): apply agnocast_wrapper::Node to external_cmd_selector Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp> Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> --------- Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp>
kobayu858
added a commit
to tier4/autoware_universe
that referenced
this pull request
Sep 17, 2026
…_cmd_selector (autowarefoundation#13013) * feat(external_cmd_selector): apply agnocast_wrapper::Node to external_cmd_selector Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp> Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> * refactor: revert comment Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> --------- Signed-off-by: kobayu858 <yutaro.kobayashi.2@tier4.jp> Co-authored-by: Koichi Imai <koichi.imai.2@tier4.jp> (cherry picked from commit 228f7c6)
kobayu858
added a commit
to tier4/autoware_universe
that referenced
this pull request
Sep 17, 2026
…_pass/external-cmd-selector feat(external_cmd_selector): apply `agnocast_wrapper::Node` to `autoware_external_cmd_selector` (cherry-pick autowarefoundation#12887, autowarefoundation#13013)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Apply
agnocast_wrapper::Nodetoautoware_external_cmd_selector.Please read autowarefoundation/autoware#7007 for the context and review guidelines of
autoware_agnocast_wrapperadoption.Also, please refer to https://github.com/autowarefoundation/autoware_core/blob/main/common/autoware_agnocast_wrapper/docs/review_guide.md for the review guide. FYI: This node takes Method2 of the two integration methods.
AgnocastOnlyCallbackIsolatedExecutor:
When built and run with
ENABLE_AGNOCAST=1, the node runs on anAgnocastOnlyCallbackIsolatedExecutor(CIE), the standard executor foragnocast_wrapper::Node. Please check for potential race conditions only if the node meets all of the following:SingleThreadedExecutor.Nodes already running on
MultiThreadedExecutorare unaffected, since their callbacks already run concurrently.Related links
autoware::agnocast_wrapper::Nodeacross Autoware autoware#7007How was this PR tested?
colcon buildsucceeds with bothENABLE_AGNOCAST=1andENABLE_AGNOCAST=0.ENABLE_AGNOCAST=0andENABLE_AGNOCAST=1, sinceagnocast::Nodedoes not currently work inside a component container. The node's ownlaunch.pyalways launches standalone and self-contains theagnocast_env/LD_PRELOADwiring, so noautoware_launch-side change is required.ENABLE_AGNOCAST=0andENABLE_AGNOCAST=1with noprocess diedor similar failures, and the selector correctly relays the selected source (e.g. LOCAL) commands to itsselectedoutputs.Notes for reviewers
This node is always launched standalone; its
launch.pyself-contains the Agnocast environment setup, so no companionautoware_launchPR is needed.The service QoS call
AUTOWARE_DEFAULT_SERVICES_QOS_PROFILE()was replaced with the equivalentrclcpp::ServicesQoS()(and the now-unusedautoware_qos_utilsdependency was dropped), because the wrapper'screate_servicetakes anrclcpp::QoS; the QoS profile is unchanged.Interface changes
None.
Effects on system behavior
None when
ENABLE_AGNOCASTis not set or set to0on runtime. WhenENABLE_AGNOCAST=1, CPU time used in this node for message serialization/deserialization will be reduced.