-
Notifications
You must be signed in to change notification settings - Fork 46
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
The getIsStancePhase logic on devel is broken #66
Comments
While looking at the code, the line
The Clang static analyzer is showing the following warning:
Indeed, its behavior is probably undefined https://stackoverflow.com/questions/47507558/multiple-unsequenced-modifications-to-a-a-a. This may be coherent with the fact that the robot seems to never exit the stance phase. A possible fix is
We may try this on the robot and check if it is working. |
Unfortunately, the patch proposed in #66 (comment) does not fix the problem. |
I've probably found the bug. |
I can give it a try! |
That's the PR: #68 |
#68 fixes the problem. We can close the issue |
We noticed that while testing #65, the robot was not able to walk anymore. When substituting
walking-controllers/src/WalkingModule/src/Module.cpp
Line 667 in 2d0a4a5
we managed to restore the expected performances.
cc @GiulioRomualdi
The text was updated successfully, but these errors were encountered: