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

Improvements to closed-loop handling #2

Draft
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

james-p-foster
Copy link
Collaborator

@james-p-foster james-p-foster commented Feb 13, 2025

This PR builds off of the LAAS PR. (Let me know if it's more prudent to set that branch as the base for this PR to see the changes I've made).

  • Introduced a notion of a list of forces by repurposing ForceDataAbstract. Now, a vector of ForceDataAbstract is stored in InteractionDataAbstract, which is a new base class for ContactDataAbstract and ImpulseDataAbstract.
  • Added a notion of a list of forces in by adding an nf (number of forces) argument to InteractionDataAbstract. This is exposed in ContactDataAbstract, so the kinematic loop can set it to 2, but for all impulses it is hard-coded to 1.
  • Pulled a lot of common fields in the contact models and impulse models into the top level ForceDataAbstract.

TODO / Questions:

  • I'm not sure how the contact-invdyn changes should work.
  • I haven't done any deprecating yet, just done all the logic changes in place to get it working.
  • I'm pretty sure that the test_contacts_loop.cpp added in the LAAS PR aren't as thorough as they can be. How can we make these tests meaningful?

LudovicDeMatteis and others added 29 commits October 8, 2024 09:16
This corrects the desired contact acceleration, by accouting for drift
in position and velocity
Remove bindings for old data and change operation order for dvel_dq
cmastalli added a commit that referenced this pull request Mar 23, 2025
Cleaned up cast control # This is the commit message #2:

Fixed control casting
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