Search found 6 matches

by Mhairi McInnes
Thu Mar 14, 2024 1:01 pm
Forum: OpenSim
Topic: Extracting model information during inverse kinematics?
Replies: 1
Views: 352

Extracting model information during inverse kinematics?

Hello, I'm trying to get the time-varying orientation of every body in my model, after running marker-based inverse kinematics. I'm getting the data I expect, but I'm not sure my process is very efficient... My current system (using API through python scripting) is to: 1. Run the inverse kinematics ...
by Mhairi McInnes
Thu Feb 15, 2024 7:50 am
Forum: OpenSim
Topic: Creating SimTK Rotations from Numpy arrays
Replies: 1
Views: 197

Re: Creating SimTK Rotations from Numpy arrays

*** UPDATE*** I've found a solution (for anyone else interested). Creating a rotation in python scripting can be as simple as this: mat = osim.Mat33(1, 0, 0, 0, 1, 0, 0, 0, 1) rot = osim.Rotation(mat) I was then able to create my transform from the rotation and a translation vector: transform = osim...
by Mhairi McInnes
Thu Feb 15, 2024 5:38 am
Forum: OpenSim
Topic: Creating SimTK Rotations from Numpy arrays
Replies: 1
Views: 197

Creating SimTK Rotations from Numpy arrays

Hi there, Using the OpenSim API through python scripting, how can I create a SimTK Rotation from a numpy array matrix? More generally - I am trying to update the transform of an IMU PhysicalOffsetFrame associated with a body in my model (so I can manually apply my own calibrations, rather than rely ...
by Mhairi McInnes
Sat Dec 10, 2022 10:16 am
Forum: OpenSim
Topic: OpenSim 4.4 constantly crashes
Replies: 5
Views: 779

Re: OpenSim 4.4 constantly crashes

I am also experiencing a very similar situation to Nev - same workflow which causes OpenSim 4.4 to quit unexpectedly. Just after using IMU IK.
by Mhairi McInnes
Wed Nov 30, 2022 9:49 am
Forum: OpenSim
Topic: Using Delsys IMU Data in OpenSense
Replies: 2
Views: 472

Re: Using Delsys IMU Data in OpenSense

Thank you Ayman, that's really helpful to know. I will just work out how to convert the file into the Xsens format (or create the .sto file, as you say).

Mhairi
by Mhairi McInnes
Tue Nov 22, 2022 9:33 am
Forum: OpenSim
Topic: Using Delsys IMU Data in OpenSense
Replies: 2
Views: 472

Using Delsys IMU Data in OpenSense

Hi there, In the OpenSense tutorial, the possibility of supporting other IMU manufacturers was mentioned a few times. Any idea when this might be available? I'm working with Delsys Trigno IMUs. My post-graduate research will focus on validating IMUs for upper-limb movement analysis and I can see tha...