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

Add option to wait for finishing nominal centroidal trajectory to exit ConfigMotionState #15

Conversation

orikuma
Copy link
Contributor

@orikuma orikuma commented Apr 3, 2024

Problem:
ConfigMotionState::run() does not check whether reference all CoM positions in CentroidalManager has been executed or not. This causes the failure in adding new reference CoM positions in the next ConfigMotion due to the time inconsistency as follows.

[error] [CentroidalManager] Ignore a nominal centroidal pose earlier than the last one: 40.44500000000208 < 42.84500000000079

Solution:
Add exitWhenCentroidalManagerFinished_ flag to check whether all the reference CoM positions in CentroidalManager are updated at current timestep at the end of ConfigMotionState::run().

Copy link
Member

@mmurooka mmurooka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR!

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