Comments (10)
@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.
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.
Dear @jbehley ,
thanks for your information.
from suma.
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.
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.
@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.
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.
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.
@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.
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)
- Something about the GlShader::fromCache(); HOT 2
- Visualization raises a segment error HOT 10
- Question about the getConfidenceThreshold() in SurfelMapping.cpp? HOT 1
- OpenGL Error HOT 19
- Segmentation fault HOT 4
- Used in stereo camera HOT 2
- Questions on the equation (10) in the paper HOT 1
- segmentation fault HOT 3
- Question regarding merging 3 VLP-16 HOT 2
- segmentation fault HOT 1
- Segmentation Fault (OpenGL renderer string: AMD RENOIR) HOT 2
- Segmentation fault
- What is the relationship between execution files genvideo and visualizer?
- Error in compilation HOT 3
- Try to understand the file pose.txt HOT 2
- error in run `visualizer` in the `bin` directory HOT 1
- terminate called after throwing an instance of 'rv::XmlError' HOT 1
- runtime error HOT 1
- Run on custom dataset HOT 2
- error when ./visualizer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suma.