Class DisparityConverter

Inheritance Relationships

Base Type

Class Documentation

class DisparityConverter : public depthai_bridge::BaseConverter

Public Functions

DisparityConverter(std::string frameName, float focalLength, float baseline = 7.5, float minDepth = 80, float maxDepth = 1100, bool getBaseDeviceTimestamp = false)
~DisparityConverter()
void toRosMsg(std::shared_ptr<dai::ImgFrame> inData, std::deque<DisparityMsgs::DisparityImage> &outImageMsg)
DisparityImagePtr toRosMsgPtr(std::shared_ptr<dai::ImgFrame> inData)
float getFocalLength() const
float getBaseline() const
float getMinDepth() const
float getMaxDepth() const