Search found 47 matches
- Fri Oct 20, 2017 4:43 am
- Forum: OpenSim
- Topic: Adding independent Actuator and Controller to Model:
- Replies: 5
- Views: 1165
Adding independent Actuator and Controller to Model:
I have a model that has a number of muscle actuators and I want to add another actuator that applies force on two segments of the model as a function of some of the state variables in the model. I reckon I should define an actuator and a controller for that additional actuator (similar to tugOfWar a...
- Fri Sep 22, 2017 9:29 am
- Forum: OpenSim
- Topic: User-defined Optimizer:
- Replies: 1
- Views: 107
User-defined Optimizer:
Hi,
I am planning to incorporate a user-defined optimizer to my OpenSim project. Can someone guide me on where to put that? If I derive a class for it from the Optimizer class, I am not sure which method of the Optimizer will link to it. Any help will be appreciated. Thanks.
Musa
I am planning to incorporate a user-defined optimizer to my OpenSim project. Can someone guide me on where to put that? If I derive a class for it from the Optimizer class, I am not sure which method of the Optimizer will link to it. Any help will be appreciated. Thanks.
Musa
- Wed Sep 20, 2017 2:04 pm
- Forum: OpenSim
- Topic: isCacheVariableValid Error:
- Replies: 3
- Views: 533
Re: isCacheVariableValid Error:
I solved this problem by replacing 'Muscle' with 'PathActuator'. I don't know why it did not work with muscle though.
- Wed Sep 20, 2017 9:59 am
- Forum: OpenSim
- Topic: isCacheVariableValid Error:
- Replies: 3
- Views: 533
Re: isCacheVariableValid Error:
Thanks Tom. I followed your advise and picked one of the model files that came with OpenSim 3.3. I realized the error was arising when I tried to compute moment arms; and with the OpenSim model file also I got the same error! The following is a snippet of the code: Model osimModel("gait10dof18musc.o...
- Mon Sep 18, 2017 12:52 pm
- Forum: OpenSim
- Topic: isCacheVariableValid Error:
- Replies: 3
- Views: 533
isCacheVariableValid Error:
Hi, I was running an optimization with newly defined muscle actuators that had associated path points and got the following run-time error: "ModelComponent::isCacheVariableValid: ERR- name not found. for component '' of type GeometryPath". The function isCacheVariableValid is called by the method 'u...
- Tue Sep 12, 2017 5:46 pm
- Forum: OpenSim
- Topic: Adding muscles to an exisiting model:
- Replies: 1
- Views: 2411
Adding muscles to an exisiting model:
Hi, I have an existing model (mymodel.osim) that only contains the definitions of the skeletal system - no muscles. I tried to add muscles to this existing model (C++) by creating an instance of the muscle and then using addForce and later addToSystem to append the muscle to the model but none of th...
- Mon Sep 11, 2017 7:59 am
- Forum: OpenSim
- Topic: Adding Conditional Path Points:
- Replies: 1
- Views: 1611
Adding Conditional Path Points:
Hi, I am trying to incorporate a new muscle model into a skeletal model (.osim file that started off with no muscle defined in it- only rigid segments connected by joints). I have all the info on each of the muscles that I need to add to the skeletal model; but in particular I have a problem with th...