ToF detecting phantom obstacles?
-
Hi devs
Is it normal for the ToF to detect phantom obstacles?
Might it be caused by certain types of lighting and/or environment?Im encountering this phenomenon at specific spots (both indoors and outdoors) where it detects an obstacle in front of it when obviously theres is nothing there and PX4's collision prevention kicks in and does not allow it to move forward.
Any advice?
-
@hmlow Are you sure that your propellers are out of the way of the ToF camera?
I have seen issues with that before -
@wilkinsaf yep they are completely out of the way. Besides, I only encounter this issue at specific spots in some rooms
-
It might be useful to open voxl-portal and have a look at what the tof is reading when you are seeing this phenomenon.
If you would like something more in detail you could
-
Would you be able to turn on Computer/Collision Avoidance under sdlog: SDLOG_PROFILE
-
recreate the issue
-
verify that PX4 is getting a detection that there is something infront of it through the logs. the message you are looking for is OBSTACLE_DISTANCE
-