Enable Metabolic Probe in Model?
Posted: Fri Feb 14, 2020 8:11 am
Hey Moderators,
I'm scripting CMCs from Matlab. Prior to scake/IK/RRA, I saved a generic model with metabolic probes (UMB2010). However, when I get to CMC, the probes are disabled for some reason. I have found ways to addProbes and I can load the UMB Probeset, but I'm wondering if there's a way to simply enable the probes already present and update the model.
I noticed there are "isEnabled" and "set_enabled" functions & properties for the Probe in the API, but I can't seem to call the function correctly when referencing the model. I'm wondering if there is a difference between "Probe" and "ProbeSet"
https://simtk.org/api_docs/opensim/api_ ... Probe.html
I have an override by opening the model in OpenSim and manually enabling the probe, but it would be amazing to automate it.
Thank you!
I'm scripting CMCs from Matlab. Prior to scake/IK/RRA, I saved a generic model with metabolic probes (UMB2010). However, when I get to CMC, the probes are disabled for some reason. I have found ways to addProbes and I can load the UMB Probeset, but I'm wondering if there's a way to simply enable the probes already present and update the model.
I noticed there are "isEnabled" and "set_enabled" functions & properties for the Probe in the API, but I can't seem to call the function correctly when referencing the model. I'm wondering if there is a difference between "Probe" and "ProbeSet"
https://simtk.org/api_docs/opensim/api_ ... Probe.html
I have an override by opening the model in OpenSim and manually enabling the probe, but it would be amazing to automate it.
Thank you!