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

Fix the time_jump_callback signature. #711

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

clalancette
Copy link
Contributor

Because it accesses object data, the first argument must be 'self'.

This should fix #710

Because it accesses object data, the first argument
must be 'self'.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette
Copy link
Contributor Author

@ottojo it would be helpful if you could test this out and report on whether it fixes the issue for you.

@ottojo
Copy link

ottojo commented Oct 3, 2024

@ottojo it would be helpful if you could test this out and report on whether it fixes the issue for you.

this fixes the problem all the way to rqt-tf-tree in jazzy! now i get

[WARN] [1727982819.603705139] [tf2_buffer]: Detected jump back in time. Clearing tf buffer.

when without the fix rqt would crash, as expected.

thanks for the quick fix!

@clalancette
Copy link
Contributor Author

thanks for the quick fix!

That is all @sloretz looking into it: I just typed "self" in my editor :).

In any case, thanks for the quick test. I'll run CI on this, and assuming that is successful merge it and backport it to Jazzy.

@clalancette
Copy link
Contributor Author

Pulls: #711
Gist: https://gist.githubusercontent.com/clalancette/62b268b1728630fd52a7f87c87408a16/raw/8f6226d64d310487f277fc9ed6364e93ef2fa148/ros2.repos
BUILD args: --packages-above-and-dependencies tf2_ros_py
TEST args: --packages-above tf2_ros_py
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14655

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

@ahcorde ahcorde merged commit efc7845 into rolling Oct 4, 2024
2 checks passed
@ahcorde
Copy link
Contributor

ahcorde commented Oct 4, 2024

https://github.com/Mergifyio backport jazzy

@ahcorde ahcorde deleted the clalancette/fix-time-jump-callback branch October 4, 2024 07:52
Copy link
Contributor

mergify bot commented Oct 4, 2024

backport jazzy

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Oct 4, 2024
Because it accesses object data, the first argument
must be 'self'.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit efc7845)
ahcorde pushed a commit that referenced this pull request Oct 4, 2024
Because it accesses object data, the first argument
must be 'self'.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit efc7845)

Co-authored-by: Chris Lalancette <clalancette@gmail.com>
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.

time jump post_callback called with wrong number of arguments
4 participants