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

Do not reset shared_ptrs to prevent SEGV when changing controllers #11

Merged

Conversation

orikuma
Copy link
Contributor

@orikuma orikuma commented Oct 19, 2023

Problem:
When I change controller from MCC to other controllers and go back to MCC, mc_rtc raises SEGV because stop() function reset shared_ptrs for managers.

Solution:
Do not reset managers in reset() function. The old configurations will be removed by calling their reset() functions in MCC::Initial.

@gergondet gergondet merged commit faad0c0 into isri-aist:master Oct 19, 2023
10 checks passed
mmurooka added a commit to isri-aist/BaselineWalkingController that referenced this pull request Oct 22, 2023
mmurooka added a commit to isri-aist/LocomanipController that referenced this pull request Oct 22, 2023
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.

2 participants