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

Joint optimization with differerent type of variables #18

Open
carlin314 opened this issue Apr 8, 2021 · 1 comment
Open

Joint optimization with differerent type of variables #18

carlin314 opened this issue Apr 8, 2021 · 1 comment

Comments

@carlin314
Copy link

First, thanks for publishing the minisam library, it is very helpful.

However, I come across some problem, and hope to get some advice from you.

I am designing system like under, I have variables: lij and Ti, which is different type, one is a number belong to [0,1], one is a transformation belong to SE(2)

image

I first put all SE(2) in the initials, but when I put lij to initials, I get error like under
image

So I am wondering if we can't joint optimize different type of variables? 
image

I have an idea to work around like defining lij as SE(2), but only use part of it in error function, but I am curious if there is a way to do this directly.

@carlin314 carlin314 changed the title Joint optimization with dirrerent type of variables Joint optimization with differerent type of variables Apr 8, 2021
@carlin314
Copy link
Author

my bad, this is just a bug of my code, I misuse str as key not key()

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

1 participant