Skip to content

Generation of analytical (symbolic) model #1506

Answered by jcarpent
totosolat asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Is pinocchio able to produce the symbolic models I am trying to obtain, like SYMORO did? For instance, I would like to generate an analytical dynamic model in which appears all the symbolic parameters and variables (joints position, speed, acceleration, links length, mass, inertia, etc.)

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 set model.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 name mass1 appearing.
I cannot provide too much …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jcarpent
Comment options

You must be logged in to vote
2 replies
@jcarpent
Comment options

@AleksandrKashirin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1494 on August 24, 2021 10:34.