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

lack header file imu_state.h #6

Open
anchao1997 opened this issue Jun 1, 2022 · 3 comments
Open

lack header file imu_state.h #6

anchao1997 opened this issue Jun 1, 2022 · 3 comments

Comments

@anchao1997
Copy link

lack header file imu_state.h in cam_state.h and feature.hpp

Screenshot from 2022-06-01 20-24-32

I wonder how to solve it

@vkopli
Copy link
Owner

vkopli commented Jun 3, 2022

I actually copied this code over from the msckf_vio package: https://github.com/KumarRobotics/msckf_vio/tree/master/include/msckf_vio

I’m not sure why this worked when I was using it, or what changed, but the easiest thing you could do is just copy over imu_state.h from the package linked above.

From there, you can figure out whether some of those files/imports are really necessary in the first place, or whether you can just delete them.

@vkopli
Copy link
Owner

vkopli commented Jun 3, 2022

Essentially what happened is we reused the image processor from msckf_vio. The image processor identifies “features” or corners in the depth camera’s video feed, and assigns them a new ID number if they haven’t been seen before. I just made use of whatever features the image processor outputted.

I copied over the minimal files to make things work at the time, so it’s possible that the contents of imu_state.h were never used, and you could just get rid of the import of imu_state.h altogether.

@anchao1997
Copy link
Author

oh, thanks

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