Skip to content

doc: Added warning to not instantiate Clock directly with RCL_ROS_TIME (backport #2768)#2770

Merged
christophebedard merged 1 commit intohumblefrom
mergify/bp/humble/pr-2768
Mar 15, 2025
Merged

doc: Added warning to not instantiate Clock directly with RCL_ROS_TIME (backport #2768)#2770
christophebedard merged 1 commit intohumblefrom
mergify/bp/humble/pr-2768

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Mar 14, 2025

If one instantiates a clock with RCL_ROS_TIME one needs to make sure, to attach a valid time source, or the clock will fall back to system time, which is highly unexpected for users of the clock.


This is an automatic backport of pull request #2768 done by Mergify.

#2768)

Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
Signed-off-by: Janosch Machowinski <jmachowinski@users.noreply.github.com>
Co-authored-by: Janosch Machowinski <J.Machowinski@cellumation.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
(cherry picked from commit 30e61c9)
@fujitatomoya
Copy link
Copy Markdown
Collaborator

Pulls: #2770
Gist: https://gist.githubusercontent.com/fujitatomoya/53d818d16b7b9af94a72be48fc84d30f/raw/55f3fd86ddefe90d6ccb1f708db4d7219450b712/ros2.repos
BUILD args: --packages-up-to rclcpp
TEST args: --packages-select rclcpp
ROS Distro: humble
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15398

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

@christophebedard christophebedard merged commit d3e6254 into humble Mar 15, 2025
2 checks passed
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.

3 participants