Skip to content

docs: add unit and range documentation to message fields#107

Merged
youtalk merged 3 commits intomainfrom
docs/add-unit-range-documentation
Dec 17, 2025
Merged

docs: add unit and range documentation to message fields#107
youtalk merged 3 commits intomainfrom
docs/add-unit-range-documentation

Conversation

@youtalk
Copy link
Copy Markdown
Member

@youtalk youtalk commented Dec 16, 2025

Description

Add inline comments to message fields to clarify units, ranges, and valid values.

Changes:

  • PedalsCommand.msg: Document throttle/brake range (0.0-1.0 normalized)
  • SteeringCommand.msg: Document steering_tire_angle [rad] and velocity [rad/s]
  • VelocityFactor.msg: Document distance [m] and add field descriptions

Related to #106

How was this PR tested?

Message definition changes are documentation-only (comments). No functional changes.

Notes for reviewers

None.

Effects on system behavior

None.

Add inline comments to clarify units and valid ranges for:
- PedalsCommand.msg: throttle/brake range (0.0-1.0)
- SteeringCommand.msg: steering_tire_angle [rad], velocity [rad/s]
- VelocityFactor.msg: distance [m], field descriptions

Related to #106
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 16, 2025

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@youtalk youtalk self-assigned this Dec 16, 2025
@youtalk youtalk marked this pull request as ready for review December 16, 2025 07:50
Copilot AI review requested due to automatic review settings December 16, 2025 07:50
Copy link
Copy Markdown

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

This PR adds inline documentation to message fields across three ROS message definitions to improve clarity on units, valid ranges, and field purposes.

  • Added unit and range specifications to command and planning message fields
  • Enhanced field descriptions with contextual information and references
  • Improved constant documentation with behavior descriptions

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
autoware_adapi_v1_msgs/planning/msg/VelocityFactor.msg Added comprehensive field documentation including units [m] for distance, descriptions for each field, and clarified status constants
autoware_adapi_v1_msgs/manual/msg/SteeringCommand.msg Documented steering angle unit [rad], angular velocity unit [rad/s], and direction convention (positive=left, negative=right)
autoware_adapi_v1_msgs/manual/msg/PedalsCommand.msg Documented normalized range (0.0-1.0) for throttle and brake pedal positions

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

Comment thread autoware_adapi_v1_msgs/planning/msg/VelocityFactor.msg Outdated
Comment thread autoware_adapi_v1_msgs/planning/msg/VelocityFactor.msg Outdated
@youtalk youtalk requested a review from isamu-takagi December 16, 2025 09:09
@youtalk youtalk enabled auto-merge (squash) December 16, 2025 09:09
Copy link
Copy Markdown
Collaborator

@isamu-takagi isamu-takagi left a comment

Choose a reason for hiding this comment

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

LGTM

@youtalk youtalk merged commit 4b7f543 into main Dec 17, 2025
11 checks passed
@youtalk youtalk deleted the docs/add-unit-range-documentation branch December 17, 2025 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants