-
Notifications
You must be signed in to change notification settings - Fork 8
Add C++ example with OpenCV and Eigen #1
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
Conversation
static_assert(sizeof(components::Position3D) == sizeof(Eigen::Vector3f)); | ||
static_assert(alignof(components::Position3D) <= alignof(Eigen::Vector3f)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ComponentBatch should have borrow_compatible
which does these and a few other checks checks for you on 💡
I'm gonna see if we can use |
|
Code will become a lot simpler once this is merged: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some more fine tuning to do, in particular with the adapters, but good start
TODOs
std::vector<Eigen::Vector3f>
Eigen::MatrixX3f
CMakeLists.txt
(wait for better way to install)