Class CameraDataHandler

Inheritance Relationships

Base Type

Class Documentation

class CameraDataHandler : public live_telemetry::TopicHandler

Specialized handler for camera_data topics.

This handler provides full processing for camera messages:

  • Message downsampling (skip N frames)

  • Image scaling (resize to target dimensions)

  • JPEG compression (reduce bandwidth)

  • Protobuf conversion (efficient Foxglove streaming)

Use this handler for camera topics where bandwidth optimization and image quality tradeoffs are needed.

Public Types

using CameraDataMsg = ubm_interfaces::msg::CameraData

Public Functions

CameraDataHandler(rclcpp::Node *node, const HandlerConfig &config, FoxgloveLogger *logger)
inline virtual std::string getName() const override

Get the handler name for logging and identification.

bool setDownsamplingRatio(int ratio)