bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::sensors::backends::MJPEG_HTTPCameraBackend::Config Struct Reference

Settings of the backend. More...

#include <mjpeg_http_camera_backend.h>

Public Attributes

std::string url
 The URL of the stream, e.g. http://raspberrypi.local:8000/stream.
real_t timeout {1.0}
 The stream is alive while frames arrive at most this far apart [s].
real_t reconnect_delay {0.5}
 How long to wait before connecting again after a failure [s].
real_t io_timeout {5.0}
 Give up opening, or reading a frame, after this long [s].

Detailed Description

Settings of the backend.

Member Data Documentation

◆ io_timeout

real_t bitsim::sensors::backends::MJPEG_HTTPCameraBackend::Config::io_timeout {5.0}

Give up opening, or reading a frame, after this long [s].

◆ reconnect_delay

real_t bitsim::sensors::backends::MJPEG_HTTPCameraBackend::Config::reconnect_delay {0.5}

How long to wait before connecting again after a failure [s].

◆ timeout

real_t bitsim::sensors::backends::MJPEG_HTTPCameraBackend::Config::timeout {1.0}

The stream is alive while frames arrive at most this far apart [s].

◆ url

std::string bitsim::sensors::backends::MJPEG_HTTPCameraBackend::Config::url

The URL of the stream, e.g. http://raspberrypi.local:8000/stream.


The documentation for this struct was generated from the following file: