Coder Social home page Coder Social logo

Error: KIT robot model not found about suma HOT 10 CLOSED

jbehley avatar jbehley commented on August 17, 2024
Error: KIT robot model not found

from suma.

Comments (10)

jbehley avatar jbehley commented on August 17, 2024 1

@ClaudioCimarelli and @DavidJamesOKC, I now figured out what was the problem. You were totally right that the files were missing.

I did not recognize this, since they were locally there, but were not added to the commit as "*.obj" is inside the .gitignore file. I added now the missing files and now it should work.

Thanks for pointing this out. 👍

from suma.

jbehley avatar jbehley commented on August 17, 2024

The robot model should be inside the asset folder. You should start the program from inside the bin folder.

You can also change the relative paths inside VisualizerWindow::initilizeKITTIrobot to the abolute paths. But this will only solve the "model issue".

Hope that helps.

from suma.

DavidJamesOKC avatar DavidJamesOKC commented on August 17, 2024

Dear @jbehley ,
thanks for your information.

from suma.

ClaudioCimarelli avatar ClaudioCimarelli commented on August 17, 2024

Dear @jbehley, should we create our own model of the car?
I tried to load a free model quickly, but I had a problem when loading the material.
Thanks in advance.

from suma.

jbehley avatar jbehley commented on August 17, 2024

No, @ClaudioCimarelli. The model is only for visualization purposes. The model is inside the asset folder and you can try to replace the relative path with an absolute path. (The loading is iniside VisualizerWindow::initilizeKITTIrobot() , see ViewportWidget.cpp)

The obj loader is some custom made "minimal version" that may not support all specifics of the obj format.

from suma.

ClaudioCimarelli avatar ClaudioCimarelli commented on August 17, 2024

@jbehley, thanks for your quick response.

The fact is that I saw inside the class you mentioned and the path references an ".obj" file. Instead, in "assets" folder there are only ".mtl" files. Sorry, I do not understand this.

from suma.

ClaudioCimarelli avatar ClaudioCimarelli commented on August 17, 2024

Thanks a lot, i commented out the line of code calling that method meanwhile.
A little question, why if in the option there is not the parameter "show robot" the thick is set true in any case?

from suma.

jbehley avatar jbehley commented on August 17, 2024

The code is somehow "research code" or in a proof of concept state. Thus, some things are not that nicely implemented. (A lot of the code is just there to get some nice pictures for the paper and plots. ;)) And the code does definitely not cover all cases or circumstances.

It would be nicer to directly disable (and uncheck) the checkbox if no model was found, but this case is currently not covered by my visualization tool. A lot of the failure cases are also not covered and some of the classes are just to big and handle to much stuff. Thus, a major refactoring would be needed to get the code in a good shape. But I still hope that the code is enough to get the main ideas and try out something. Even though it might be not perfectly engineered.

from suma.

ClaudioCimarelli avatar ClaudioCimarelli commented on August 17, 2024

@jbehley, i did not mean to criticize your work. It was more my curiosity on how this function could work, because I am not expert of ui, specially with c++. However, this is a great example for me to reproduce other uis by following this code as a footprint. Thanks again for your time.

P.S.: I think you could close this issue if it's solved, I will avoid to spam further.

from suma.

jbehley avatar jbehley commented on August 17, 2024

Thanks for your comments and for pointing me at the bug. And I just wanted to clarify that the code is somehow in a state of "good enough". There are ample opportunities for improvement. ;)

If you have questions, don't hesitate to ask me.

from suma.

Related Issues (20)

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.