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

Possible to do inequality constraint with G2o? #804

Open
TBdt38 opened this issue Jun 13, 2024 · 1 comment
Open

Possible to do inequality constraint with G2o? #804

TBdt38 opened this issue Jun 13, 2024 · 1 comment

Comments

@TBdt38
Copy link

TBdt38 commented Jun 13, 2024

I am looking for a way to implement inequality constraint with G2o tool. Is it possible? i haven't found what could be used.
Basically, i would like to have for constraint a basic inequality. For instance, keeping a state scalar X lower than an hardcoded threshold value.
Any way to do it with G2O or we have to deal with equalities only?

@felixendres
Copy link
Contributor

I haven't tried it, but I would guess you can write your own edge with a custom computeError() function and linearizeOplus() that behaves as you say.

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