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 rclcpp::Time &time)
virtual cv::Mat decodeImage(const sensor_msgs::msg::Image::ConstSharedPtr &msg)