Class V4l2CameraDevice
Defined in File v4l2_camera_device.hpp
Nested Relationships
Nested Types
Class Documentation
-
class V4l2CameraDevice
Camera device using Video4Linux2
Public Types
-
using ImageSizesVector = std::vector<std::pair<uint16_t, uint16_t>>
-
using ImageSizesDescription = std::pair<ImageSizeType, ImageSizesVector>
Public Functions
-
explicit V4l2CameraDevice(std::string device)
-
bool open()
-
bool start()
-
bool stop()
-
inline auto const &getControls() const
-
int32_t getControlValue(uint32_t id) const
-
bool setControlValue(uint32_t id, int32_t value)
-
inline auto const &getImageFormats() const
-
inline auto const &getImageSizes() const
-
inline auto const &getCurrentDataFormat() const
-
bool requestDataFormat(PixelFormat const &format)
-
std::string getCameraName()
-
sensor_msgs::msg::Image::UniquePtr capture()
-
using ImageSizesVector = std::vector<std::pair<uint16_t, uint16_t>>