Search found 166 matches

by Ton van den Bogert
Mon Nov 13, 2023 2:30 pm
Forum: SCONE
Topic: GaitMeasure calculation
Replies: 6
Views: 1802

GaitMeasure calculation

I am running a scenario where the simulation ends after a specified number of gait cycles (unless it falls sooner). It's about 34 seconds. When using MeasureGait10GRF15.scone from the examples, the gait measure component becomes quite large, which makes the effort measure less important. Here is the...
by Ton van den Bogert
Mon Nov 06, 2023 11:13 am
Forum: OpenSim Moco
Topic: Range of design variables
Replies: 3
Views: 1040

Re: Range of design variables

Ross, In my experience, it can make a large difference. I once spent two weeks trying to find an error in my code, when an optimization problem would not solve. Turned out my code was correct after all, I just needed to change my force units to kN and it solved immediately. I don't know if this is g...
by Ton van den Bogert
Fri Jun 30, 2023 9:27 am
Forum: OpenSim
Topic: Verification of Moco Predict Study with Integrator
Replies: 5
Views: 1079

Re: Verification of Moco Predict Study with Integrator

It sounds like you want to do simulation-based predictions where you keep the muscle controls constant and experiment with the mechanical system or environment. Yes, that is only possible for shorter simulations. I have done a lot of research like that on ACL injuries and the simulations were only 2...
by Ton van den Bogert
Thu Jun 29, 2023 4:27 am
Forum: OpenSim
Topic: Verification of Moco Predict Study with Integrator
Replies: 5
Views: 1079

Re: Verification of Moco Predict Study with Integrator

Matthias, If you get a good agreement for almost a second, that is actually quite good and you can conclude that Moco and forward integration are in agreement. This is typically what I have seen when I validate my optimal control solutions. When balancing against gravity, the system is unstable. Sma...
by Ton van den Bogert
Wed Jun 14, 2023 10:27 am
Forum: OpenSim
Topic: Segmental kinematic optimisation
Replies: 7
Views: 902

Re: Segmental kinematic optimisation

I have attached my Matlab implementation of the SVD method.

Also a Fortran code for the eigenvalue method. I have once (a long time ago) verified that both give the same result unless the marker configuration is almost on a line.

Ton
by Ton van den Bogert
Wed Jun 14, 2023 9:44 am
Forum: OpenSim
Topic: Segmental kinematic optimisation
Replies: 7
Views: 902

Re: Segmental kinematic optimisation

Yes, absolutely it will be the same result in all respects. You could verify this with some simple test data (one frame, one bone with 3 markers). Let me know if you need code for the SVD and eigenvalue methods. SVD and eigenvalue methods also give the same answer, but the eigenvalue method is somew...
by Ton van den Bogert
Wed Jun 14, 2023 9:30 am
Forum: OpenSim
Topic: Segmental kinematic optimisation
Replies: 7
Views: 902

Re: Segmental kinematic optimisation

When you have 6-dof joints, OpenSim's inverse kinematics will give you exactly the same solution as those algorithms you mention. They all use a least-squares fit of marker positions.

Ton van den Bogert
by Ton van den Bogert
Tue Jun 06, 2023 9:44 am
Forum: OpenSim
Topic: pressure sensor insole for animal
Replies: 1
Views: 367

Re: pressure sensor insole for animal

Force-measuring horse shoes were developed in the 1980s by several labs. Some of those produced accurate 3D ground reaction force data. An interesting idea is to use strain gauges on the hoof and calibrate against a force platform. Then there is nothing between the foot and the ground. This was done...
by Ton van den Bogert
Tue May 16, 2023 9:14 am
Forum: OpenSim
Topic: Cannot solve BodyKinematics if I replace one ball joint with free joint
Replies: 1
Views: 408

Re: Cannot solve BodyKinematics if I replace one ball joint with free joint

Is it the "exo_back" joint that you changed from free to ball? The type of joint can be very important if there are fewer than 3 markers on each body segment. In general, it is good to remove as many degrees of freedom as possible, to make the IK solution more robust against errors in marker data an...
by Ton van den Bogert
Tue May 09, 2023 6:51 am
Forum: OpenSim
Topic: ID in hopping on a single force plate
Replies: 1
Views: 476

Re: ID in hopping on a single force plate

Vahid, I would suggest using a 2-dimensional model. A 2-D model for hopping could assume symmetry and have only one leg (with mass properties and muscle strength values doubled). If you use a 2-legged model, it can also be done by dividing the force plate data equally between the two legs. You shoul...