HKUST-Aerial-Robotics / ESVO

This repository maintains the implementation of "Event-based Stereo Visual Odometry".
433 stars 92 forks source link

Fix Eigen3.4.0 compatibility issue by using integer indices #32

Open Jas0nG opened 3 weeks ago

Jas0nG commented 3 weeks ago

Problem

Eigen 3.4.0 no longer supports floating-point indices. This PR addresses compilation and compile errors caused by using floating-point indices in the project.

Solution

Testing

Tested on Ubuntu 20.04, ROS Noetic, and Eigen 3.4.0.

Additional notes

Please note that this change may affect old code that uses floating-point indices. It is recommended to carefully review and update related code after upgrading the Eigen version.

Welcome to provide suggestions and improvements.