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: Do not break out of loop -- need to update low pass filters #2496

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

AndyZe
Copy link
Member

@AndyZe AndyZe commented Jan 21, 2021

We implemented this short circuit for efficiency, but in the case of stop_requested_ we want to continue updating the current robot state and the low pass filters. This prevents a jerk from occurring when Servoing resumes.

@AndyZe AndyZe force-pushed the andyz/dont_short_circuit_servo branch from e6a26bb to 6212c65 Compare January 21, 2021 22:37
Copy link
Member

@tylerjw tylerjw left a comment

Choose a reason for hiding this comment

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

Looks good, I didn't think of this use case when I created low_latency_mode. Good catch!

@codecov
Copy link

codecov bot commented Jan 22, 2021

Codecov Report

Merging #2496 (6212c65) into master (664ae01) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2496      +/-   ##
==========================================
- Coverage   60.26%   60.25%   -0.01%     
==========================================
  Files         351      351              
  Lines       26477    26476       -1     
==========================================
- Hits        15955    15951       -4     
- Misses      10522    10525       +3     
Impacted Files Coverage Δ
moveit_ros/moveit_servo/src/servo_calcs.cpp 63.00% <ø> (-0.08%) ⬇️
...meterization/work_space/pose_model_state_space.cpp 83.09% <0.00%> (-1.47%) ⬇️
...ipulation/pick_place/src/manipulation_pipeline.cpp 72.35% <0.00%> (-1.06%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 664ae01...6212c65. Read the comment docs.

@AndyZe AndyZe merged commit e322884 into moveit:master Jan 22, 2021
@tylerjw tylerjw mentioned this pull request Apr 9, 2021
tylerjw pushed a commit to tylerjw/moveit that referenced this pull request Apr 29, 2021
@tylerjw tylerjw mentioned this pull request Apr 29, 2021
tylerjw pushed a commit to tylerjw/moveit that referenced this pull request May 3, 2021
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

2 participants