Skip to content

Reset filters when starting MoveIt Servo calculations#2186

Merged
AndyZe merged 3 commits intomoveit:mainfrom
sea-bass:reset-servo-filters-on-start
May 24, 2023
Merged

Reset filters when starting MoveIt Servo calculations#2186
AndyZe merged 3 commits intomoveit:mainfrom
sea-bass:reset-servo-filters-on-start

Conversation

@sea-bass
Copy link
Copy Markdown
Contributor

This PR fixes the regression @JafarAbdi pointed out in #2139.

Turns out we just have to reset the filters on ServoCalcs::start().

This fixed it for me on MoveIt Studio, but would love for someone else to test.

@sea-bass sea-bass requested review from AndyZe and JafarAbdi May 18, 2023 18:57
@JafarAbdi
Copy link
Copy Markdown
Member

@sea-bass Thanks! I'll test it on hardware as soon as I get a chance

@codecov
Copy link
Copy Markdown

codecov bot commented May 18, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (0651e8a) 50.56% compared to head (8d825ef) 50.55%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2186      +/-   ##
==========================================
- Coverage   50.56%   50.55%   -0.00%     
==========================================
  Files         387      387              
  Lines       31740    31741       +1     
==========================================
  Hits        16045    16045              
- Misses      15695    15696       +1     
Impacted Files Coverage Δ
moveit_ros/moveit_servo/src/servo_calcs.cpp 70.33% <100.00%> (+0.07%) ⬆️

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

@sea-bass sea-bass requested a review from bgill92 May 24, 2023 20:57
Copy link
Copy Markdown
Contributor

@bgill92 bgill92 left a comment

Choose a reason for hiding this comment

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

Tested it in Moveit Studio with gazebo, saw the joints sag while jogging, but stopped sagging when the jogging ended (which I believe is the intended behavior)

@AndyZe AndyZe merged commit 4ed043f into moveit:main May 24, 2023
@AndyZe AndyZe deleted the reset-servo-filters-on-start branch May 24, 2023 21:08
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.

4 participants