Search found 9 matches

by Sreejan Alapati
Sat May 15, 2021 1:34 am
Forum: OpenSim
Topic: LNK2038 errors while running example code
Replies: 3
Views: 292

Re: LNK2038 errors while running example code

I was able to solve that too.
I have done two things...
a) I have provided full access for all users to the files that are in my OneDrive.
b) I have set the test environment as startup project.
Screenshot (37).png
Screenshot (37).png (250.9 KiB) Viewed 180 times
by Sreejan Alapati
Thu May 13, 2021 10:14 pm
Forum: OpenSim
Topic: LNK2038 errors while running example code
Replies: 3
Views: 292

Re: LNK2038 errors while running example code

Thanks,
That worked.. it doesn't generate errors anymore. But, it says it is unable to start program and Access is denied.
Screenshot (36).png
Screenshot (36).png (257.64 KiB) Viewed 201 times
by Sreejan Alapati
Thu May 13, 2021 11:25 am
Forum: OpenSim
Topic: LNK2038 errors while running example code
Replies: 3
Views: 292

LNK2038 errors while running example code

I have been trying to run the predefined examples. I had configured and Generated the project in CMake, which is successful.. But in Visual studio.. After running the checkenvironment.cpp is generating a list of LNK2038 errors
Screenshot (35).png
Screenshot (35).png (297.35 KiB) Viewed 292 times
. Can anyone help me with this?
by Sreejan Alapati
Sun Apr 25, 2021 10:01 pm
Forum: OpenSim
Topic: Matlab Vs CPP
Replies: 0
Views: 203

Matlab Vs CPP

Dear all, I am learning to script OpenSim files using the API method. I am just starting and have a long way to go, to involve OpenSim simulations in my exoskeleton research. Please suggest (with your experience), if Matlab or CPP is better for my case. I am hoping to use a fast and quick way to scr...
by Sreejan Alapati
Mon Apr 19, 2021 7:25 am
Forum: OpenSim
Topic: Unrecognized function or variable 'Model'.
Replies: 1
Views: 230

Re: Unrecognized function or variable 'Model'.

I solved the problem. I did not configure Matlab to run Opensim https://simtk-confluence.stanford.edu:8 ... ith+Matlab
by Sreejan Alapati
Sun Apr 18, 2021 11:55 pm
Forum: OpenSim
Topic: Unrecognized function or variable 'Model'.
Replies: 1
Views: 230

Unrecognized function or variable 'Model'.

I am just starting to do scripting in matlab. I wrote the script by importing opensim libraries as in this article. https://simtk-confluence.stanford.edu:8443/display/OpenSim33/Scripting+with+Matlab import org.opensim.modeling.* model = Model('arm26.osim'); body = Body('ball',0.01,Vec3(0),Inertia(0)...
by Sreejan Alapati
Wed Apr 14, 2021 12:24 pm
Forum: OpenSim
Topic: tool execution failed or cancelled by user. output files were not written.
Replies: 4
Views: 506

Re: tool execution failed or cancelled by user. output files were not written.

Thanks Habib. I hope you are describing this tutorial: (https://simtk-confluence.stanford.edu:8443/display/OpenSim33/Example+-+Model+Editing) when you say its own abstractions. I have followed it and imported a test object as ".stl" and edited its properties like weight and moment of inertia. The fi...
by Sreejan Alapati
Tue Apr 13, 2021 11:45 pm
Forum: OpenSim
Topic: tool execution failed or cancelled by user. output files were not written.
Replies: 4
Views: 506

Re: tool execution failed or cancelled by user. output files were not written.

Thanks for your quick reply. What I am planning to do with this software is to simulate an exoskeleton. So I would need to add my custom designed object (exoskeleton) to the environment. Should I add a CAD model of the exoskeleton? or Is there any other way? Please let me know the right approach for...
by Sreejan Alapati
Tue Apr 13, 2021 7:38 am
Forum: OpenSim
Topic: tool execution failed or cancelled by user. output files were not written.
Replies: 4
Views: 506

tool execution failed or cancelled by user. output files were not written.

I have added an object at the palm of the "arm26.osim" using Notepad++. Then I tried to run the CMC simulation with the predefined motion files and control files that one get with the installation. However, the simulation which worked with the same files for the original "arm26.osim" file, now fails...