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

Adding another contraints #1220

Open
takahiko-hasegawa-hdjp opened this issue Feb 19, 2024 · 1 comment
Open

Adding another contraints #1220

takahiko-hasegawa-hdjp opened this issue Feb 19, 2024 · 1 comment

Comments

@takahiko-hasegawa-hdjp
Copy link

Im trying to add another constraint to rtabmap.
First in the database ".db"
and then load the map in localisation mode and then use that added constraint to aid localization.

Which bit of code would you suggest to look at in order to add another constraint?

@matlabbe
Copy link
Member

You can add a constraint with rtabmap-databaseViewer -> Constraints View. If the constraint cannot be computed automatically, you will be asked if you want to add it manually. When closing the datatabase, you will be asked if you want to save the link changes, say yes.

Under ROS, you can add a new constraint with this service:

rosservice call /rtabmap/add_link

however, you must already know which nodes you want to connect, so the databaseViewer approach may be more convenient.

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