-
Notifications
You must be signed in to change notification settings - Fork 11
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
[critical/urgent] open_iob call in timestep check fails intermittently #30
Comments
Sorry I shouldn't have merged yesterday. This definitely should only be done once. It's not a good idea to repeatedly open/close the iob this way. |
Okay we can put it in the |
What error do you see when you call open_iob? I think it's ok to call open_iob once if we plan to make repeated calls to it |
The exact error was as follows:
|
Though I couldn't reproduce this problem later today with posture controller... |
mc_openrtm/src/MCControl.cpp
Lines 634 to 654 in b2a28aa
This check is happening at every
onExecute
. In today's experiment (@orikuma), we noticed that theopen_iob
call fails a few timesteps after starting the controller! This caused the MCControl to be deactivated.We can rewrite and make sure that the timestep check happens only once in the beginning but I think we need to dig deeper - because the same problem could happen while modifying the PD gains. Or could be problematic if we introduce more such features that make direct interaction with the IOB.
The text was updated successfully, but these errors were encountered: