Search found 15 matches
- Thu Nov 20, 2014 8:32 pm
- Forum: OpenSim
- Topic: Modeling through Matlab
- Replies: 3
- Views: 912
Re: Modeling through Matlab
Hi James, Thank you for your reply. I am still getting the same errors if I run setSpeedValue No method 'setSpeedValue' with matching signature found for class 'org.opensim.modeling.Coordinate'. However, if i change it to setDefaultSpeedValue, I can get it to run without error. From my model, I do n...
- Wed Nov 19, 2014 8:24 pm
- Forum: OpenSim
- Topic: Modeling through Matlab
- Replies: 3
- Views: 912
Modeling through Matlab
Hi, I am trying to edit the dynamic walker model files, so they will execute a muscle that I have modeled in MATLAB. I have been able to successfully edit the model so my model will run in place of an added path actuator. However, I am trying to edit the initial condition, velocity. By editing the C...
- Wed Nov 12, 2014 7:06 pm
- Forum: OpenSim
- Topic: Adding a Custom Muscle to a model
- Replies: 12
- Views: 3788
Re: Adding a Custom Muscle to a model
I am having trouble getting the Coordinate to work Vint=Coordinate(); Vint.setMotionType(Translational); Vint.setdefultValue(-0.009); Vint.setRangeMin(-inf); Vint.setRangeMax(inf); I keep getting the error No method 'setMotionType' with matching signature found for class 'org.opensim.modeling.Coordi...
- Tue Nov 11, 2014 7:55 am
- Forum: OpenSim
- Topic: Adding a Custom Muscle to a model
- Replies: 12
- Views: 3788
Re: Adding a Custom Muscle to a model
I know if I am running in opensim i can change the initial length and velocity in the coordinates tab, is there a way to do that in matlab?? Also, I am calling the time via t= osimState.getTime() and i noticed that it takes unequal time steps. Is there a way to make it take equal time steps and to i...
- Tue Nov 04, 2014 1:18 pm
- Forum: OpenSim
- Topic: Adding a Custom Muscle to a model
- Replies: 12
- Views: 3788
Re: Adding a Custom Muscle to a model
1. Yes, i have put a break point n the muscle model function, and I will get an output of force from my muscle model function. 2. I have tried to, but i keep getting errors. that is how im doing it? % Update modelControls with the new values actControls.set(FD, val); %FD= muscle force osimModel.updA...
- Mon Nov 03, 2014 7:32 am
- Forum: OpenSim
- Topic: Adding a Custom Muscle to a model
- Replies: 12
- Views: 3788
Re: Adding a Custom Muscle to a model
I have been able to implement my model into the dynamic walker scripts and it will run without errors. However, I am unsure if it is using my model to calculate force, or if it is still using the path acutator (I get the same results with my muscle implemented and without). Is there a way to ensure ...
- Sun Oct 05, 2014 11:33 am
- Forum: OpenSim
- Topic: Adding a Custom Muscle to a model
- Replies: 12
- Views: 3788
Re: Adding a Custom Muscle to a model
I have been able to add a path actuator, pathAct_LK, to the model. But I have not been able to get the length and speed. I keep getting the error Error using OpenSimPlantControlsFunction (line 89) The name 'pathAct_LK' is not an accessible property for an instance of class 'org.opensim.modeling.Mode...
- Sun Oct 05, 2014 7:32 am
- Forum: OpenSim
- Topic: Setting up matlab scripting enviroment
- Replies: 14
- Views: 3937
Re: Setting up matlab scripting enviroment
Sarah where you able to get it to work?
If you can't get the script to run, you can follow the directions on setting up the environment manually, and that should work
Kristen
If you can't get the script to run, you can follow the directions on setting up the environment manually, and that should work
Kristen
- Mon Sep 22, 2014 6:50 pm
- Forum: OpenSim
- Topic: Adding a Custom Muscle to a model
- Replies: 12
- Views: 3788
Re: Adding a Custom Muscle to a model
Hi Ajay, I have a few clarifying questions. I have successfully edited the Main_WalkerFunctionSimWithControls.m to run with a path actuator instead of a coordinate actuator. Then added my muscle function to the OpenSimPlantControlsFunction.m file, like you suggested. I am currently using LKnee_rz as...
- Tue Jul 22, 2014 9:20 am
- Forum: OpenSim
- Topic: Adding a Custom Muscle to a model
- Replies: 12
- Views: 3788
Adding a Custom Muscle to a model
Hello, I am trying to implement a new muscle into OpenSim thru MATLAB. I have the complete muscle function written in MATLAB already. I am trying to implement it as a path actuator however I can not get OpenSim to recognize my function. I have also gone through the example of the Dynamic Walker Chal...