Search found 2252 matches
- Fri Oct 20, 2023 10:27 am
- Forum: OpenSim
- Topic: Unable to load motions into models
- Replies: 1
- Views: 641
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...
- Mon Oct 02, 2023 3:59 pm
- Forum: OpenSim
- Topic: How to do Kinematics with IMU data workflow in Python
- Replies: 4
- Views: 1617
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, ...
- Wed Sep 20, 2023 8:36 pm
- Forum: OpenSim
- Topic: Installing OpenSim 4.0 on MacOSX
- Replies: 2
- Views: 477
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
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
- Thu Sep 14, 2023 2:58 pm
- Forum: OpenSim
- Topic: Unable to find body geometries
- Replies: 2
- Views: 716
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...
- Tue Sep 05, 2023 3:32 pm
- Forum: OpenSim
- Topic: How to include a visualisation in a web (html) page ?
- Replies: 2
- Views: 933
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...
- Tue Aug 29, 2023 1:24 pm
- Forum: OpenSim
- Topic: Update frame's translations and orientations
- Replies: 1
- Views: 580
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 ...
- 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: 1127
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...
- Thu Aug 24, 2023 1:12 pm
- Forum: OpenSim
- Topic: I can't find the relevant file
- Replies: 2
- Views: 734
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
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
- Thu Aug 24, 2023 1:07 pm
- Forum: OpenSim
- Topic: About PathSpring definition
- Replies: 1
- Views: 431
Re: About PathSpring definition
Hello, A PathSpring contains a GeometryPath which is a sequence of PathPoints that are stationed on different bodies/segments (in essence it represents the geometric properties of a muscle path). As a force, however, it doesn't have a control signal. Please consult the documentation here for more de...
- Fri Aug 04, 2023 10:13 am
- Forum: OpenSim
- Topic: Inquiring OpenSim version <OpenSimDocument Version="20302">
- Replies: 2
- Views: 456
Re: Inquiring OpenSim version <OpenSimDocument Version="20302">
Hi Yuan, Not sure I understand your question but the snippet you describe "OpenSimDocument version=..." is included at the top of OpenSim files (.osim and .xml files) to encode the format of the elements in the XML file thus supporting backward compatibility. Our code parsing these files would conve...