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

Please help noob #95

Open
IIIIllllIllI opened this issue Jul 25, 2024 · 6 comments
Open

Please help noob #95

IIIIllllIllI opened this issue Jul 25, 2024 · 6 comments
Assignees
Labels
question Further information is requested

Comments

@IIIIllllIllI
Copy link

I'm ros2 noob.
I use ouster lidar for slam.
I want to know what I have to change to use this package.

@rsasaki0109
Copy link
Owner

The velodyne_points in the mapping should work if you change them to the ouster point topic and also change the frame ID of velodyne in tf to the frame ID of the ouster point topic.

https://github.com/rsasaki0109/lidarslam_ros2/blob/develop/lidarslam/launch/lidarslam.launch.py#L24-L36

@rsasaki0109 rsasaki0109 self-assigned this Jul 26, 2024
@rsasaki0109 rsasaki0109 added the question Further information is requested label Jul 26, 2024
@IIIIllllIllI
Copy link
Author

IIIIllllIllI commented Aug 20, 2024

Thank you for your answer. Now, I can use your package. However, I have two more questions.

  1. When I launched this package and played the bag file, I couldn't see the /modified_path and /modified_map. When I echoed the topics, no information came out. I think there might be an issue with the graph-based-slam node.

  2. I didn't change any parameters without ndt_num_threads. I changed ndt_num_threads to 4. While it works well in simple environments, it doesn't perform as expected in more complex environments. How can I adjust the parameters in this situation.

@IIIIllllIllI
Copy link
Author

IIIIllllIllI commented Aug 20, 2024

Screenshot from 2024-08-21 02-56-53
This is the result of driving with cones placed on both sides.

@IIIIllllIllI
Copy link
Author

IIIIllllIllI commented Aug 20, 2024

Screenshot from 2024-08-21 03-05-57
It is the result of driving around a building.

@rsasaki0109
Copy link
Owner

rsasaki0109 commented Aug 21, 2024

Graph-based SLAM will not publish trajectories and maps unless a loop closure is performed or you execute "ros2 service call /map_save std_srvs/Empty". If a loop closure is not performed, please execute "ros2 service call /map_save std_srvs/Empty".

The point cloud map in the image does not seem to have any obvious problems, but what is the issue?

Generally, you need to adjust parameters such as ndt_resolution and vg_size_for_input depending on whether the environment is indoors or outdoors.

@IIIIllllIllI
Copy link
Author

Thanks, I understand the problem.

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

No branches or pull requests

2 participants