rpng / open_vins

An open source platform for visual-inertial navigation research.
https://docs.openvins.com
GNU General Public License v3.0
2.07k stars 619 forks source link

fix display problem if the track length of feature is very long #267

Closed CanCanZeng closed 1 year ago

CanCanZeng commented 1 year ago

This color of trajectory of a feature with too long track length on the display image will be white current now. This problem is caused by the property of integer division, so I multiplied the first by 1.0 to turn the result into a float number, avoiding this problem.

CanCanZeng commented 1 year ago

The current problem shown in the image below, some of the trajectory of feature are all white. Screenshot from 2022-08-03 17-59-29