Search found 3 matches

by Nasma Dasser
Thu May 16, 2019 9:27 am
Forum: OpenSim
Topic: Extracting the angular velocity
Replies: 8
Views: 1383

Re: Extracting the angular velocity

Dear Thomas, Thank you very much for taking the time to reply! Indeed, this was missing. After setting the speed value, I am able to extract the angular velocity. Important thing is to differentiate the coordinates. Here are the few lines of code I added if someone is interested in the same operatio...
by Nasma Dasser
Thu May 09, 2019 9:59 am
Forum: OpenSim
Topic: Extracting the angular velocity
Replies: 8
Views: 1383

Re: Extracting the angular velocity

Dear Dimitar, Thank you for taking the time to reply to my questions. Unfortunately even if the state initialisation takes place before the first loop, the results for the angular velocity do not change and remain zero. When trying to compute afterwards: model.getSimbodyEngine().getAcceleration(stat...
by Nasma Dasser
Wed May 08, 2019 1:20 pm
Forum: OpenSim
Topic: Extracting the angular velocity
Replies: 8
Views: 1383

Extracting the angular velocity

Dear Opensim community, I am trying to extract a body (in this example the tibia_r) angular velocity using the SimBodyEngine on Python 2.7 without going through the Analyze Tool. - The model is the Gait2354 - The states file consists of joint coordinates extracted from IK - I realise the state varia...