Skip to content

feat(docs): update command docs#1007

Draft
TetsuKawa wants to merge 6 commits intofeat/change-bridge-meaning-node-info-agnocastfrom
feat/update-command-docs
Draft

feat(docs): update command docs#1007
TetsuKawa wants to merge 6 commits intofeat/change-bridge-meaning-node-info-agnocastfrom
feat/update-command-docs

Conversation

@TetsuKawa
Copy link
Contributor

Description

Updated the command extension doc file following PR:

Related links

How was this PR tested?

  • Autoware (required)
  • bash scripts/e2e_test_1to1_with_ros2sub (required)
  • bash scripts/e2e_test_2to2 (required)
  • kunit tests (required when modifying the kernel module)
  • sample application

Notes for reviewers

Version Update Label (Required)

Please add exactly one of the following labels to this PR:

  • need-major-update: User API breaking changes
  • need-minor-update: Internal API breaking changes (heaphook/kmod/agnocastlib compatibility)
  • need-patch-update: Bug fixes and other changes

Important notes:

  • If you need need-major-update or need-minor-update, please include this in the PR title as well.
    • Example: fix(foo)[needs major version update]: bar or feat(baz)[needs minor version update]: qux
  • After receiving approval from reviewers, add the run-build-test label. The PR can only be merged after the build tests pass.

See CONTRIBUTING.md for detailed versioning rules.

Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
@TetsuKawa TetsuKawa self-assigned this Feb 6, 2026
@TetsuKawa TetsuKawa added the need-patch-update Bug fixes and other changes - requires PATCH version update label Feb 6, 2026
Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
@TetsuKawa TetsuKawa marked this pull request as ready for review February 9, 2026 06:55
Copilot AI review requested due to automatic review settings February 9, 2026 06:55
@TetsuKawa TetsuKawa requested a review from kobayu858 as a code owner February 9, 2026 06:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the ROS 2 command extension documentation to reflect recent changes, especially around *_agnocast variants and bridging visibility.

Changes:

  • Added/expanded documentation for ros2 node list_agnocast and its debug output.
  • Documented how (Agnocast enabled, bridged) is displayed for topics and nodes, including a Pub/Sub matrix.
  • Adjusted section structure (e.g., “Debug Mode” subsections) for topic/node commands.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 43 to 46
| pub | sub | bridge | display |
| :--- | :--- | :--- | :--- |
| rclcpp::publisher | rclcpp::subscription | off / standard / performance | /my_topic |
| agnocast::publisher | rclcpp::subscription | off | /my_topic (WARN: Agnocast and ROS2 endpoints exist but bridge is not active) |
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The table uses || at the start of each row, which is not standard Markdown table syntax and may render incorrectly (extra empty column or broken table) depending on the renderer. Use single leading/trailing pipes with a consistent column count, e.g. | pub | sub | bridge | display | and | --- | --- | --- | --- |.

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That point is incorrect.

/topic_name3
```

This does not necessarily mean that a bridge process is currently running. If there is only one Agnocast publisher and no ROS 2 subscriber, the topic will be displayed simply as "(Agnocast enabled)" rather than including the "bridged" suffix. The "bridged" status indicates that communication has been successfully established between Agnocast and ROS 2.
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These sentences define (Agnocast enabled, bridged) as indicating successful communication, but later state it can still be displayed even when communication is not established (type mismatch). To avoid contradiction, consider redefining bridged more precisely (e.g., ‘bridge endpoints detected and bridge mode active’) and keep the note that type mismatches prevent actual data exchange even though the UI shows bridged.

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A type mismatch is considered a mistake by the application developer, and it can be detected using the ros2 topic info_agnocast command. As you pointed out, labeling it as "bridged" may lead users to believe that communication is functioning normally. This section is intended to explain that specific limitation.


#### Notes

- If an Agnocast topic and a ROS 2 topic share the same name but have different message types, the status will still be displayed as (Agnocast enabled, bridged). However, in this case, the actual communication will not be established.
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These sentences define (Agnocast enabled, bridged) as indicating successful communication, but later state it can still be displayed even when communication is not established (type mismatch). To avoid contradiction, consider redefining bridged more precisely (e.g., ‘bridge endpoints detected and bridge mode active’) and keep the note that type mismatches prevent actual data exchange even though the UI shows bridged.

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A type mismatch is considered a mistake by the application developer, and it can be detected using the ros2 topic info_agnocast command. As you pointed out, labeling it as "bridged" may lead users to believe that communication is functioning normally. This section is intended to explain that specific limitation.

@Koichi98 Koichi98 changed the base branch from main to feat/change-bridge-meaning-node-info-agnocast February 10, 2026 05:00
@Koichi98 Koichi98 marked this pull request as draft February 10, 2026 05:01
@Koichi98
Copy link
Contributor

@TetsuKawa
I will later open it once #1005 is merged.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

need-patch-update Bug fixes and other changes - requires PATCH version update next-release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants