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

get map points #3

Open
dubing-bit opened this issue Feb 29, 2024 · 5 comments
Open

get map points #3

dubing-bit opened this issue Feb 29, 2024 · 5 comments

Comments

@dubing-bit
Copy link

Thank you for your work. I have a question, when I used ORB-SLAM3 before, I could use GetTrackedMapPoints()

vector<MapPoint*> System::GetTrackedMapPoints()
{
    unique_lock<mutex> lock(mMutexState);
    return mTrackedMapPoints;
}

to get the map points. does stella_vsalm have such a function? I don't seem to find this feature in system.h?

@AlejandroSilvestri
Copy link
Owner

Well, yes, but this code doesn't bind it.
It binds get_map_publisher() in order to pass the pointer to a consumer like pangolin viewer.

In stella_vslam map points are called landmarks, a more suitable name.
map_publisher.get_landmarks() gives you all landmarks and local landmarks, the latter being the tracked map points you are looking for, those from local map.

You have two ways to bind it. The long way is binding map_publisher class and landmark class. The short way is adding a C++ written method to bound system to retrieve landmarks for you.

@dubing-bit
Copy link
Author

It's not easy for someone like me who is unfamiliar with C++. If there re-execution feature matching and use return pose triangulation, would these landmarks be available?

@AlejandroSilvestri
Copy link
Owner

Well, it's not easy for anyone. Sadly I can't do it myself right now. Perhaps in the future.

@dubing-bit
Copy link
Author

Thank you for your kind words. Wish you all the best and may everything go smoothly for you.

@dubing-bit
Copy link
Author

Thanks for your feedback and suggestion, I implemented the get landmark function.I uploaded it to github.

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