-
Notifications
You must be signed in to change notification settings - Fork 321
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
3D/2D Sensor Mounted in Vertical Way #86
Comments
Hey! Could you please be more precise about what you mean by |
Hi, Thanks for your reply. Sorry for not being clear. I have mounted my 2D lidar as above. The output is as follows: The red line is my 2D Lidar which is mounted vertically wrt base link. The yellow line is the generated local map. "it doesn't work" refers to the 2D lidar line and generated local map are not in the same plane or ovelapped. Hope I have made it clear. Thanks. |
Thank you! Maybe @tizianoGuadagnino or @nachovizzo can help here? |
Hi @David9696, could you please send us the data? I want to have a look to better understand what the issue might be. |
The required bag file is attached. https://drive.google.com/file/d/1hbLbN-jSrOhNq1SBZOIc25E58qQaVuRE/view?usp=share_link In this bag file, it contains /cloud,/tf and/tf_static topic. Thanks. |
Hi @David9696, I think the problem is that you are moving in an ortogonal direction with respect to the scan line of the 2D LiDAR. As such, you simply cannot compute an odometry with this data because there is no overlap between successive scan frames. If this was a 3D LiDAR the odometry can succeed because you will have at least some common observed region in the two pointclouds, but in the 2D case is just impossible. |
Thanks for your analysis. In the bag file, I only moved the lidar forward and backward along the 2D lidar axis. There are some common regions when I moved forward and backward. But, the generated local map is still not in the correct orientation. FYI, I have tested with my 3D lidar which is mounted in vertical way as well. Although there are some common regions, the generated local map is still not in the correct orientation. I think it might be related to some TF transformation. I would study further. Thanks for your great help. |
I think this Issue is related to my Issue #174 where I still haven't found a solution. Maybe someone could explain to me how the parameters odom_frame and child_frame work and how they are used. This could also help @David9696. Here I linked a rosbag of my setup: https://drive.google.com/file/d/1WoGUFF5nt0fvo7RlQExoEs6ycimKRF4K/view?usp=sharing Basically what I want is that base_link just turn when I turn the robot, currently it is drifting around (or more precise, base_links behaves like it is the velodyne frame. In my issue (#174) is a GIF that illustrates this well. Thanks, in advance! |
Hi all,
|
Hi,
Thanks for sharing this package.
I have a setup in which my lidar is mounted in vertical way, rotate 90 degree roll from horizontal axis.
I have tried this package with my setup, But it doesn't work. The local map is always shown in horizontal axis.
Could this package works if the lidar is mounted in vertical way?
Thanks.
The text was updated successfully, but these errors were encountered: