HKUST-Aerial-Robotics / GVINS

Tightly coupled GNSS-Visual-Inertial system for locally smooth and globally consistent state estimation in complex environment.
GNU General Public License v3.0
893 stars 236 forks source link

Add OpenCV4 support in camera model #13

Open GSORF opened 3 years ago

GSORF commented 3 years ago

This PullRequest adds OpenCV4 support to GVINS. The modified code is the camera model implementation and consists of new type definitions (they changed from older OpenCV versions). Older OpenCV versions are still supported by adding a preprocessor directive which only replaces the code when the version flag is set accordingly.

I hope this will contribute to making GVINS even more awesome than it currently is.