Search found 12 matches

by Junwei Sun
Fri Jul 08, 2022 2:20 pm
Forum: OpenSim
Topic: Scaling from mocap data (marker names don't match)
Replies: 2
Views: 325

Re: Scaling from mocap data (marker names don't match)

Thanks Ayman. I feel like there is quite a lot of work that has to be done manually. Once I added my experimental markers and carefully place them on the correct position on the model, I can go straight into the IK step and it successfully creates the motion result for me. Is it recommended to skip ...
by Junwei Sun
Thu Jul 07, 2022 9:44 pm
Forum: OpenSim
Topic: Scaling from mocap data (marker names don't match)
Replies: 2
Views: 325

Scaling from mocap data (marker names don't match)

Hi, I am learning the scaling tool. I have some mocap data with 25 experimental markers (upper body only). I am trying to scale the full body opensim model with 83 virtual markers. The two sets of markers have different names. How would I go about this? I have checked out the tutorial. If I understa...
by Junwei Sun
Thu Jul 07, 2022 12:21 pm
Forum: OpenSim
Topic: Regarding scale setup file
Replies: 2
Views: 296

Re: Regarding scale setup file

I am having the same questions. Can anyone please help??
by Junwei Sun
Fri Jun 17, 2022 6:45 am
Forum: OpenSim
Topic: How to convert Component to IMU?
Replies: 3
Views: 410

Re: How to convert Component to IMU?

Many thanks! Conversion to a more specific type can be done using `safeDownCast()`. This is a method in MATLAB/Python to help scripting users change the type. See the Common Scripting Commands page , and then there's an example under the "Exploring and Editing Models and Model Components" section.
by Junwei Sun
Thu Jun 16, 2022 12:39 pm
Forum: OpenSim
Topic: Angular velocity in global or body local frame
Replies: 6
Views: 714

Re: Angular velocity in global or body local frame

Can someone please confirm if the w(in local)=R*w(global) solution is correct? Hi carmichael, Thank you so much for your answer. Do you know how opensim convert global angular velocity/acceleration to local angular velocity/acceleration? I didn't find the exact formula and code there.w(in local)=R*w...
by Junwei Sun
Tue Jun 14, 2022 1:19 pm
Forum: OpenSim
Topic: How to convert Component to IMU?
Replies: 3
Views: 410

Re: How to convert Component to IMU?

I found this post https://github.com/opensim-org/opensim-core/pull/3002

But I don't understand how to convert the component into IMU type so I can run functions in IMU class
by Junwei Sun
Tue Jun 14, 2022 1:15 pm
Forum: OpenSim
Topic: How to convert Component to IMU?
Replies: 3
Views: 410

How to convert Component to IMU?

Hi, I was able to run IMU placer with script in GUI and added an IMU on the calibrated model. I was able to access the IMU component via name (e.g. "hand_l_imu"), yet I was not able to convert the Component type to IMU type, as I get the error "1st arg can't be coerced to org.opensim.modeling.IMU". ...
by Junwei Sun
Mon Jun 06, 2022 2:45 pm
Forum: OpenSim
Topic: IMU angular velocity to report local coordinate values?
Replies: 1
Views: 309

Re: IMU angular velocity to report local coordinate values?

I suppose it could be done with script? https://opensim-org.github.io/opensim-moco-site/docs/1.1.0/html_user/classOpenSim_1_1IMUDataReporter.html I would like to know how to use motion as input when running IMUDataReporter analysis with script, and how to make it report angular velocities in local c...
by Junwei Sun
Mon Jun 06, 2022 10:08 am
Forum: OpenSim
Topic: IMU angular velocity to report local coordinate values?
Replies: 1
Views: 309

IMU angular velocity to report local coordinate values?

When I place an IMU on the model, no matter which initial IMU orientation I chose, the IMUDataReporter gives the same results of the angular velocities for the same motion. I believe the angular velocities are global/world coordinate values. Is it possible to make IMUDataReporter report angular velo...
by Junwei Sun
Fri Apr 08, 2022 7:18 am
Forum: OpenSim
Topic: Synthetic IMU Data from Motion - Questions from a Newbie
Replies: 1
Views: 350

Re: Synthetic IMU Data from Motion - Questions from a Newbie

Does anyone have experience using IMUDataReporter?