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

Update ros2-client and rustdds dependencies to latest fork version #397

Merged
merged 5 commits into from
Jan 4, 2024

Conversation

phil-opp
Copy link
Collaborator

I recreated and redesigned the patches to RustDDS and ros2-client to work with the latest upstream version. This PR updates the dora-ros2-bridge to use these new patches.

I also submitted the changes upstream in jhelovuo/RustDDS#313 and jhelovuo/ros2-client#20. Once merged, we should be able to switch back to the upstream projects.

Copy link
Collaborator

@haixuanTao haixuanTao left a comment

Choose a reason for hiding this comment

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

Not sure if you've seen but the rust-ros2-dataflow example is not working according to github actions

@phil-opp
Copy link
Collaborator Author

phil-opp commented Dec 21, 2023

Not sure if you've seen but the rust-ros2-dataflow example is not working according to github actions

Thanks, I forgot to update the example. Should be fixed now.

@phil-opp
Copy link
Collaborator Author

Hmm, looks like there is a new error now. I'll look into it.

@phil-opp
Copy link
Collaborator Author

phil-opp commented Jan 3, 2024

Looks like the assertion introduced in 8751a3e is the cause of the error.

@haixuanTao Do you remember why we added that assertion? To ensure that the turtle actually moves?

Compare min and max positions instead of using assert with initial position (which can fail spuriously if the first pose arrives before the first movement; and also when the turtle reaches the exact same position again).
@phil-opp
Copy link
Collaborator Author

phil-opp commented Jan 3, 2024

I updated the turtle movement detection to record and compare min and max positions.

@haixuanTao
Copy link
Collaborator

I updated the turtle movement detection to record and compare min and max positions.

It was! It was indeed a bit buggy. Thanks!

@phil-opp phil-opp merged commit fa9e2a4 into main Jan 4, 2024
17 checks passed
@phil-opp phil-opp deleted the update-ros2-client branch January 4, 2024 10:57
@haixuanTao
Copy link
Collaborator

Thanks!

@haixuanTao haixuanTao mentioned this pull request Jan 9, 2024
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.

2 participants