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

Bugfix/duration to msg precision #876

Merged
merged 6 commits into from Jan 10, 2022
Merged

Bugfix/duration to msg precision #876

merged 6 commits into from Jan 10, 2022

Conversation

suurjaak
Copy link
Contributor

@suurjaak suurjaak commented Jan 7, 2022

Fixes #875.

rclpy/rclpy/duration.py Outdated Show resolved Hide resolved
rclpy/rclpy/duration.py Outdated Show resolved Hide resolved
Copy link
Contributor

@iuhilnehc-ynos iuhilnehc-ynos left a comment

Choose a reason for hiding this comment

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

LGTM with the rclpy.constants.S_TO_NS

rclpy/docs/source/api.rst Outdated Show resolved Hide resolved
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.

Looks good to me with green CI.

@clalancette
Copy link
Contributor

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

Signed-off-by: Erki Suurjaak <erki@lap.ee>
Signed-off-by: Erki Suurjaak <erki@lap.ee>
Signed-off-by: Erki Suurjaak <erki@lap.ee>
Signed-off-by: Erki Suurjaak <erki@lap.ee>
Signed-off-by: Erki Suurjaak <erki@lap.ee>
Signed-off-by: Erki Suurjaak <erki@lap.ee>
@clalancette
Copy link
Contributor

FYI, I rebased and force-pushed this onto the latest so that I can get CI to run.

@clalancette
Copy link
Contributor

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Collaborator

@Mergifyio backport galactic

@fujitatomoya
Copy link
Collaborator

@Mergifyio backport foxy

mergify bot pushed a commit that referenced this pull request Mar 24, 2022
* Fix rclpy.duration.Duration.to_msg() losing precision

Signed-off-by: Erki Suurjaak <erki@lap.ee>
(cherry picked from commit 289d7d3)
@mergify
Copy link

mergify bot commented Mar 24, 2022

backport galactic

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Mar 24, 2022
* Fix rclpy.duration.Duration.to_msg() losing precision

Signed-off-by: Erki Suurjaak <erki@lap.ee>
(cherry picked from commit 289d7d3)
@mergify
Copy link

mergify bot commented Mar 24, 2022

backport foxy

✅ Backports have been created

sloretz pushed a commit that referenced this pull request Jun 10, 2022
* Fix rclpy.duration.Duration.to_msg() losing precision

Signed-off-by: Erki Suurjaak <erki@lap.ee>
(cherry picked from commit 289d7d3)

Co-authored-by: Erki Suurjaak <erki@lap.ee>
sloretz pushed a commit that referenced this pull request Jun 10, 2022
* Fix rclpy.duration.Duration.to_msg() losing precision

Signed-off-by: Erki Suurjaak <erki@lap.ee>
(cherry picked from commit 289d7d3)

Co-authored-by: Erki Suurjaak <erki@lap.ee>
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.

rclpy.duration.Duration.to_msg() loses precision
6 participants