antoinefalisse / opensimad Goto Github PK
View Code? Open in Web Editor NEWLibraries for OpenSimAD - OpenSim with support for Algorithmic Differentiation
License: Apache License 2.0
Libraries for OpenSimAD - OpenSim with support for Algorithmic Differentiation
License: Apache License 2.0
Hi,
I am trying the code to generate some external functions in Linux for the models being used in this project: https://github.com/antoinefalisse/predictsim_mtp
It seems some models can work but others cannot.
For example, when it comes to model: new_model_noMTP_scaled_FK.osim from predictsim_mtp\OpenSimModel\new_model\Model
The code cannot generate the external functions with the following error:
terminate called after throwing an instance of 'std::runtime_error' what(): Needs to be symbolic make[2]: *** [CMakeFiles/new_model_noMTP_scaled_FK.dir/build.make:103: new_model_noMTP_scaled_FK] Aborted make[2]: *** Deleting file 'new_model_noMTP_scaled_FK' make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/new_model_noMTP_scaled_FK.dir/all] Error 2 make: *** [Makefile:91: all] Error 2 Traceback (most recent call last): File "main.py", line 55, in <module> generateExternalFunction(pathOpenSimModel, pathExample, pathID, File "/home/minht/OpenSim_External/opensimAD/utilities.py", line 560, in generateExternalFunction buildExternalFunction(outputFilename, outputDir, 3*nCoordinates, File "/home/minht/OpenSim_External/opensimAD/utilities.py", line 745, in buildExternalFunction generateF(nInputs) File "/home/minht/OpenSim_External/opensimAD/utilities.py", line 658, in generateF y,_,_ = foo.foo(arg) TypeError: cannot unpack non-iterable NoneType object
I hope you could solve this issue.
Check existing joints in model and accordingly add headers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.