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

Remove deprecations: tock #648

Merged
merged 5 commits into from
Dec 4, 2024
Merged

Remove deprecations: tock #648

merged 5 commits into from
Dec 4, 2024

Conversation

caguero
Copy link
Contributor

@caguero caguero commented Dec 2, 2024

🦟 Bug fix

Perform the tock of the tick-tock cycle and remove / move deprecated code.

Summary

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Carlos Agüero <[email protected]>
@caguero caguero requested a review from jennuine as a code owner December 2, 2024 18:22
Signed-off-by: Carlos Agüero <[email protected]>
@caguero
Copy link
Contributor Author

caguero commented Dec 2, 2024

CI isn't happy, I'm looking at it...

@azeey azeey self-requested a review December 2, 2024 19:52
Comment on lines 182 to 198
// Follow
result = false;
executed = node.Request("/gui/follow", req, timeout, rep, result);
EXPECT_TRUE(executed);
EXPECT_TRUE(result);
EXPECT_TRUE(rep.data());

msgs::Vector3d reqOffset;
reqOffset.set_x(1.0);
reqOffset.set_y(1.0);
reqOffset.set_z(1.0);
result = false;
executed = node.Request("/gui/follow/offset", reqOffset, timeout, rep,
result);
EXPECT_TRUE(executed);
EXPECT_TRUE(result);
EXPECT_TRUE(rep.data());
Copy link
Contributor

@jennuine jennuine Dec 2, 2024

Choose a reason for hiding this comment

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

Instead of removing, we should update the test to use /gui/track. I believe the test is failing because we aren't requesting the camera to track the object.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the suggestion, fixed in 5604930.

Copy link
Contributor

@jennuine jennuine left a comment

Choose a reason for hiding this comment

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

Thanks Carlos! Do you mind to add this deprecation to https://github.com/gazebosim/gz-gui/blob/main/Migration.md please? Otherwise LGTM.

Signed-off-by: Carlos Agüero <[email protected]>
@caguero
Copy link
Contributor Author

caguero commented Dec 4, 2024

2c7ef5e

Good call. Added in 2c7ef5e.

@caguero caguero merged commit 42f810f into main Dec 4, 2024
9 checks passed
@caguero caguero deleted the caguero/10_deprecations branch December 4, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants