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

procedural step logic #8

Open
Novakasa opened this issue Jul 14, 2024 · 6 comments
Open

procedural step logic #8

Novakasa opened this issue Jul 14, 2024 · 6 comments

Comments

@Novakasa
Copy link
Owner

  1. find the foot that is more likely to get moved first
  2. determine whether that foot needs to move, now the predicted step size can be computed relative to the other foot, since we can assume that the other foot will not move first

left/right offset should be proportional to how long we expect the foot to be placed there, since it requires more stability

@Novakasa
Copy link
Owner Author

how much of the foot cycle is spent locked should be proportional to spring force. When spring force is high compared to just standing normal force, most of the time one foot should be locked (half a cycle for each foot)

@Novakasa
Copy link
Owner Author

probably a better decision when to unlock foot:
length_to_hip > some threshold, and the change to this length is positive.

We also need a way to prevent "hover feet" where a foot decides not to lock after a while, this probably happens when the "unlock candidate" changes frequently between the two feet

@Novakasa
Copy link
Owner Author

Novakasa commented Aug 3, 2024

probably have some heuristic on what the actual distance to predicted target is, which then influences how fast we have to move there

@Novakasa
Copy link
Owner Author

Novakasa commented Aug 3, 2024

we should probably have a procedural hip that bounces depending on locked feet? or a seperate center of mass

@Novakasa
Copy link
Owner Author

probably proceed with visual center of mass that is allowed to oscillate based on locked feet and applied forces

regarding the unlock time, we need to add an upper limit for how long no contact is made and probably a lower limit to how short a contact should be

@Novakasa
Copy link
Owner Author

these limits could be set dynamically by simulating the center of mass "bounce", combining it with rig center of mass. While no contact is made, center of mass is in free fall, and this should be compensated during feet contact. So we need to make sure that foot is not released while there is negative up velocity on simulated center of mass, or a similar criterion

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

No branches or pull requests

1 participant