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

[WIP]Feature/wbcc separate thread #380

Open
wants to merge 68 commits into
base: develop
Choose a base branch
from

Conversation

Beomyeong
Copy link
Member

@Beomyeong Beomyeong commented Oct 3, 2024

[WIP] work for separating WholeBodyControllerCoreThread (ControllerCoreThread)
The controllerCore.compute which was used and called in the control thread is moved and called in the new AvatarWholeBodyControllerCoreThread.
Not all the highlevelcontorllerstates use wholebodycontrollerCore to obtain the desiredJointOutput. Also, some highlevelControlState does not use multi-threading even they call the wholebodycontrollerCore. These should be considered when separating wholebodycontrollercore to new thread.
Because, in the older way, the joinDesiredOutput is updated from controlThread,but it changed to be updated on the wholebodycontrollercorethread.
All the changes for now have been focused to change the walkingcontrollerstate first.

Actually, the outputProcess is moved to "new" thread
The output of the wholebodycontrollercore is calculated from controllerThread and saved into contextData.
The output of the wholebodycontrollercore is updated to the joint on the wholebodycontrollercorethread.
@Beomyeong Beomyeong requested a review from rjgriffin42 October 3, 2024 17:16
…ntrollerCoreManager`.

Adding the ceterOfMassStateProvider into `HumanoidWholeBodyControllerCoreManager`.
The controllerCoreCommand should be saved to some parameter which can be called in highlevelmanager.
…namics. At the first tick, the commandDataHolder is null.
Only the lowlevelOneDoFJointDesiredDataHolder is used.
…RobotContextDataWholeBodyControllerCore. This lets the ControllerCoreOutput from wholebodycontrollercoreThread be shared to controllerThread.
… the ResolveMomentumRateModule in the ControlThread
@Beomyeong Beomyeong changed the title Feature/wbcc separate thread [WIP]Feature/wbcc separate thread Oct 25, 2024
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.

1 participant