Search found 97 matches

by Samane Amini
Mon Oct 02, 2023 5:18 am
Forum: SCONE
Topic: For loop
Replies: 3
Views: 188

Re: For loop

Hi

I corrected it. But it still doesn't work. Actually, the alpha(i) which i=1 isn't recognized.

Best
by Samane Amini
Mon Oct 02, 2023 2:46 am
Forum: SCONE
Topic: For loop
Replies: 3
Views: 188

For loop

Hi I would like to compute a variable in a For loop at scriptcontroller. I have done the following code in a script controller by lua function init( model,par,side) alpha0 = 1 alpha = 1 phi = 0 for i = 1,10 do beta = alpha *sin(phi ) alpha_dot = beta + 2 -- differentiate alpha alpha = math.modf (alp...
by Samane Amini
Mon Oct 02, 2023 1:58 am
Forum: SCONE
Topic: Gait phase
Replies: 0
Views: 102

Gait phase

Hi

I would like to get gait phase of walking model in SCONE. In fact, I need percentage of gait or its radian amount at time t (as real-time). Do you know if how to get it?


Thanks in advance
by Samane Amini
Mon Oct 02, 2023 12:52 am
Forum: SCONE
Topic: Ground reaction Force
Replies: 3
Views: 327

Ground reaction Force

Hi I want to know if how to get ground reaction force in script controller. I did the following code: body = model:find_body("toes_r") GRF = body:contact_force() but there is no GRF for only toes_r (without ground or platform mentioning), then the answer is zero. So how can I get the ground reaction...
by Samane Amini
Sun Jul 16, 2023 3:36 am
Forum: SCONE
Topic: Two models simulating
Replies: 1
Views: 128

Two models simulating

Dear all I have two models in my project. First, I simulate model 1 and save the results (muscle forces). Then, I simulate model 2 by a controller that use recorded data of model 1. This process takes a lot time and I want to do the process at the same time. Is there any way to simulate two models i...
by Samane Amini
Fri Jul 14, 2023 7:15 am
Forum: OpenSim
Topic: subjects data
Replies: 0
Views: 81

subjects data

Dear all Regarding to the following paper, Could you give me the mass and height of each subject? I know that average age, height, and mass of 29(5) years, 1.77(0.04) m, and 70.9(7.0) kg, respectively (mean(SD)). But I want the data of each subject. " Muscle contributions to fore-aft and vertical bo...
by Samane Amini
Fri Jul 14, 2023 4:42 am
Forum: OpenSim
Topic: Model Scaling
Replies: 1
Views: 322

Model Scaling

Dear all I want to manually scale an osim model to obtain different models with full range of heights and weights (20 models including male and female). Later, I aim to use them in my simulation to check whether my approach robustness. To do this, I wonder if it's true to reduce/increase the height ...
by Samane Amini
Tue Jun 06, 2023 8:22 am
Forum: OpenSim
Topic: pressure sensor insole for animal
Replies: 1
Views: 174

pressure sensor insole for animal

Dear all I aim to perform inverse dynamic analysis for animal movement (pig). To do this I require to measure ground reaction force of animal foot with ground (animal is permitted to walk on treadmill). I haven't seen any sensor insole which is used for animal in literature. So I want to know if the...
by Samane Amini
Fri Nov 11, 2022 12:17 pm
Forum: SCONE
Topic: muscle metabolic rate
Replies: 1
Views: 99

muscle metabolic rate

Hello guys

I would like to measure muscle metabolic rate of each muscles in a cycle. I wondering if which item in Analysis box shows muscle metabolic rate. So I want to know how to get it or even how to script muscle metabolic cost function.

Thank you in advance
by Samane Amini
Thu Sep 01, 2022 7:44 am
Forum: SCONE
Topic: moment_arm
Replies: 1
Views: 95

moment_arm

Hello I would like to capture the moment arm of a muscle rather than a joint in real time. However, there is no function for getting of moment arm in LuaMuscle function list: https://scone.software/doku.php?id=ref:lua_muscle Would you please guide me on how to get it as feedback? Thanks in advance