How to show the pointcloud of ground ?

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

How to show the pointcloud of ground ?

Mosquito
I have a robot with a RGB-D camera, I run "$ roslaunch rtabmap_ros rtabmap.lauch " to build the rooms map.It generate rtabmap.db,It looks as follow picture.My question is :how can I get the pointcloud  with ground's pointcloud.

 

Reply | Threaded
Open this post in threaded view
|

Re: How to show the pointcloud of ground ?

matlabbe
Administrator
The 3d map view should always show the whole point cloud unless filtering parameters have been set under Preferences->3D Rendering panel (like the floor filtering height).

Cheers,
Mathieu
Reply | Threaded
Open this post in threaded view
|

Re: How to show the pointcloud of ground ?

Mosquito
Thank you very much!
I have set the preference like this picture.
 I set the ceiling filtering height to 1m,it works,those point higher than 1m disappear.
But I set the ground filtering height to -0.7m,It didn't work,the ground point didn't appear.
So I think :
Maybe the rtabmap.db has no ground point?
Maybe I should set some parameters in rtabmap.launch to generate(or save) ground pointcloud?

Reply | Threaded
Open this post in threaded view
|

Re: How to show the pointcloud of ground ?

matlabbe
Administrator
Hi,

Did you try setting both values to 0 (disabled)? The only way for rtabmap.db to not have the ground is that depth images have been filtered before rtabmap node.

Can you share the database?

Cheers,
Mathieu
Reply | Threaded
Open this post in threaded view
|

Re: How to show the pointcloud of ground ?

Mosquito
Yes,Today I find that the depth image and pointcloud both have no groud point cloud!
 As this picture show. Can you tell me how to set it ?Thank you very much . ^ ^
Reply | Threaded
Open this post in threaded view
|

Re: How to show the pointcloud of ground ?

Mosquito
In reply to this post by matlabbe
Today ,I also found my RGB-D camera may have filter function. When I just open camera,I found it's depth image has filtered the ground.It looks like this:
Reply | Threaded
Open this post in threaded view
|

Re: How to show the pointcloud of ground ?

matlabbe
Administrator
What model is the RGB-D camera? As I can see, the problem is coming from the camera driver, which seems to filter the ground before sending the depth image. Maybe it could be the camera that has difficulty to see the ground, too reflective for IR projector or not enough textured if it is a stereo camera.