Skip to content

Remove the unused joy dependency from moveit_servo - #4006

Open
gordon-n-stevenson wants to merge 1 commit into
moveit:mainfrom
gordon-n-stevenson:remove-unused-joy-depend
Open

gordon-n-stevenson wants to merge 1 commit into
moveit:mainfrom
gordon-n-stevenson:remove-unused-joy-depend

Conversation

@gordon-n-stevenson

@gordon-n-stevenson gordon-n-stevenson commented Nov 28, 2026 •

Copy link
Copy Markdown

[written by AI]

Description

Removes <exec_depend>joy</exec_depend> from moveit_servo. Part of #3994; this is the piece that needs nothing moved.

Nothing in moveit_servo uses joy. The only user was src/teleop_demo/joystick_servo_example.cpp, which #2224 deleted in August 2023. The dependency stayed in package.xml. On main the string joy appears in the package only in that line (the three other matches are the word "joystick" in config comments).

With the line gone, installing moveit_servo no longer pulls in joy and, through it, SDL. moveit2_tutorials declares its own <exec_depend>joy</exec_depend>, so it does not rely on this one. A downstream package that uses joy and got it only through moveit_servo needs to declare it.

main only. On humble the example launch file still loads joy::Joy, so this should not be backported there.

Checked: grep over moveit_ros/moveit_servo, and pre-commit run --all-files passes. Manifest change only; I did not build or run the tests locally, so this relies on CI.

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the package’s declared runtime requirements. No user-facing feature changes are indicated in this release. The change affects dependency metadata rather than app functionality; consult the package’s installation requirements when setting up or updating an environment.

Nothing in moveit_servo uses joy. Its only user was
joystick_servo_example.cpp, which the servo refactoring (moveit#2224) removed
while leaving the exec_depend. With it gone, an install of moveit_servo
no longer pulls in joy and SDL.

Part of moveit#3994.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The moveit_servo package no longer declares joy as an execution dependency.

Changes: moveit_servo manifest

Layer / File(s) Summary
Remove joy execution dependency
moveit_ros/moveit_servo/package.xml
The package manifest no longer declares joy as an execution dependency.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related issues

  • moveit/moveit2#3994 — This change removes the joy dependency described in the issue. It does not remove the moveit_ros_visualization dependency.

Suggested reviewers: adampettinger

Merge Risk: Minimal · up to aec76

This removes an unused dependency so that installing moveit_servo no longer pulls in joy and SDL. No remaining use of joy was found in moveit_servo or elsewhere in the repository. Downstream packages that relied on moveit_servo to provide joy will need to declare it themselves. The change is low risk and ready to merge once CI passes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Remove the unused joy dependency from moveit_servo" matches the single change in the changeset, which removes the joy execution dependency from moveit_servo's package.xml. The objectives co…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Remove the unused joy dependency from moveit_servo" matches the single change in the changeset, which removes the joy execution dependency from moveit_servo's package.xml. The objectives confirm that the only user of joy was joystick_servo_example.cpp, removed earlier, so the dependency is stale. The title is specific and concise and states the primary change.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 5399d29 and aec762a.

Files selected for processing: 1

  • moveit_ros/moveit_servo/package.xml
Files with no reviewable changes: 1

  • moveit_ros/moveit_servo/package.xml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@mergify

mergify Bot commented Nov 28, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request once it meets the queue conditions

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.

1 participant