-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error of project “01_Statics\06_Tendon_Robot_Variants\Cpp_3\Tendon_Displacement_Control” #9
Comments
I can't replicate the compile error with the tendon displacement control. That file does exist, maybe check if it exists in your installation? The dynamic tendon robot example runs just fine with mingw, but fails with MSVC2019. That would tend to make me think there is UB (undefined behaviour) somewhere in the code, but I'll look into it. |
Yes, it was an uninitialized value because the ODE function sets variables used in the derivative calculation, and the ODE function was not being called at the last grid point. This has been corrected. Thanks for raising the issue! Let me know what you find about the include file error. Thanks, |
Hi John, I have tested two environment: MSVC2019+QT5.15.2 & MSVC2017+QT5.12.2 , The result is the same. As for the error: Thanks, |
Hi John, |
Well you should pull the latest version of the repo- the UB can cause issues even if they don't result in an obvious failure. Not sure why the relative path wasn't working in the original folder; they are both nested 3 levels from the base directory. |
All the problems have been solved,thanks for your help. I use "git clone" to get the code, the first problem is gone. The project "02_Dynamics\03_Tendon_Robot" also works well in "Debug" model now, but it's still not as fast as “Release” model due to some inherent properties. I will do some related research,I will study your work seriously! |
Good! Thanks again for pointing out the issue, Lisong. I hope the research goes well and feel free to reach out if you have questions. -John |
Hi John,
I have read your paper "Real-time dynamics of soft and continuum robots based on Cosserat rod models", it's a very nice job. I am very happy to learn your code.
There is a Build error when I buid the project “01_Statics\06_Tendon_Robot_Variants\Cpp_3\Tendon_Displacement_Control”:
:-1: error: dependent '..\..\..\Library\eigen\Eigen\src\Core\products\GeneralBlockPanelKernel.h' does not exist.
The project "01_Statics\05_Tendon_Robot" dosen't have this problem, I think it's strange.
The project "02_Dynamics\03_Tendon_Robot" also have a problem that the Final sum of squares is so big and solution failed. I'm confused. I don't know what's wrong.
Could you help me?
Thanks,
Lisong
The text was updated successfully, but these errors were encountered: