Search found 3 matches
- Fri Jan 17, 2025 12:18 pm
- Forum: OpenSim
- Topic: Obtaining body rotation matrices in a loop
- Replies: 3
- Views: 1137
Re: Obtaining body rotation matrices in a loop
Hi Nicos. That provided a really helpful starting point, thanks! I suspected that I needed to assign state value and just setting time wouldn't do it. I also realized that the name of the states in my model were in a different format than the .mot file (e.g., 'pelvis_tilt' vs. '/jointset/ground_pelv...
- Thu Jan 16, 2025 7:47 pm
- Forum: OpenSim
- Topic: Obtaining body rotation matrices in a loop
- Replies: 3
- Views: 1137
Obtaining body rotation matrices in a loop
Hi. I am trying to obtain the body rotation matrix (e.g., with respect to the ground) in a loop in MATLAB. But the body rotation/translation never gets updated. What am I doing wrong? Thanks! import org.opensim.modeling.* model = Model('Generated_Model.osim'); storage = Storage('stride_1_IKOut.mot')...
- Sun Oct 20, 2024 7:37 pm
- Forum: OpenSim
- Topic: vtp surface files
- Replies: 2
- Views: 1348
Re: vtp surface files
It seems I am experiencing a similar problem. I started from a .vtp file from Rajagopal 2015 model, modified the mesh in Paraview, and exported as .vtp again; but I get the following error in OpenSim 4.5 when I load the model, and the geometry does not show up either. Visualizer couldn't open hat_sp...