bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
libs
bitsim
src
bitsim
sensors
messages
camera.h
Go to the documentation of this file.
1
//
2
// Created by alex on 11/23/25.
3
//
4
5
#ifndef BITSIM_SENSORS_MESSAGES_CAMERA_H
6
#define BITSIM_SENSORS_MESSAGES_CAMERA_H
7
8
#include <opencv2/opencv.hpp>
9
#include <optional>
10
#include <string>
11
12
namespace
bitsim
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 bitsim
23
24
#endif
// BITSIM_SENSORS_MESSAGES_CAMERA_H
bitsim::sensors
Definition
infrared_line_follower.h:9
bitsim
Definition
dc_motor_backend_base.h:9
bitsim::sensors::CameraMessage
Definition
camera.h:17
bitsim::sensors::CameraMessage::parse
static std::optional< CameraMessage > parse(const std::string &base64jpeg)
Definition
camera.cpp:12
bitsim::sensors::CameraMessage::image
cv::Mat image
Definition
camera.h:18
Generated by
1.15.0