Search found 73 matches

by Sietse Achterop
Sat Feb 25, 2023 9:17 am
Forum: OpenSim
Topic: CMC does not work with some muscle/no-muscle models.
Replies: 2
Views: 457

CMC does not work with some muscle/no-muscle models.

Hello List, It seems that CMC does not always work if there are joints not controlled by muscles but only with coordinate actuators (think motors). Like with an exo-skeleton, or someone with an artificial arm or leg. In my use case, a rower in a rowing boat, I come across it in developing it, becaus...
by Sietse Achterop
Mon Jan 02, 2023 3:41 am
Forum: OpenSim
Topic: Why does the first optimization in CMC fail in this model?
Replies: 5
Views: 460

Re: Why does the first optimization in CMC fail in this model?

I made a little bit of progress, but I will now create an issue on opensim-core for it, issue 3345. I simplified the model even further, removed the leg (including the constraint) and connected the moving seat directly to the ground. Also the rest of the boat and right arm were removed, so a very si...
by Sietse Achterop
Thu Dec 22, 2022 4:00 am
Forum: OpenSim
Topic: Why does the first optimization in CMC fail in this model?
Replies: 5
Views: 460

Re: Why does the first optimization in CMC fail in this model?

In the full model the arms pull on the oars and via the blades push on the water. I model the blade like a plate on the water/ground with a very high friction coefficient. I created a custom force in Simbody for that. Removing the 2 elbow marks from the model above makes CMC work perfectly. Only add...
by Sietse Achterop
Tue Dec 20, 2022 10:11 am
Forum: OpenSim
Topic: Why does the first optimization in CMC fail in this model?
Replies: 5
Views: 460

Re: Why does the first optimization in CMC fail in this model?

Thanks very much Nicos! This sound logical and it works. I now am starting building up the model a little bit further, please see https://github.com/SietseAchterop/Rowing-simulator for more on this. I added a ContactMesh, ElasticFoundationForce etc to make the boat "float on the water". And when exc...
by Sietse Achterop
Sun Dec 18, 2022 9:17 am
Forum: OpenSim
Topic: Why does the first optimization in CMC fail in this model?
Replies: 5
Views: 460

Why does the first optimization in CMC fail in this model?

I have asked this before, see issue #3183 on opensim-core. I simplified the model more but it still is failing. I really am stuck! The model now consists of 1 sliderjoint, 4 pinjoints and 1 customjoint, all with coordinate-actuators. There are no muscles and one weld-constraint to close a kinematic ...
by Sietse Achterop
Sat Dec 17, 2022 7:09 am
Forum: OpenSim
Topic: Gui coordinates not responding, what am I doing wrong?
Replies: 0
Views: 184

Gui coordinates not responding, what am I doing wrong?

Hello list, I have a model that, when loaded in OpenSim, makes the coordinates of the GUI completely unresponsive, the view on the model is not changed at all! Using the IK- or CMC tool does work; playing the result seems to work, but NO change whatsoever can be seen in the visualizer window. The vi...
by Sietse Achterop
Thu Dec 08, 2022 5:19 am
Forum: OpenSim
Topic: Visualize simulation results without opensim-gui on Linux
Replies: 0
Views: 152

Visualize simulation results without opensim-gui on Linux

I currently fail to get opensim-gui to work on Linux. I created an issue for that. Creating opensim from source works fine, so I have the opensim-cmd command and can do simulations. But, as a temporary solution, is there a way to visualize them without the gui part of opensim? I assume the simbody-v...
by Sietse Achterop
Thu May 05, 2022 4:53 am
Forum: OpenSim
Topic: How to "not control" a joint/coordinate
Replies: 2
Views: 495

Re: How to "not control" a joint/coordinate

Thanks for the reply! controller->setActuators( osimModel.updActuators() ); There was only one actuator, so I assumed it was OK. But changing the above to controller->addActuator(osimModel.updActuators().get("baract")); Solved my problem! It now is working as expected. Is there something wrong with ...
by Sietse Achterop
Tue May 03, 2022 8:16 am
Forum: OpenSim
Topic: How to "not control" a joint/coordinate
Replies: 2
Views: 495

How to "not control" a joint/coordinate

Hello all, I created a simple example modelled after the ControllerExample from OpenSim. Basically I added an extra joint that is not to be controlled, so it can move freely as allowed by physics, but I can't get it to work. pendulum.png The system consists of a pendulum hanging from a ceiling. But ...
by Sietse Achterop
Fri Apr 22, 2022 5:52 am
Forum: OpenSim Moco
Topic: Using Moco to calculate the kinematics of a DOF/coordinate
Replies: 23
Views: 1447

Re: Using Moco to calculate the kinematics of a DOF/coordinate

In the current model the boat is "in contact" with the water: the contact-box is laying on the halfspace. In that case the maximum time I can use for the final time is 0.1 second. If I move the halfspace away from the box, the final time can be set to, say, 2 seconds. But I need the contact because ...