Problem with the bumper

Function retrieving bumper state takes too long to return 1. The robot collides and takes too much time to report it.
Here is a video where it happens: video

Hi, thanks for the report. While we work on improving performance, you can try the hardware accelerated RADI version if you are running on Ubuntu + nvidia GPU. Here are the instructions:

For linux and nvidia users, hardware acceleration can be achieved by using nvidia proprietary drivers, installing VirtualGL and launching the alternative instruction: docker run --rm -it --device /dev/dri -p 7681:7681 -p 2303:2303 -p 1905:1905 -p 8765:8765 -p 6080:6080 -p 1108:1108 jderobot/robotics-academy:3.1.10 ./

Ok, thanks. I already installed VirtualGL and was running that command, I presume the gpu was being used