Page 1 of 1

Visualizer through Matlab's command line

Posted: Mon May 24, 2021 5:50 pm
by bruno_pinch
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

Re: Visualizer through Matlab's command line

Posted: Tue May 25, 2021 8:06 am
by tkuchida
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.

Re: Visualizer through Matlab's command line

Posted: Tue May 25, 2021 7:36 pm
by bruno_pinch
Thanks Thomas, I will try this.

Cheers,

Patricio