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

a problem about projectionTwoFrameOneCamFactor.cpp #13

Open
KnineF opened this issue Jul 10, 2023 · 0 comments
Open

a problem about projectionTwoFrameOneCamFactor.cpp #13

KnineF opened this issue Jul 10, 2023 · 0 comments

Comments

@KnineF
Copy link

KnineF commented Jul 10, 2023

since
**residual = sel * sqrt_info * reprojection_error,

so when calculating the jacobians about td, (jacobian_td)
assuming (reduce) has not multiplied by (sqrt_info) yet
it should be
**jacobian_td = sel * sqrt_info * ( reduce * ric.transpose() * Rj.transpose() * Ri * ric * velocity_i / inv_dep_i * -1.0 + velocity_j.head(2) )

(velocity_j.head(2)) should multiply by (sel * sqrt_info)
**sel * sqrt_info * velocity_j.head(2)

but in the code
**jacobian_td = sel * reduce * ric.transpose() * Rj.transpose() * Ri * ric * velocity_i / inv_dep_i * -1.0 + sqrt_info * velocity_j.head(2)

(sqrt_info * velocity_j.head(2)) has not multiplied by (sel) yet, why??
do I misunderstand anything?

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