Skip to content
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

Object visible with a camera but invisible in the 3D World #101

Open
ahcorde opened this issue Jun 16, 2020 · 8 comments
Open

Object visible with a camera but invisible in the 3D World #101

ahcorde opened this issue Jun 16, 2020 · 8 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ahcorde
Copy link
Contributor

ahcorde commented Jun 16, 2020

Porting the ros_ign_gazebo_demos I found this issue. The cone is visible with the camera but it's invisible in the 3D world.

cone

I'm compiling from source dome.

@iche033 or @chapulina any thoughts?

@ahcorde ahcorde added the bug Something isn't working label Jun 16, 2020
@iche033
Copy link
Contributor

iche033 commented Jun 16, 2020

Not sure. The world is sensors_demo.sdf from ign-gazebo right? I just tested that world in ign-gazebo2, 3, 4 but the cone is shown in both 3d window and sensors. Is it visible for you if you just launch the world using ign instead of ros2?

@chapulina chapulina added this to Inbox in Core development Jun 16, 2020
@mcres
Copy link

mcres commented Jun 29, 2020

I am facing the same problem in Ubuntu 18.04 after installing dome from source and launching the world with ign gazebo.

I've also tried to launch some more models and it happens exactly the same. It seems that meshes in .obj like this one will work, but .dae or .stl like this one won't. This happens as well with models from YCB, where those formats are available for the same downloaded object.

@chapulina chapulina moved this from Inbox to To do in Core development Jun 29, 2020
@chapulina
Copy link
Contributor

I can't reproduce this issue using ros_ign_gazebo_demos with:

  • Ubuntu Focal (Docker)
  • Either Citadel from debs or Dome from source
  • Foxy from debs

Do you see any errors / warnings when running verbose?

Also, when you expand the "Construction" entity on the tree, does it show that it has a visual?

@mcres
Copy link

mcres commented Jul 2, 2020

I don't see any errors or warnings related.
The Construction entity does have a visual in the tree, but I can't see any difference between visuals of the different models when using the Component Inspector.

@ahcorde
Copy link
Contributor Author

ahcorde commented Sep 1, 2020

Using this env variable fix the issue

export LC_NUMERIC="C"

can you confirm this @mcres ?

@chapulina
Copy link
Contributor

export LC_NUMERIC="C"

Ohhhh locales strike back! Nice catch!

@ahcorde
Copy link
Contributor Author

ahcorde commented Sep 2, 2020

should we need to add any reference to this issue in the installation guide or the troubleshooting sections?

@chapulina
Copy link
Contributor

I think we should be able to fix this programmatically. Were you able to pin-point the place where the locale made a difference? Is is when parsing the COLLADA files, when loading them into rendering...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants