You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to calculate the constrained forward dynamics of a humanoid robot. The only two constraints are that both feet must be fixed to the ground. I found that Pinocchio 3 seems to have some functions I need.
I am reading the unit test code for constraint dynamics in Pinocchio 3. I am confused by the way the developer initializes the constraints. In test_sparse_forward_dynamics_in_contact_6D_LOCAL, which is in unittest/constrained-dynamics.cpp, they define the constraints like this:
I am not sure what does ci_RF.joint1_placement.setRandom() and ci_LF.joint1_placement.setRandom() mean here. I also noticed that there is another function setIdentity() which sets some transformation to identity. I was also wondering how to set constraints for the feet in my case.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to calculate the constrained forward dynamics of a humanoid robot. The only two constraints are that both feet must be fixed to the ground. I found that Pinocchio 3 seems to have some functions I need.
I am reading the unit test code for constraint dynamics in Pinocchio 3. I am confused by the way the developer initializes the constraints. In
test_sparse_forward_dynamics_in_contact_6D_LOCAL
, which is inunittest/constrained-dynamics.cpp
, they define the constraints like this:I am not sure what does
ci_RF.joint1_placement.setRandom()
andci_LF.joint1_placement.setRandom()
mean here. I also noticed that there is another functionsetIdentity()
which sets some transformation to identity. I was also wondering how to set constraints for the feet in my case.Beta Was this translation helpful? Give feedback.
All reactions