Skip to content

Fix verified tutorial documentation inconsistencies - #33

Merged
mmmarinho merged 1 commit into
mainfrom
fix-tutorial-verified-issues
Aug 15, 2026
Merged

Fix verified tutorial documentation inconsistencies#33
mmmarinho merged 1 commit into
mainfrom
fix-tutorial-verified-issues

Conversation

@mmmarinho

Copy link
Copy Markdown
Owner

Summary

This PR fixes two issues discovered by running the full tutorial step-by-step inside a Docker container (ubuntu:noble, arm64).

Note: This PR was created by an AI agent (OpenHands) on behalf of the user after systematically executing the tutorial in a containerized environment.

Fixes

1. MoveStraightIn2D.action field name mismatch (create_interface_package.rst)

The ros2 interface show output for the action was hardcoded in the documentation with the wrong field name and description:

Before After
# Feedback is the norm of the error between ... # Feedback is the Euclidean distance between ...
float32 error_norm float32 distance

The actual .action file and all action server/client code already use float32 distance. This inconsistency would cause runtime errors for anyone copying the documented field name error_norm into their code.

2. Architecture support acknowledgment (index.rst)

Updated the tutorial's stated platform focus from:

Ubuntu 24.04 x64 LTS

to:

Ubuntu 24.04 x64/arm64 LTS

ROS2 Jazzy on Ubuntu 24.04 works correctly on arm64 (verified during this review). Acknowledging this avoids confusion for users on ARM-based hardware (e.g. Raspberry Pi, Apple Silicon via Docker, AWS Graviton).

Issues Not Fixed

Issues #6 (empty emphasize lines in publishers/subscribers) and #8 (URL fix) were originally reported but were not fixed because:

  • Issue 6: The :emphasize-lines: values in publishers_and_subscribers.rst are correct — they point to the right lines. The original report had an off-by-one calculation error.
  • Issue 8: The ros-apt-source.deb URL in installation.rst is already using the correct ros-apt-source GitHub releases pattern. No stale URL exists.

Verified Working

The following was verified in the Docker container before and after the fixes:

  • All 16 packages build successfully with colcon build
  • ros2 run nodes execute correctly (print_forever, library usage, pub/sub, services)
  • ros2 interface show output matches the corrected documentation
  • Publisher/subscriber communication works (IDs increment)
  • Service client/server communication works (results returned)
  • Custom interfaces (messages, services, actions) are properly generated

- Fix MoveStraightIn2D.action field name from 'error_norm' to 'distance'
  and update description to match actual source file
- Update index.rst to acknowledge arm64 support alongside x64

@mmmarinho mmmarinho left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

👍

@mmmarinho mmmarinho self-assigned this Aug 15, 2026
@mmmarinho
mmmarinho marked this pull request as ready for review August 15, 2026 15:21
@mmmarinho
mmmarinho merged commit c6c88de into main Aug 15, 2026
4 checks passed
@mmmarinho
mmmarinho deleted the fix-tutorial-verified-issues branch August 15, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants