Noisy laser scan from Kinect V2
I have a Turtlebot with Kinect V2 and using kinect2_bridge for publishing depth images and depthimage_to_laserscan to generate laser scan. My problem is that the laser scan is noisy.
There are dancing dots in front of robot like that:
This is what I get when I set the decay time of the laser scan to 200:
I am able to generate map using gmapping but the navigation stack is not working as I expected since these dots are simply obstacles in front of the robot.
A quick point, I'd describe the points that are troubling you as outliers not noise. Could you show the full Kinect point cloud as well as the synthesised laser scan (in a different color) They may be outliers in the data or points on the floor that being picked up.
makes sense. I can try it in 2 days and will write the result here
yeah, you guessed it right it was the floor. i wasn't be able to remove the outliers so i just cleared all the lasers but gave uncleared laser to amcl for localization. So, now the robot goes but doesn't see obstacles. Works for my project dough.
Glad you got it working. A full 3D nav system would probably be more appropriate if you end up taking the project forwards.
@kaankeskin can share me how to convert depth image to laser scan in kinect v2.ihave kinect2bridge after that i dont know to proceed