bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
camera.h
Go to the documentation of this file.
1
//
2
// Created by alex on 11/23/25.
3
//
4
5
#ifndef CAMERA_H
6
#define CAMERA_H
7
8
#include <opencv2/opencv.hpp>
9
#include <optional>
10
#include <string>
11
12
namespace
bitrl
13
{
14
namespace
sensors
15
{
16
struct
CameraMessage
17
{
18
cv::Mat
image
;
19
static
std::optional<CameraMessage>
parse
(
const
std::string &base64jpeg);
20
};
21
}
// namespace sensors
22
}
// namespace bitrl
23
24
#endif
// CAMERA_H
bitrl
Definition
bitrl_consts.h:14
bitrl::sensors::CameraMessage
Definition
camera.h:17
bitrl::sensors::CameraMessage::image
cv::Mat image
Definition
camera.h:18
bitrl::sensors::CameraMessage::parse
static std::optional< CameraMessage > parse(const std::string &base64jpeg)
Definition
camera.cpp:13
libs
bitrl
src
bitrl
sensors
messages
camera.h
Generated by
1.9.8