Skip to content

Initializing configuration of soft robot #2892

Discussion options

You must be logged in to vote

Hi @jjalora

Sorry for the latency of this reply!
A solution could be to initialize your MechanicalObject with two sets of information:

  • position data field : the position you want to start from
  • restPosition data field : the position corresponding to the undeformed shape of your object (what you called equilibrium)

For this, you should therefore need two loaders loading the two configurations of your object.
Let us know whether this works as expected ;)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jjalora
Comment options

Answer selected by jjalora
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants