A C++ library for lidar and video acquisition under linux