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 to generate output for the one that I have added the object. An error message saying "tool execution failed or cancelled by the user. output files were not written" is popped up.
I am a beginner to this software. so please let me know what is/might causing the error and what might be the solution.
tool execution failed or cancelled by user. output files were not written.
- Sreejan Alapati
- Posts: 9
- Joined: Mon Feb 01, 2021 2:15 am
- Thomas Uchida
- Posts: 1794
- Joined: Wed May 16, 2012 11:40 am
Re: tool execution failed or cancelled by user. output files were not written.
It depends what you are trying to add to the model, but Notepad++ is generally not the best strategy. Please see the "Scripting and Development" section of the documentation (https://simtk-confluence.stanford.edu/d ... evelopment) for information on how add bodies to models. If you are just trying to model a mass in the hand, you might instead just increase the mass of the hand itself. This would be much simpler- see the "Property Editor and Outputs List" page in the documentation (https://simtk-confluence.stanford.edu/d ... tputs+List).
- Sreejan Alapati
- Posts: 9
- Joined: Mon Feb 01, 2021 2:15 am
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 me?
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 me?
- Ayman Habib
- Posts: 2252
- Joined: Fri Apr 01, 2005 12:24 pm
Re: tool execution failed or cancelled by user. output files were not written.
Hello,
Thanks for describing your plan for using OpenSim. Basically you will need to model your exoskeleton in OpenSim using its own abstractions (Bodies, Joints, Constraints, Actuators, Controllers, etc.). CAD systems typically allow you to model geometry in great details but geometry is used in OpenSim exclusively for visualization. The geometry can be imported as mesh files but any other "modeling" can not be imported into OpenSim. It's a choice you need to make regarding the level of details you want to model the exoskeleton.
Hope this helps,
-Ayman
Thanks for describing your plan for using OpenSim. Basically you will need to model your exoskeleton in OpenSim using its own abstractions (Bodies, Joints, Constraints, Actuators, Controllers, etc.). CAD systems typically allow you to model geometry in great details but geometry is used in OpenSim exclusively for visualization. The geometry can be imported as mesh files but any other "modeling" can not be imported into OpenSim. It's a choice you need to make regarding the level of details you want to model the exoskeleton.
Hope this helps,
-Ayman
- Sreejan Alapati
- Posts: 9
- Joined: Mon Feb 01, 2021 2:15 am
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:8 ... el+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 file does open and shows me the object I have added, but I cannot run any simulations to it. The previously mentioned (subject matter) error is generated.
Any guidance is appreciated. Thanks.
I hope you are describing this tutorial: (https://simtk-confluence.stanford.edu:8 ... el+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 file does open and shows me the object I have added, but I cannot run any simulations to it. The previously mentioned (subject matter) error is generated.
Any guidance is appreciated. Thanks.