Skip to content
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

Improve documentation for TransformStamped.msg #113

Merged
merged 2 commits into from
May 19, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions geometry_msgs/msg/TransformStamped.msg
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# This expresses a transform from coordinate frame header.frame_id
# to the coordinate frame child_frame_id
# to the coordinate frame child_frame_id at the time of header.stamp
#
# This message is mostly used by the
# <a href="http://www.ros.org/wiki/tf">tf</a> package.
# <a href="http://www.ros.org/wiki/tf2">tf2</a> package.
Copy link
Contributor

Choose a reason for hiding this comment

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

@tfoote hmm are we reusing the ROS wiki for ROS 2?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point updated to use index.ros.org

# See its documentation for more information.
#
# The child_frame_id is necessary in addition to the frame_id
# in the Header to communication the full reference for the transform
Copy link
Contributor

Choose a reason for hiding this comment

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

@tfoote

Suggested change
# in the Header to communication the full reference for the transform
# in the Header to communicate the full reference for the transform

Copy link
Contributor

Choose a reason for hiding this comment

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

I do wonder if this paragraph isn't just redundant with the definition of transform and the first paragraph.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is somewhat redundant but people asked for clarification in the API review so I figured another sentence could help.

# in a self contained message.

std_msgs/Header header
string child_frame_id # the frame id of the child frame
Expand Down