3D RECONSTRUCTION – 3D VISOR Commands Problems

Im running docker inside WSL2 using ubuntu 24.04.5 LTS, the command that im using to run the docker container is this:

docker run --rm -it --gpus all -v /usr/lib/wsl:/usr/lib/wsl -e LD_LIBRARY_PATH=/usr/lib/wsl/lib --device /dev/dri -p 6080:6080 -p 1108:1108 -p 7163:7163 jderobot/robotics-backend:latest

And this is the output:

— GPU acceleration info —
GPUs found:
466c:00:00.0 3D controller [0302]: Microsoft Corporation Device [1414:008e]
f9ae:00:00.0 3D controller [0302]: Microsoft Corporation Device [1414:008e]
INFO: GPU candidates found at /dev/dri/card0 (keeping /dev/dri/card0).
INFO: ‘nvidia-smi’ available. Most likely an NVIDIA GPU in WSL.
GPU selected:
466c:00:00.0 3D controller [0302]: Microsoft Corporation Device [1414:008e]
DRI_VENDOR: microsoft
DRI_NAME: card0

10:59:19 [MainThread ] [INFO ] (my_app_logger) Starting RAM consumer in <manager.comms.websocker_server.WebsocketServer object at 0x7fade64838b0>:7163
INFO:manager.comms.websocker_server:Listening on port 7163 for clients…
INFO:manager.comms.websocker_server:Starting WebsocketServer on thread Thread-1 (serve_forever).

I have successfully implemented each step to obtain the 3D points. As shown below:

[Captura de pantalla 2025-04-01 132222|625x346]

However, when I use the GUI.ShowNewPoints(points) and GUI.ShowAllPoints(points) commands to display (plot) these 3D points, an error is displayed in the terminal as shown below:


[p2|690x215]
[p3|690x234]
[p4|690x166]

I have tested with the 3D points that I obtained in my algorithm, as well as with arbitrary points that are within the camera’s field of view. I appreciate your attention on this matter. Best regards.

Franz Herrera – 603361962 - MUVA

Good afternoon. We have added a video and some demo code for the 3D visor in the exercise documentation.

Also if you are changing the number of points to be shown please use the GUI.showNewPoint() method instead of showAllPoints() because we have found a bug that will be fixed in the next version of the Robotics Backend