Search found 16 matches

by Robert Steidl
Wed Feb 08, 2017 5:45 am
Forum: OpenSim
Topic: Coupled Body Motion
Replies: 6
Views: 834

Re: Coupled Body Motion

Hello,

in addition to the rotations:

I have found a solution, that works for me now, but i do not know if that is an optimal way to solve it! I have just set the default lock to true, therefore no rotation is allowed and the translation works! Is there another way to probably fix it?

Yours, Rob
by Robert Steidl
Wed Feb 08, 2017 1:00 am
Forum: OpenSim
Topic: Coupled Body Motion
Replies: 6
Views: 834

Re: Coupled Body Motion

Hello again, at first I just want to say that it works as you suggest - if i keep the joint connection between body two and body one and add an additional marker to body 2, I can now move both indepentendly controlled by the trc-file related to marker movement! But I have another query - let me say ...
by Robert Steidl
Tue Feb 07, 2017 9:16 am
Forum: OpenSim
Topic: Coupled Body Motion
Replies: 6
Views: 834

Re: Coupled Body Motion

Perfect, thank you for your answer, I will try that step and implement the ground as the 2nd body relative! But I do have another question for interest: "What would happen if I keep the body-connection and add a new marker to the second body?" Can I control then the 2nd Body Movement via the new att...
by Robert Steidl
Tue Feb 07, 2017 7:39 am
Forum: OpenSim
Topic: Coupled Body Motion
Replies: 6
Views: 834

Coupled Body Motion

Dear Open Sim Professionals, I do have a simple model but a huge problem! The model consists of a ground and two bodies! The first body is connected via a free joint to the ground, the second body is connected via a free joint to body one! One marker is attached to body one and via a simple trc-file...
by Robert Steidl
Mon Jan 30, 2017 6:16 am
Forum: OpenSim
Topic: Movement caused by Muscle
Replies: 8
Views: 1542

Re: Movement caused by Muscle

Thank you for the link.. sorry it was an typing error.. no error or warning occure during compiling. I compared my file with your example and I adapted it. But nothing has changed. I noticed one difference. the command Model.addJoint(*joint) doesn't exist in the API Version 3.3 could this be a reaso...
by Robert Steidl
Fri Jan 27, 2017 3:24 am
Forum: OpenSim
Topic: Movement caused by Muscle
Replies: 8
Views: 1542

Re: Movement caused by Muscle

Thank you Tom Uchida for this advice. I tried to add a PointToPointActuator to my model in the same way it is done in the APIExamples/CustomActuatorExample. everything works fine, until a want to add the actuator to the model with ' Model.addforce(actuator) ' . During compling the '.cpp' now error o...
by Robert Steidl
Tue Jan 10, 2017 3:05 am
Forum: OpenSim
Topic: Movement caused by Muscle
Replies: 8
Views: 1542

Movement caused by Muscle

Dear Community, I do have (in my opinion) a simple problem, but I can't find a solution! I do have an external muscle model (created in MatLab), where I can get a force-time-curve generated by a muscle! Now, I have the same muscle implemented in OpenSim, attached to a bony element! The only thing I ...
by Robert Steidl
Wed Dec 21, 2016 4:53 am
Forum: OpenSim
Topic: PiecewiseLinearFunction in MatLab
Replies: 3
Views: 383

Re: PiecewiseLinearFunction in MatLab

Thank you,

thats a good point - for my understanding, if I have the timepoints at 0 and 2 and the corresponding force at 0 and 15 my code should look like:

Code: Select all

Force = PiecewiseLinearFunction();
Force.addPoint(0, 0);
Force.addPoint(2, 15);
Am I right?
by Robert Steidl
Wed Dec 21, 2016 1:44 am
Forum: OpenSim
Topic: PiecewiseLinearFunction in MatLab
Replies: 3
Views: 383

PiecewiseLinearFunction in MatLab

Hello, again me, and again with a similar issue, i want to create a linear function for the force in MatLab - the c++ code looks so: PiecewiseLinearFunction *forceX = new PiecewiseLinearFunction(2, time, fXofT); In MatLab i can acces to the constructor like: Force = PieceWiseLinearFunction(); but ho...
by Robert Steidl
Tue Dec 20, 2016 1:49 am
Forum: OpenSim
Topic: Human Spine
Replies: 1
Views: 193

Human Spine

Dear Community, we are currently working on a project where we simulate the movement of a horses spine! We do have all the data for that spine from radiographic measurements! For further research, we want to compare the horse data to human data! Therefore we would need a good, complete model of the ...