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

Document tf2::TimePoint vs rclcpp::Time #3079

Merged
merged 2 commits into from
Oct 5, 2022

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Oct 5, 2022

Part of ros2/rviz#894

This documents that tf2::TimePoint is different from rclcpp::Time, and explains why tf2::TimePointZero was used.

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz sloretz self-assigned this Oct 5, 2022
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

One thing to change, then I think this will be good to go.

(oh, CI is also unhappy about trailing whitespace somewhere)

Comment on lines 50 to 51
The ``tf2`` package has it's own time type ``tf2::TimePoint``.
This is different from ``rclcpp::Time``.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The ``tf2`` package has it's own time type ``tf2::TimePoint``.
This is different from ``rclcpp::Time``.
The ``tf2`` package has its own time type ``tf2::TimePoint``, which is different from ``rclcpp::Time``.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Combined sentences and hopefully removed trailing whitespace in 3b3578c

@clalancette clalancette added the backport-all backport at reviewers discretion; from rolling to all versions label Oct 5, 2022
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz sloretz requested a review from clalancette October 5, 2022 17:31
@clalancette clalancette merged commit 3d8b551 into ros2:rolling Oct 5, 2022
mergify bot pushed a commit that referenced this pull request Oct 5, 2022
* Document tf2::TimePoint vs rclcpp::Time

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 3d8b551)
mergify bot pushed a commit that referenced this pull request Oct 5, 2022
* Document tf2::TimePoint vs rclcpp::Time

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 3d8b551)
mergify bot pushed a commit that referenced this pull request Oct 5, 2022
* Document tf2::TimePoint vs rclcpp::Time

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 3d8b551)
clalancette pushed a commit that referenced this pull request Oct 5, 2022
* Document tf2::TimePoint vs rclcpp::Time

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 3d8b551)

Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
clalancette pushed a commit that referenced this pull request Oct 5, 2022
* Document tf2::TimePoint vs rclcpp::Time

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 3d8b551)

Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
clalancette pushed a commit that referenced this pull request Oct 5, 2022
* Document tf2::TimePoint vs rclcpp::Time

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 3d8b551)

Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz sloretz deleted the sloretz__tf2__time_zero branch October 5, 2022 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-all backport at reviewers discretion; from rolling to all versions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants