Search found 7 matches

by Ricky Pimentel
Tue Feb 18, 2020 9:48 am
Forum: OpenSim
Topic: Enable Metabolic Probe in Model?
Replies: 6
Views: 1173

Re: Enable Metabolic Probe in Model?

Gah, the capitalization and lack of ' ' got me. Hooray for working in multiple programming languages at once. On that note, I translated the python addMetabolicProbes script into matlab. Thank you for the help! Hopefully this can be useful for someone: clc; import org.opensim.modeling.* import java....
by Ricky Pimentel
Fri Feb 14, 2020 1:47 pm
Forum: OpenSim
Topic: Enable Metabolic Probe in Model?
Replies: 6
Views: 1173

Re: Enable Metabolic Probe in Model?

Thanks, that is what I am trying to do. I have tried calling the function by: activationMaintenanceRateOn = "True"; shorteningRateOn = "True"; basalRateOn = "False"; mechanicalWorkRateOn = "True"; reportTotalMetabolicsOnly = "False"; wholeBodyProbe = Umberger2010MuscleMetabolicsProbe(activationMaint...
by Ricky Pimentel
Fri Feb 14, 2020 10:55 am
Forum: OpenSim
Topic: Enable Metabolic Probe in Model?
Replies: 6
Views: 1173

Re: Enable Metabolic Probe in Model?

Thanks Thomas, My failed attempts to update or enable the current probe in the model are below. When I do this, CMC will run, but it will not export any muscle metabolic costs (attached picture). As I already have the UMB2010 probe set up in the model, I'm trying to enable it. I could alternatively ...
by Ricky Pimentel
Fri Feb 14, 2020 8:11 am
Forum: OpenSim
Topic: Enable Metabolic Probe in Model?
Replies: 6
Views: 1173

Enable Metabolic Probe in Model?

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 s...
by Ricky Pimentel
Fri Dec 13, 2019 7:26 am
Forum: OpenSim Moco
Topic: exampleMocoTrack (MATLAB)
Replies: 6
Views: 1933

Re: exampleMocoTrack (MATLAB)

Wow, props on the quick response! I don't see any solver.set_num_mesh_intervals() in there. The track setting mesh interval is on line 168, and the error occurs right after on line 173. Here's the Matlab code: % -------------------------------------------------------------------------- % % OpenSim M...
by Ricky Pimentel
Thu Dec 12, 2019 12:23 pm
Forum: OpenSim Moco
Topic: exampleMocoTrack (MATLAB)
Replies: 6
Views: 1933

Re: exampleMocoTrack (MATLAB)

Thanks OpenSim&Moco teams for putting this tool out for us! I have successfully ran the sliding mass and 2DWalk (from Brian Umberger) examples in Matlab. I'm having an issue running exampleMocoTrack in Matlab. This happened before and after adding in what you fixed for Vishal. The error message is: ...
by Ricky Pimentel
Mon Aug 19, 2019 5:44 am
Forum: OpenSim
Topic: Error when opening the program
Replies: 2
Views: 188

Re: Error when opening the program

Info on how to add the path below

https://www.java.com/en/download/help/path.xml