Search found 47 matches

by Vishal R
Fri Apr 02, 2021 2:46 am
Forum: OpenSim
Topic: creating IK setup file in Matlab
Replies: 6
Views: 1321

Re: creating IK setup file in Matlab

Hi Sheeba, I just looked into the API documentation and it looks like you might have to use OpenSim4.2 to do it. set_model_file() is only available in IMUInverseKinematicsTool for OpenSim4.1 I tested it by installing the opensim4.2 and executing the following: import org.opensim.modeling.*; my_ik = ...
by Vishal R
Thu Apr 01, 2021 1:55 am
Forum: OpenSim
Topic: creating IK setup file in Matlab
Replies: 6
Views: 1321

Re: creating IK setup file in Matlab

Hi Sheeba

You can get the list of methods in InverseKinematicTool by using methods()

Image

I guess you can use setModel(). Hope this helps.

Best,
Vishal
by Vishal R
Wed Mar 31, 2021 6:26 am
Forum: OpenSim
Topic: Extra columns with no headers in CMC generated outputs file
Replies: 3
Views: 737

Re: Extra columns with no headers in CMC generated outputs file

Hi Ayman, Hi Vishal, Since you're building/modifying models, the likely scenario is that you added state variables that have blank names or some other state variables that contain spaces in them and that causes the problem downstream. I would try to fix the problem with the names rather than the dow...
by Vishal R
Tue Mar 30, 2021 6:15 am
Forum: OpenSim
Topic: Extra columns with no headers in CMC generated outputs file
Replies: 3
Views: 737

Extra columns with no headers in CMC generated outputs file

Hi, I was performing CMC on one of the models that I am developing in OpenSim. The RRA and CMC were computed without errors. While analyzing the data using MATLAB, I got the following error while executing osimTableToStruct(cmc_actuator_file_name). Unexpected number of columns in line 24. Expected =...
by Vishal R
Tue Dec 03, 2019 11:55 am
Forum: OpenSim Moco
Topic: exampleMocoTrack (MATLAB)
Replies: 6
Views: 1904

Re: exampleMocoTrack (MATLAB)

Thanks a lot, Nick! It worked :)
by Vishal R
Mon Dec 02, 2019 5:56 am
Forum: OpenSim Moco
Topic: exampleMocoTrack (MATLAB)
Replies: 6
Views: 1904

exampleMocoTrack (MATLAB)

Dear Moco Team, I was successful in running slidingMass example in MATLAB. I have been trying to run the exampleMocoTrack example using MATLAB2018a in Windows 10. I am getting the following error while executing `muscleDrivenStateTracking()` the err.log shows these: Warning: intermediate_callback is...
by Vishal R
Wed Oct 23, 2019 8:33 am
Forum: OpenSim
Topic: RRA Workflow
Replies: 6
Views: 1521

Re: RRA Workflow

After running RRA for several iterations the pelvic moment residuals do not seem to reduce but increase at every iteration and the values are large. Also there is drift in pelvic residuals. Hello Shivangi, I am not aware of what activity are you trying to analyze in your study. So assuming it as a ...
by Vishal R
Mon Jul 29, 2019 9:50 am
Forum: OpenSim
Topic: customActuator as Pluggin - Objects not registered
Replies: 5
Views: 1070

Re: customActuator as Pluggin - Objects not registered

Dear Ayman,

Thanks a lot! I did find the examples and it worked like a charm. Here in this case I had to build two dll files separately and load into GUI. :)

Best,
Vishal
by Vishal R
Mon Jul 29, 2019 8:16 am
Forum: OpenSim
Topic: customActuator as Pluggin - Objects not registered
Replies: 5
Views: 1070

Re: customActuator as Pluggin - Objects not registered

Hi, Sorry to bring this up. Can someone please let me know on how to resolve this problem? I get the following warning when I try to load the osim file in GUI generated using C++ API example (v4.0) Also, I dont get to see the actuators in the navigator. Object::newInstanceOfType(): object type 'Pist...
by Vishal R
Wed Jul 10, 2019 2:14 am
Forum: OpenSim
Topic: Forward Dynamics with Coordinate Actuators
Replies: 3
Views: 785

Re: Forward Dynamics with Coordinate Actuators

Thanks a lot, James! I wasn't aware of this CorrectionController at all. May I know how you wrote this setup file after adding the controller. I mean how did you know the correct names of the tags that have to be put. The API docs show member functions only https://simtk.org/api_docs/opensim/api_doc...