Search found 2244 matches

by Ayman Habib
Fri Oct 20, 2023 10:35 am
Forum: OpenSim
Topic: Limb swapped between vicon and opensim
Replies: 1
Views: 391

Re: Limb swapped between vicon and opensim

Hello,

You should check for consistent naming of the markers between all the data sources since the association is based on names and we have no way to see what the names in vicon or the model you're using are.

Hope this helps,
-Ayman
by Ayman Habib
Fri Oct 20, 2023 10:31 am
Forum: OpenSim
Topic: Visualizer window
Replies: 1
Views: 474

Re: Visualizer window

Hi Andreas,

Please check the discussion in this forum topic from a user who had a similar issue and let us know if the suggestions there work for you
viewtopicPhpbb.php?f=91&t=11225&p=31178&start=0&view=

Best regards,
-Ayman
by Ayman Habib
Fri Oct 20, 2023 10:27 am
Forum: OpenSim
Topic: Unable to load motions into models
Replies: 1
Views: 512

Re: Unable to load motions into models

Hello Raghavi, Let me explain why you may get such a message. Motion files are basically csv like text files that contain trajectories of model coordinates over time. If you try to load a motion to a model that doesn't have these coordinates (based on name matching of the file header) then you'll ge...
by Ayman Habib
Mon Oct 02, 2023 3:59 pm
Forum: OpenSim
Topic: How to do Kinematics with IMU data workflow in Python
Replies: 4
Views: 1383

Re: How to do Kinematics with IMU data workflow in Python

Hello, Just guessing here that the function expects a reference to string, and that fails because the argument is created on the call line. I'd split the last line into two: full_file_name = .... osim.STOFileAdapterQuaternion.write(quaternionTable, full_file_name ) Please let us know if that works, ...
by Ayman Habib
Wed Sep 20, 2023 8:36 pm
Forum: OpenSim
Topic: Installing OpenSim 4.0 on MacOSX
Replies: 2
Views: 383

Re: Installing OpenSim 4.0 on MacOSX

Hello,

I'd try version 4.4 on your machine and see if the same problem exists or if it works, this should help resolve if the OS is the issue.

Please let us know what you find out,
-Ayman
by Ayman Habib
Thu Sep 14, 2023 2:58 pm
Forum: OpenSim
Topic: Unable to find body geometries
Replies: 2
Views: 457

Re: Unable to find body geometries

Hello, The vtp files are included in the distribution e.g. if the application is installed into D:\OpenSim 4.4, they would be under D:\OpenSim 4.4\Geometry. Under the Edit->Preferences menu of the application there is an entry for "Geometry Search Path" that should point to this folder "D:\OpenSim 4...
by Ayman Habib
Tue Sep 05, 2023 3:32 pm
Forum: OpenSim
Topic: How to include a visualisation in a web (html) page ?
Replies: 2
Views: 803

Re: How to include a visualisation in a web (html) page ?

Hi Jonathan, There're bits and pieces and examples of using WebGl to visualize OpenSim models in custom web applications, however there's no universal viewer to allow for this functionality as of now. We're working on one and it would be great if you, and other interested members, can open issue/fea...
by Ayman Habib
Tue Aug 29, 2023 1:24 pm
Forum: OpenSim
Topic: Update frame's translations and orientations
Replies: 1
Views: 506

Re: Update frame's translations and orientations

Hello, Generally the API uses two parallel mechanisms in C++, one to obtain const references (e.g. get_translation) and a different call to return a mutable reference (e.g. upd_translation). If you want to change the contents of a property (Vec3 translation in this case), you'd call upd_translation ...
by Ayman Habib
Thu Aug 24, 2023 1:26 pm
Forum: OpenSim
Topic: Classes to use MOT file in MATLAB to move model and analyse actuators
Replies: 2
Views: 930

Re: Classes to use MOT file in MATLAB to move model and analyse actuators

Hello, Generally speaking, 1. If you don't need muscles in your model, you're better off removing them from the file to begin with rather than programmatically removing them one by one. 2. The assumptions about the ordering of values/coordinates in the state can be tricky, so assigning values from a...
by Ayman Habib
Thu Aug 24, 2023 1:12 pm
Forum: OpenSim
Topic: I can't find the relevant file
Replies: 2
Views: 663

Re: I can't find the relevant file

Hello,

The documentation suggests that the file in question is produced when you run CMC, please clarify if you did run CMC and the file wasn't written. Depending on where you ran the tools from, the file may live in a different folder.

Hope this helps,
-Ayman