Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gibson-ros pointcloud registration #122

Open
shantanusingh16 opened this issue Jul 24, 2020 · 0 comments
Open

gibson-ros pointcloud registration #122

shantanusingh16 opened this issue Jul 24, 2020 · 0 comments

Comments

@shantanusingh16
Copy link

shantanusingh16 commented Jul 24, 2020

Hi, I'm trying to use turtlebot2 in gibson with ros by adapting the example script as follows:

turtlebot_depth.py

I've simply used the TF Broadcaster to publish data for the camera each timestep as well.
I run the above script and simply issue angular velocity of 0.1 to the robot continuously, but zero linear velocity.
Now I use the depth and camera_info information to generate a point cloud using image_pipeline package in ros using the depth_image_proc/point_cloud_xyz nodelet.

When I try to visualize the point cloud in rviz, the first issue I notice is that the z-axis appears inverted.
Screenshot from 2020-07-25 02-06-17

Now I try to read the pointclouds being published in a separate script and combine two adjacent ones to test registration. I use the following code which uses the stamp of the pointcloud message header to fetch the relevant transform for the camera and then transforms the pointcloud points accordingly before merging them into one.

pointcloud_registration.py

The problem here is that the merged point clouds do not overlap properly. There is a significant difference in the depth of surfaces for two adjacent frames for small rotations (0.1 radians) of the bot. The following images should help highlight the difference:
perspective_poor_overlap
top_poor_overlap

Can someone please let me know how to fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant