Search found 1789 matches
- Sat Dec 17, 2016 3:43 pm
- Forum: OpenSim
- Topic: Access violation adding Controller
- Replies: 6
- Views: 1472
Re: Access violation adding Controller
There is a test case that demonstrates adding a PrescribedController to a Model in testControllers.cpp (see testPrescribedControllerOnBlock()): https://github.com/opensim-org/opensim- ... s.cpp#L212
- Sat Dec 17, 2016 3:30 pm
- Forum: OpenSim
- Topic: pain simulate
- Replies: 1
- Views: 255
Re: pain simulate
You may be able to build a model of pain, depending on the source of the pain. The following resources describe some of the capabilities of the muscle models currently available in OpenSim: - "Muscle Model Theory and Publications" page on Confluence: http://simtk-confluence.stanford.edu:8080/display...
- Thu Dec 15, 2016 5:21 am
- Forum: OpenSim
- Topic: Set up Integrator and Manager for Simulation in Matlab
- Replies: 8
- Views: 897
Re: Set up Integrator and Manager for Simulation in Matlab
The Doxygen documentation for Manager ( https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1Manager.html ) might have helped: it lists three constructors, one of which "takes a model only and builds integrator internally". do I know which integrator is taken now? The documentation doesn't in...
- Thu Dec 15, 2016 4:17 am
- Forum: OpenSim
- Topic: Set up Integrator and Manager for Simulation in Matlab
- Replies: 8
- Views: 897
Re: Set up Integrator and Manager for Simulation in Matlab
Thanks for clarifying. Some of the SimTK classes are not wrapped and access/modification via Matlab is limited. In this case, you can do the following: import org.opensim.modeling.* model = Model('myModel.osim'); manager = Manager(model); %constructs an integrator internally manager.setIntegratorAcc...
- Wed Dec 14, 2016 9:15 pm
- Forum: OpenSim
- Topic: Error load plugin in Matlab
- Replies: 7
- Views: 1195
Re: Error load plugin in Matlab
Have you tried using Model.LoadOpenSimLibrary()? See viewtopicPhpbb.php?f=91&t=6387.
- Wed Dec 14, 2016 3:47 pm
- Forum: OpenSim
- Topic: Ankle sprain simulation controllers
- Replies: 3
- Views: 438
Re: Ankle sprain simulation controllers
You may find some useful information in the following recent publication:
DeMers, M.S., Hicks, J.L., Delp, S.L., 2016. Preparatory co-activation of the ankle muscles may prevent ankle inversion injuries. Journal of Biomechanics. http://dx.doi.org/10.1016/j.jbiomech.2016.11.002
DeMers, M.S., Hicks, J.L., Delp, S.L., 2016. Preparatory co-activation of the ankle muscles may prevent ankle inversion injuries. Journal of Biomechanics. http://dx.doi.org/10.1016/j.jbiomech.2016.11.002
- Wed Dec 14, 2016 3:12 pm
- Forum: OpenSim
- Topic: Error load plugin in Matlab
- Replies: 7
- Views: 1195
Re: Error load plugin in Matlab
if I have OpenSim source code, add the CoupledBushingForce into Actuator folder, use CMake to create the solution and then build the OpenSim. Do you think this way will work? You would also need to register the object using Object::registerType() (see OpenSim/Simulation/RegisterTypes_osimSimulation...
- Wed Dec 14, 2016 1:20 pm
- Forum: OpenSim
- Topic: Error load plugin in Matlab
- Replies: 7
- Views: 1195
Re: Error load plugin in Matlab
The C1083 error ("Cannot open include file: 'OpenSim/Simulation/osimSimulationDLL.h': No such file or directory") points to one problem. Have you added the directory containing the plugin to the "librarypath" in Matlab? See http://simtk-confluence.stanford.edu:8080/display/OpenSim/Using+Plugins , po...
- Wed Dec 14, 2016 1:05 pm
- Forum: OpenSim
- Topic: Set up Integrator and Manager for Simulation in Matlab
- Replies: 8
- Views: 897
Re: Set up Integrator and Manager for Simulation in Matlab
The name of the class is RungeKuttaMersonIntegrator (the mathematician's name was Kutta, with a "u"). Here's the doxygen documentation: https://simtk.org/api_docs/simbody/3.5/ ... rator.html).
- Tue Dec 13, 2016 7:40 pm
- Forum: OpenSim
- Topic: Set up Integrator and Manager for Simulation in Matlab
- Replies: 8
- Views: 897
Re: Set up Integrator and Manager for Simulation in Matlab
1. getMultibodySystem() returns a MultibodySystem, not an integrator. There is no setAccuracy() method on MultibodySystem (see https://simtk.org/api_docs/simbody/3.5/classSimTK_1_1MultibodySystem.html ). 2. setAccuracy() is a method, not a field; the accuracy would be set by calling something like t...