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

gtsam retraction in droid-slam #78

Open
JzHuai0108 opened this issue Oct 28, 2024 · 0 comments
Open

gtsam retraction in droid-slam #78

JzHuai0108 opened this issue Oct 28, 2024 · 0 comments

Comments

@JzHuai0108
Copy link

Thank you for open sourcing the great work.
I am reading the code, and get baffled with the gtsam retraction here.
My (wrong) derivation indicates that the chi should be negative,

self.last_state = x0.retract(-gtsam_delta)

It follows from the below observations.
Here we are optimizing w_T_b, its update is defined as w_T_b \leftarrow w_T_b exp(epsilon).
In droid-slam, the ba optimizes c_T_w, its update is defined as c_T_w \leftarrow exp(nu) c_T_w.
By comparing nerfslam droid_kernels.cu and droid-slam droid_kernels.cu, I see that they are using the same observations (gru flow) and the same Hessians and residuals.
So following droid slam, denote the delta chi by nu, we will update w_T_b by w_T_b \leftarrow b_T_w exp(-nu).

Can you please clarify this?

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