Class PngStreamer

Inheritance Relationships

Base Type

Class Documentation

class PngStreamer : public web_video_server::ImageTransportImageStreamer

Public Functions

PngStreamer(const async_web_server_cpp::HttpRequest &request, async_web_server_cpp::HttpConnectionPtr connection, rclcpp::Node::SharedPtr node)
~PngStreamer()

Protected Functions

virtual void sendImage(const cv::Mat&, const std::chrono::steady_clock::time_point &time)
virtual cv::Mat decodeImage(const sensor_msgs::msg::Image::ConstSharedPtr &msg)