luigifreda / plvs

PLVS is a real-time SLAM system with points, lines, volumetric mapping and 3D unsupervised incremental segmentation.
GNU General Public License v3.0
453 stars 66 forks source link

Segmentation error #27

Closed D1st3f closed 5 months ago

D1st3f commented 5 months ago

I have bad result form segmentation: 314063680-37d1877b-75e9-4143-bc42-f289d0654a2d

And when segmentation off: 314063629-c7a10e8b-6835-4a8a-a6df-820c5fcbeaa2

Also: PointCloudMapping.type: "octree_point" Segmentation.on: 1

Another GUI screenshots: 314064709-d6f5657c-f09a-4540-acbd-3b7ffe4d0c94

Look's like something broken i normals.

P.S. Tried without touching sliders in GUI, same result.

luigifreda commented 5 months ago

Is this thread related to your issue? https://github.com/luigifreda/plvs/issues/5

Can you share more about your OS ans HW configurations?

D1st3f commented 5 months ago

Yup, ubuntu 23 + rosfocker on Google cloud platform, 8 cores cpu atd nvidia T4.

5 Issue similar, but he have a segmentation.

luigifreda commented 5 months ago

Thanks for your feedback. Could you share the exact install procedure you followed?

At the moment, there is no full support for Ubuntu 23. The official support is under Ubuntu 20. Extending the support to other distributions is a WIP. I have to investigate. It may also be a visualization problem.

In the meantime, you can use rosdocker with noetic or noetic_cuda images (see the instructions in the repo).

D1st3f commented 5 months ago

I used rosdocker noetic but on cloud machine with Ubuntu 23.

luigifreda commented 5 months ago

Could you please share the exact install procedure you followed? Are the normals correctly rendered on the GUI?

D1st3f commented 5 months ago

Clean Ubuntu 23, downloaded ros-docker, build ros-docker noetic, runed ros-docker noetic. To shared folder git cloned plsv and downloaded dataset. Installed dependencies + local opevcv + built plsv. Fixed path to dataset + changed YAML file to get segmentations.

I can't see normals on the GUI, look's like we don't have it there.

luigifreda commented 5 months ago

I believe you are getting a visualization problem. I am not sure how to reproduce it. I don't have a google cloud machine. It may depend on the GPU drivers and possibly used virtualization technologies.

Are you able to test PLVS on a different machine?

D1st3f commented 5 months ago

I will try on my own pc and give you feedback

FishofJLlake commented 4 months ago

I reproduced this issue in the WSL2 environment on Windows. What could be the problem? wsl2:ubuntu20.04

luigifreda commented 4 months ago

It seems using opengl shaders under wsl is not super trivial https://stackoverflow.com/questions/74834823/access-geometry-shaders-on-wsl2-ubuntu-22-04-lts

Probably, the issue above may also depend on the opengl version, which may not be able to properly support the shaders.