I’ve been working with the Rosbot 2.0 Pro, but I’m encountering an issue with the 4 range sensors (the time of flight sensors).
I launch the rplidar and the rosbot_ekf (all.launch) and it works fine for a while, but then some of the range sensors start publishing -1 values for their range aspect; such as the following:
So far it’s been the front left, front right, and rear right. Restarting the rosbot_ekf node doesn’t help. Fully turning the Rosbot off and on again, then restarting the nodes does fix the problem.
I have no clue why it happens, sometimes it’s within minutes of start up, sometimes everything is still fine after 30+ minutes.
What could be the issue and how can this be solved?