Search found 17 matches

by Martin Mössner
Sat May 11, 2019 12:27 pm
Forum: OpenSim
Topic: analysistool, jointreaction analysis, muscle foces file, matlab
Replies: 10
Views: 1870

Re: analysistool, jointreaction analysis, muscle foces file, matlab

Why isn't there a function that allows to set the desired analysis in the AnalyzeTool object?
Just the same as in the GUI ... this is very disturbing, curious, time consuming, hard to understand ...
by Martin Mössner
Sat May 11, 2019 9:57 am
Forum: OpenSim
Topic: analysistool, jointreaction analysis, muscle foces file, matlab
Replies: 10
Views: 1870

Re: analysistool, jointreaction analysis, muscle foces file, matlab

The python script above gives some hints, but I was not able to succeed ;) Following code fragment produces a proper JointReaction configuration: JR = JointReaction() JR.setName('JointReaction') JR.setStartTime(0.0) JR.setEndTime(1.0) JR.setForcesFileName([prefix,'_',muscle_forces_from_static_optimi...
by Martin Mössner
Fri May 10, 2019 7:43 am
Forum: OpenSim
Topic: analysistool, jointreaction analysis, muscle foces file, matlab
Replies: 10
Views: 1870

analysistool, jointreaction analysis, muscle foces file, matlab

Up to now I succeeded to wite Matlab code to call the AnalysisTool performing a JointReaction analysis. In the configuration file JointReaction.xml I have to set the forces_file tag to supplie the muscle forces, which were priorly calculated ba a call of the AnalysisTool performing a StaticOptimizat...
by Martin Mössner
Fri May 10, 2019 7:05 am
Forum: OpenSim
Topic: Plot OpenSim Results with Matlab
Replies: 2
Views: 282

Re: Plot OpenSim Results with Matlab

The Matlab code of readMotionFile, mentioned in the posting above, works fine :P
by Martin Mössner
Fri May 03, 2019 1:02 pm
Forum: OpenSim
Topic: Plot OpenSim Results with Matlab
Replies: 2
Views: 282

Plot OpenSim Results with Matlab

Hi there, I developed an OpenSim application which does following Analyzes: BodyKinematics, StaticOptimization, JointReaction and finally plots the results into images. In the GUI the process works fine :D In the next step, I wrote Matlab code to do the same tasks. After some work I succeded except ...
by Martin Mössner
Sat Apr 27, 2019 9:10 am
Forum: OpenSim
Topic: com position and body position, speed, acceleration
Replies: 1
Views: 271

com position and body position, speed, acceleration

I am using a modified version of the gait2392 model. I have a simple motion file (bodymot.mot) which describes a simple squat movement. This file just gives the hip and knee angle for 100 time steps. I want to output the positions, speeds, accelerations of the femur and tibia bodies as well as the c...
by Martin Mössner
Mon Mar 18, 2019 9:44 am
Forum: OpenSim
Topic: Behaviour of JointReaction analysis with zero muscle forces
Replies: 3
Views: 1634

Re: Behaviour of JointReaction analysis with zero muscle forces

I habe similar problems as Claudio. For validation/checking purposes I want to swicth off the influence of the muscle forces. Looking at the figure above it should be sufficient to zero the muscle forces. I do this by setting <forces_file /> in the joint reaction analysis input-xml-file. The movemen...