-
Notifications
You must be signed in to change notification settings - Fork 935
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: protect paused_ flag, for thread safety #2494
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Codecov Report
@@ Coverage Diff @@
## master #2494 +/- ##
==========================================
- Coverage 60.26% 60.26% -0.00%
==========================================
Files 351 351
Lines 26477 26477
==========================================
- Hits 15955 15954 -1
- Misses 10522 10523 +1
Continue to review full report at Codecov.
|
This is failing Travis due to docker pull limits: https://travis-ci.com/github/ros-planning/moveit/jobs/473939663 We have this issue to track this problem: #2493 I don't know when I'll have time to work on this. If anyone has the capacity to figure it out I'd appreciate it. @nbbrooks |
^At least it's only 5 bucks a month to get unlimited Docker pulls |
In MoveIt Servo I was calling
setPaused()
from another thread while printing the value ofpaused_
here in ServoCalcs. And I saw that it often didn't change. This fixes it.