-
I am not sure i understand correctly the features of pinocchio: I used SYMORO in the past in order to obtain analytical models of robots, I would like to do the same thing with pinocchio. At the moment, I had a look at the various examples but I could only obtain numerical results (with forward-dynamics-derivatives.py for instance). From what I understand, CppADCodeGen generates a standalone "black box" code instead of the symbolic expression I would like to obtain.
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can use either CppAD or Casadi support for that. To make the variables visible with naming like |
Beta Was this translation helpful? Give feedback.
-
Two years pass, still a guide on the obtaining equations of motion is not there. :( |
Beta Was this translation helpful? Give feedback.
You can use either CppAD or Casadi support for that. To make the variables visible with naming like
mass1
for the mass associated to link1, then you should setmodel.inertias[1].mass() = casadi::SX::sym("mass1",1)
. The same thing can be performed for CppAD. Then, when requiring the output of an algo, like ABA, you will see in the computational graph the namemass1
appearing.I cannot provide too much …