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

[Servo] Remove soon-to-be obsolete functions #2175

Merged
merged 3 commits into from May 16, 2023

Conversation

ibrahiminfinite
Copy link
Contributor

@ibrahiminfinite ibrahiminfinite commented May 13, 2023

Description

This PR removes the following functionalities and related code from ServoCalcs as they will be made obsolete by better support in IK solver through cost functions.

  • Drift Dimensions
  • Control Dimensions

Checklist

@codecov
Copy link

codecov bot commented May 13, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.07 🎉

Comparison is base (79a2fa5) 50.47% compared to head (b0bb725) 50.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2175      +/-   ##
==========================================
+ Coverage   50.47%   50.54%   +0.07%     
==========================================
  Files         387      387              
  Lines       31790    31719      -71     
==========================================
- Hits        16043    16028      -15     
+ Misses      15747    15691      -56     
Impacted Files Coverage Δ
moveit_ros/moveit_servo/src/servo_calcs.cpp 70.27% <ø> (+5.89%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@sea-bass sea-bass left a comment

Choose a reason for hiding this comment

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

LGTM

@sjahr sjahr requested a review from AndyZe May 15, 2023 07:32
Copy link
Contributor

@AndyZe AndyZe left a comment

Choose a reason for hiding this comment

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

Don't forget to clean this up too:

test/servo_launch_test_common.hpp:#include <moveit_msgs/srv/change_drift_dimensions.hpp>
test/servo_launch_test_common.hpp:#include <moveit_msgs/srv/change_control_dimensions.hpp>
test/servo_launch_test_common.hpp:        resolveServoTopicName("~/change_control_dimensions"));
test/servo_launch_test_common.hpp:        resolveServoTopicName("~/change_drift_dimensions"));

@AndyZe AndyZe changed the title [Servo] Remove obsolete functions [Servo] Remove soon-to-be obsolete functions May 15, 2023
@ibrahiminfinite
Copy link
Contributor Author

@sjahr I think this can be merged now

@sjahr sjahr merged commit 75a7d00 into moveit:main May 16, 2023
8 checks passed
@ibrahiminfinite ibrahiminfinite deleted the remove_unused branch June 3, 2023 14:15
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.

None yet

4 participants