Search found 10 matches

by Aoife Ryan
Wed Mar 04, 2020 8:48 am
Forum: SCONE
Topic: Acceleration vector
Replies: 8
Views: 1229

Re: Acceleration vector

I have tried to evaluate the model, however I am getting an error related to the length of the hamstring muscle: SCONE error.JPG I have checked the muscle and it is defined in the same way as the model used in the tutorials and definitely not of 0 length. That said, the model will still attempt to o...
by Aoife Ryan
Sat Feb 29, 2020 10:11 am
Forum: SCONE
Topic: Acceleration vector
Replies: 8
Views: 1229

Re: Acceleration vector

Hi Thomas, I implemented what you recommended in terms of storing data, using the z component of angular velocity. I can see in the analysis window that this is definitely changing through the simulation (using a more basic version of the simulation), however, when I run the scenario, it returns a f...
by Aoife Ryan
Wed Feb 26, 2020 10:49 am
Forum: SCONE
Topic: Acceleration vector
Replies: 8
Views: 1229

Re: Acceleration vector

I'm having some trouble calling in stored values. I'm using the store_data function to store the acceleration but I can't figure out how to call that value back into the update function in the next iteration. I'm also trying to use one of the joint.load values that is automatically output in the ana...
by Aoife Ryan
Thu Feb 20, 2020 4:49 am
Forum: SCONE
Topic: Extracting contact force
Replies: 7
Views: 1074

Re: Extracting contact force

Thanks for your help with the contact forces, that was very helpful. I am currently working that all right right side contact forces are pulled first, followed by left side contact forces. Could you confirm that this is correct?

Thanks!
by Aoife Ryan
Thu Feb 20, 2020 4:46 am
Forum: SCONE
Topic: Acceleration vector
Replies: 8
Views: 1229

Acceleration vector

Hi Thomas,

Wondering if there is a way to capture a body's acceleration vector in a lua script?

Thanks,
Aoife
by Aoife Ryan
Mon Feb 03, 2020 5:48 am
Forum: SCONE
Topic: Extracting contact force
Replies: 7
Views: 1074

Re: Extracting contact force

I'm using a script controller and attempting to update model parameters using a simple feedback loop. Also, when I try to call on a contact force ( rightpedalcontactforce = R_foot:conact_force() ) in the controller I get the error message: SC.JPG I have tried calling on both the body of interest and...
by Aoife Ryan
Mon Feb 03, 2020 4:37 am
Forum: SCONE
Topic: Extracting contact force
Replies: 7
Views: 1074

Re: Extracting contact force

Thanks for that Thomas. Just wondering when pulling contact forces for the lower limbs, does the controller retrieve all of the right side contact forces and then all of the left side contact forces or does it alternate from right to left or vice versa?

Thanks for all your help so far,
Aoife
by Aoife Ryan
Mon Jan 27, 2020 4:29 am
Forum: SCONE
Topic: Extracting contact force
Replies: 7
Views: 1074

Extracting contact force

Hi Thomas,

Just wondering if there is a way to extract a contact force for use in a script controller. I see in the LuaBody documentation that you can add a contact force, I wondered could I do the opposite and find the value of one already there?

Thanks!
by Aoife Ryan
Sat Nov 16, 2019 8:58 am
Forum: SCONE
Topic: SCONE shuts down when I try to run a scenario
Replies: 1
Views: 417

SCONE shuts down when I try to run a scenario

Hi Thomas, I am trying to load a cycling model into SCONE (using a nonsense gaitmeasure at the minute, as I'm just playing around with it until I have found a way to measure the cycling ability of the model), however, if I try to optimise the scenario, I can leave it for hours without anything being...
by Aoife Ryan
Wed Oct 09, 2019 8:54 am
Forum: OpenSim
Topic: Matlab configuration
Replies: 1
Views: 237

Matlab configuration

I have downloaded OpenSim 4.0 on a Mac and am trying to configure Matlab. The OpenSim guide instructs me to run a file in the location C:/Users/<username>/Documents/OpenSim/4.0/Code/Matlab. This is not a location for me when I download OpenSim, instead the folder is found at: /Applications/OpenSim 4...