GithubHelp home page GithubHelp logo

Comments (7)

JohnDTill avatar JohnDTill commented on June 12, 2024

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.

from continuumrobotexamples.

JohnDTill avatar JohnDTill commented on June 12, 2024

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,
John

from continuumrobotexamples.

xlsufo avatar xlsufo commented on June 12, 2024

Hi John,
I have solved the second question for the project "02_Dynamics\03_Tendon_Robot". When I use "Debug" model, the error has occurred,it can be solved to use "Release" model.

I have tested two environment: MSVC2019+QT5.15.2 & MSVC2017+QT5.12.2 , The result is the same.

As for the error:
:-1: error: dependent '..\..\..\Library\eigen\Eigen\src\Core\products\GeneralBlockPanelKernel.h' does not exist.
I copy the main.cpp of "Tendon_Displacement_Control" to cover the main.cpp of "01_Statics\05_Tendon_Robot", the error disappeared. I guess it may be the problem of the project file or path.

Thanks,
Lisong

from continuumrobotexamples.

xlsufo avatar xlsufo commented on June 12, 2024

Hi John,
I'll test the latest changes later.
Thanks,
Lisong

from continuumrobotexamples.

JohnDTill avatar JohnDTill commented on June 12, 2024

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.

from continuumrobotexamples.

xlsufo avatar xlsufo commented on June 12, 2024

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!

from continuumrobotexamples.

JohnDTill avatar JohnDTill commented on June 12, 2024

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

from continuumrobotexamples.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.