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

Change filter coefficient to ROS param #2091

Merged
merged 14 commits into from
Apr 11, 2023

Conversation

ibrahiminfinite
Copy link
Contributor

@ibrahiminfinite ibrahiminfinite commented Apr 7, 2023

Description

This PR makes the Butterworth filter coefficient into a ROS param.

Fixes #2089

Checklist

@ibrahiminfinite ibrahiminfinite changed the title Ibrahim/param coeff Change filter coefficient to ROS param Apr 7, 2023
@codecov
Copy link

codecov bot commented Apr 7, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.08 🎉

Comparison is base (0cb508a) 50.84% compared to head (076bf81) 50.92%.

❗ Current head 076bf81 differs from pull request most recent head 84e6b84. Consider uploading reports for the commit 84e6b84 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2091      +/-   ##
==========================================
+ Coverage   50.84%   50.92%   +0.08%     
==========================================
  Files         391      391              
  Lines       32147    32129      -18     
==========================================
+ Hits        16343    16358      +15     
+ Misses      15804    15771      -33     
Impacted Files Coverage Δ
...oveit/online_signal_smoothing/butterworth_filter.h 100.00% <ø> (ø)
...online_signal_smoothing/src/butterworth_filter.cpp 71.43% <100.00%> (+1.62%) ⬆️

... and 6 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

Copy link
Contributor

@Abishalini Abishalini left a comment

Choose a reason for hiding this comment

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

I have one comment. Otherwise this PR looks good to me. Thanks!

@ibrahiminfinite
Copy link
Contributor Author

ibrahiminfinite commented Apr 10, 2023

This should be done now.
Accidentally pressed the merge instead of rebase.

moveit_core/CMakeLists.txt Outdated Show resolved Hide resolved
moveit_core/CMakeLists.txt Outdated Show resolved Hide resolved
moveit_core/online_signal_smoothing/CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Member

@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.

It works! Thanks for your patience with the review process.

@AndyZe AndyZe enabled auto-merge (squash) April 11, 2023 20:40
@AndyZe AndyZe merged commit c686bb8 into moveit:main Apr 11, 2023
@ibrahiminfinite
Copy link
Contributor Author

Happy to contribute!

andrey-pr added a commit to KanRobotics/moveit2 that referenced this pull request Apr 21, 2023
AndyZe added a commit that referenced this pull request May 8, 2023
* Added butterworth_filter_coeff parameter

* Added formating like in original PR #2091

* Update moveit_core/online_signal_smoothing/src/butterworth_filter.cpp

Co-authored-by: AndyZe <andyz@utexas.edu>

* Update moveit_core/online_signal_smoothing/include/moveit/online_signal_smoothing/butterworth_filter.h

Co-authored-by: AndyZe <andyz@utexas.edu>

* Alphabetized dependencies

* Update moveit_core/package.xml

Co-authored-by: AndyZe <andyz@utexas.edu>

---------

Co-authored-by: andrey <>
Co-authored-by: AndyZe <andyz@utexas.edu>
@ibrahiminfinite ibrahiminfinite deleted the ibrahim/param_coeff branch June 3, 2023 14:16
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.

Convert the Servo filter coefficient to a ROS parameter
4 participants