Function usb_cam::formats::get_ros_pixel_format_from_av_format(const std::string)

Function Documentation

inline std::string usb_cam::formats::get_ros_pixel_format_from_av_format(const std::string avPixelFormatStr)

Overload to support av pixel formats being passed as strings.

Parameters:

avPixelFormat – AvPixelFormat as string

Returns:

String specifying the ROS pixel format.