Closed edantec closed 7 months ago
@edantec I did a proper rebase on devel
after fixing the Changelog over there.
A struct has been added for contact_map. An annoying bug remains where we cannot access contact_poses from contact_map in Python, I am investigating it.
@edantec please check if your compiler has warnings turned on, clang yells about integer conversion warnings on my end.
I fixed them and pushed a commit.
All seems correct to me. Thanks for your contribution again!
I think merging this PR would justify making a new release (0.4.2 or 0.5.0 ?) @jorisv !
0.5.0 since we added new feature. I setup the pre-commit and I release.
This PR introduces a set of cost functions and dynamics to model a nonlinear centroidal problem with unilateral fixed contacts. Two dynamics are proposed: one with contact forces as control, the other with jerk of contact forces as control. The state of the system is defined to be the concatenation of CoM position, linear momentum and angular momentum (dim 9). The control is of size max_num_contact * 3.
Cost functions include state regularization, linear and angular acceleration and friction cone.
This PR is mainly intended to spark a discussion about how centroidal dynamics should be handled in Aligator. Advices and improvements are welcomed!