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

Replacing other slam algorithms as front end? #17

Open
Joosoo1 opened this issue Oct 29, 2023 · 2 comments
Open

Replacing other slam algorithms as front end? #17

Joosoo1 opened this issue Oct 29, 2023 · 2 comments

Comments

@Joosoo1
Copy link

Joosoo1 commented Oct 29, 2023

Thanks for open-sourcing this work, what modifications have you made to Lio-sam and fast-lio for DCL-SLAM, and if I want to use other algorithms such as DLIO as a front-end, how should I adapt them, please give me some advice! thanks @zhongshp

@zhongshp
Copy link
Collaborator

zhongshp commented Nov 1, 2023

Hi~ Joosoo1
In general, the process to use other algorithms as a front-end is as follows:

1.define a distributedMapping object, as shown in https://github.com/PengYu-Team/DCL-LIO-SAM/blob/2a68c5f503c04eb1a9ddbac4f9b1fb5ed7bb980a/src/mapOptmization.cpp#L64.
2. call api function to perform distributed pgo, as shown in https://github.com/PengYu-Team/DCL-LIO-SAM/blob/2a68c5f503c04eb1a9ddbac4f9b1fb5ed7bb980a/src/mapOptmization.cpp#L273.
3. create a thread for distributed loop closure, as shown in https://github.com/PengYu-Team/DCL-LIO-SAM/blob/2a68c5f503c04eb1a9ddbac4f9b1fb5ed7bb980a/src/mapOptmization.cpp#L1816.

You can refer to https://github.com/PengYu-Team/DCL-LIO-SAM/blob/master/src/mapOptmization.cpp in detail.

@Joosoo1
Copy link
Author

Joosoo1 commented Nov 2, 2023

Okay, thanks for the reply.

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

2 participants