Search found 8 matches
- Mon Aug 13, 2018 7:00 pm
- Forum: OpenSim
- Topic: applyForceToPoint()
- Replies: 1
- Views: 181
applyForceToPoint()
Hello everyone! I want to use the applyForceToPoint() function in the OpenSim::Force class. First I override the virtual functions clone() and getConcreteClassName() in the Force class. However, when I instantiate the object, the program reports an error saying that clone() and getConcreteClassName(...
Re: Exception
If you find that you're in need of a const_cast, it usually means you're not using the API the way it was designed (in which case Exceptions and undefined behavior should be expected). I recommend looking at the ToyReflexController example here: https://github.com/opensim-org/opensim-core/tree/1972...
Re: Exception
The Exceptions indicate that, while initializing the integrator, Simbody was attempting to perform a calculation that requires dynamics-level quantities but quantities had not been computed beyond the velocity level. It is difficult to determine the underlying issue or make any suggestions without ...
Exception
Hello,everyone! When I run my project, it always throws an exception as follows: SimTK Exception thrown at Integrator.cpp:431: Integrator initialization failed apparently because: SimTK Exception thrown at Subsystem.cpp:329: Excepted stage to be at least Dynamics in Subsystem::Guts::realizeSubsystem...
- Sat Aug 04, 2018 12:53 am
- Forum: OpenSim
- Topic: about setActivation
- Replies: 1
- Views: 194
about setActivation
Hello everybody, i'm trying to set activation of tib_ant_r. My code looks like this: Model anklemodel = Model("../model/Mysubject041.osim"); anklemodel.getMuscles().get(8).setActivation(s, tmp); When I debug the code, I always get an error :The qualifier is discarded when a reference to a type "SimT...
- Mon Jul 16, 2018 8:01 pm
- Forum: OpenSim
- Topic: how to get the ankle angle?
- Replies: 1
- Views: 226
how to get the ankle angle?
i am new in opensim!
Now there is a human musculoskeletal model. How can I get the ankle angle in the model in visual studio2017?
Now there is a human musculoskeletal model. How can I get the ankle angle in the model in visual studio2017?
- Thu Jul 05, 2018 11:46 pm
- Forum: OpenSim
- Topic: About building a model
- Replies: 3
- Views: 327
Re: About building a model
Thank youfor your reply! But you misunderstood what I meant. Now, there are two different .osim files. As mentioned above, one model file name is osimModel and the other model file name is ankleModel. I want to merge them into a model file in visual studiio 2017, but I don't know how to do it.
- Thu Jul 05, 2018 6:38 am
- Forum: OpenSim
- Topic: About building a model
- Replies: 3
- Views: 327
About building a model
In the beginning, I opened a model file in visual studio2017, then created a model, how to export the two model files to an .osim file.As shown below: Model osimModel; osimModel.setName("osimModel"); osimModel.setUseVisualizer(true); OpenSim::Model ankleModel = Model("../model/model/Mysubject04.osim...