Dear All,
We are using Matlab to batch process in Opensim. At the moment, we are using the visualizer to see the markers in the model, motion files etc (e.g. scaled_model.setUseVisualizer), but we would like to see the static markers (i.e. calibration markers) "on top" of the scaled model, as you would do in the Opensim gui after associating a motion data to the static pose (see attached pic). Is this possible through Matlab's command window?
Regards,
Patricio
Visualizer through Matlab's command line
- Patricio Pincheira
- Posts: 2
- Joined: Mon Mar 15, 2021 9:57 pm
Visualizer through Matlab's command line
- Attachments
-
- model + static
- OpenSim_fig.PNG (184.25 KiB) Viewed 244 times
Tags:
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: Visualizer through Matlab's command line
I don't think there's a single function you can call to do this, but you could instead add each calibration marker to the Ground body of your model. If your calibration data are relative to the Ground reference frame, the calibration markers should appear close to their corresponding model markers.
- Patricio Pincheira
- Posts: 2
- Joined: Mon Mar 15, 2021 9:57 pm
Re: Visualizer through Matlab's command line
Thanks Thomas, I will try this.
Cheers,
Patricio
Cheers,
Patricio