37#include <gtest/gtest.h>
45 using namespace std::chrono_literals;
46 std::vector<ImageFrame>
frames{};
Copyright 2013-2025 Carnegie Robotics, LLC 4501 Hatfield Street, Pittsburgh, PA 15201 http://www....
TEST(frames_synchronized, basic_test)
MULTISENSE_API std::optional< PointCloud< Color > > create_color_pointcloud(const Image &disparity, const std::optional< Image > &color, double max_range, const StereoCalibration &calibration)
Create a point cloud from a image frame and a color source.
MULTISENSE_API bool frames_synchronized(const std::vector< ImageFrame > &frames, const std::chrono::nanoseconds &tolerance)
Free function which determines if a collection of frames are synchronized within a given tolerance.
std::chrono::time_point< std::chrono::system_clock, std::chrono::nanoseconds > TimeT
A frame containing multiple images (indexed by DataSource).