-
Notifications
You must be signed in to change notification settings - Fork 30
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
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined #205
Comments
It probably unrelated to the The
Not that I know of. |
Hello @MariaBana Otherwise can you look in the Body Tree what are the objects present ? |
Hi @florent-lamiraux
I have written a more concise code here(simply replacing the urdf path of https://github.com/stack-of-tasks/pinocchio-gepetto-viewer/blob/master/tests/ur5.cc)
They are installed from source. The pinocchio I use is the pinocchio3-preview branch (because I need to use the closed chain manipulator), gepetto-viewer and gepetto-viewer-corba are the master branches.
It seems that it does not load the body tree correctly, here is a screenshot of the window. |
Thanks very much for the tip, could you give me more guidance to verify this guess? These lines of code are written like the official example, so it should be fine, right?
|
I am not so familiar with the bindings between pinocchio and gepetto-viewer. I cannot find which package installs |
@florent-lamiraux It is pinocchio-gepetto-viewer: https://github.com/stack-of-tasks/pinocchio-gepetto-viewer, sorry I forgot to attach it. |
Maybe you can try with another urdf model. |
Yes, the issue is that the meshes are not loaded. I suspect that the meshes cannot be found (though I'm surprised there is no error message. Check your |
@jmirabel
This means it can find the meshes file. The same learn-pinocchio program in pinocchio3, on the other hand, runs normally, so I think there may be a problem with the read meshes step in pinocchio3? However, pinocchio2 also does not display the robot properly (when loading meshes normally), and the gepetto-gui reports the same error as pinocchio3, as does the body tree. |
@florent-lamiraux |
I'm pretty sure the issue is unrelated. Either the paslth is wrong or the file got corrupted somehow. Check whether you can open the file with meshlab. Double check the path. |
@jmirabel |
Can you open an issue in pinocchio explaining that displaying models using pinocchio 2 + pinocchio-gepetto-viewer works but that pinocchio 3 + gepetto-viewer does not, refer to this issue and ask for what has changed ? |
Hello,
I successfully installed gepetto-viewer and its dependencies on ubuntu20.04, but I can't make it display robots normally. When I run the sample program, the terminal running gepetto-gui will output
At the same time, GEPETTO GUI window displays only one coordinate axis.
My sample program is as follows:
This problem has been bothering me for several days. I hope you can give me some tips. Thanks!
Also, is there another visualizers that I can use to easily display the robot while programming in c++?
The text was updated successfully, but these errors were encountered: