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?
I am experiencing the same problem with the Rosbot 2.0. Is it also possible to do a software reset? I.E:
If(range/FL<0)
ResetCore2()
As a temporary solution until this is fixed?
Do you have any updates on this bug? Using the service call to turn the sensors of and on again does not resolve the bug. Indeed, resetting the CORE2 with the button works, but I was hoping for a real solution.
The sensors lib implementation was improved, the publication rate on sensors topic was increased to 10Hz and automatic restart mechanism was added in case of sensors malfunction/i2c error. For more details please look up the project’s changelog on GitHub.
The problem seems to be solved, but I need more tests to be 100% sure. I would very much appreciate your feedback.
It is working for most ROSbots, however two are giving an error initializing the range sensors when running the core2ros serial node.
Also one still gave the range sensor error under the new firmware.