Issue with running soft robotics tutorial #4851
-
Hi @hugtalbot @bakpaul , Thanks for your previous help. I am currently running a softrobotics tutorial and have a question with the settings. Much appreciate your explanation. The torque can be calculated using the spring stiffness and the angle difference between rest and current state, but this can not be modified/tuned for specific application. So is there a parameter in the that determines the torque output? Please let me know if there is any confusion. Best |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 18 replies
-
Hello, This is not an issue. The This is one way of imposing this rotation, we call this a weak constraint. A stiffer way of constraining it would be to use a Lagrangian based constraint. This can be done using a |
Beta Was this translation helpful? Give feedback.
@bakpaul Thanks a lot for your quick response!
I get your point now. By the way, for the
RestShapeSpringsForceField
, do you modify the parameter stiffness or angular stiffness to vary the property of virtual angular spring? I can see stiffness is widely used in the tutorial online.Additionally, I am trying the stiffer constraint as you suggest, I have the error
Python exception: ValueError: Object type JointConstraint<Vec1d> was not created The object 'JointConstraint' is not in the factory. But the following exits: : SlidingConstraint (75% match) : FixedConstraint (73% match) : ProjectToPointConstraint (71% match) : AttachConstraint (70% match) : ParabolicConstraint (70% match) : Stoppe…