Self-adaptive lidar-camera synchronization system