#include <cmath>
#include <algorithm>
#include <iomanip>
#include <cstdint>
#include <yarp/os/Value.h>
#include <yarp/sig/ImageUtils.h>
#include <librealsense2/rsutil.h>
#include "realsense2Driver.h"
Go to the source code of this file.
|
static std::string | get_device_information (const rs2::device &dev) |
|
static void | print_supported_options (const rs2::sensor &sensor) |
|
static bool | isSupportedFormat (const rs2::sensor &sensor, const int width, const int height, const int fps, bool verbose=false) |
|
static bool | optionPerc2Value (rs2_option option, const rs2::sensor *sensor, const float &perc, float &value) |
|
static bool | optionValue2Perc (rs2_option option, const rs2::sensor *sensor, float &perc, const float &value) |
|
static bool | setOption (rs2_option option, const rs2::sensor *sensor, float value) |
|
static bool | getOption (rs2_option option, const rs2::sensor *sensor, float &value) |
|
static int | pixFormatToCode (const rs2_format p) |
|
static size_t | bytesPerPixel (const rs2_format format) |
|
static YarpDistortion | rsDistToYarpDist (const rs2_distortion dist) |
|
◆ bytesPerPixel()
static size_t bytesPerPixel |
( |
const rs2_format |
format | ) |
|
|
static |
◆ get_device_information()
static std::string get_device_information |
( |
const rs2::device & |
dev | ) |
|
|
static |
◆ getOption()
static bool getOption |
( |
rs2_option |
option, |
|
|
const rs2::sensor * |
sensor, |
|
|
float & |
value |
|
) |
| |
|
static |
◆ isSupportedFormat()
static bool isSupportedFormat |
( |
const rs2::sensor & |
sensor, |
|
|
const int |
width, |
|
|
const int |
height, |
|
|
const int |
fps, |
|
|
bool |
verbose = false |
|
) |
| |
|
static |
◆ optionPerc2Value()
static bool optionPerc2Value |
( |
rs2_option |
option, |
|
|
const rs2::sensor * |
sensor, |
|
|
const float & |
perc, |
|
|
float & |
value |
|
) |
| |
|
static |
◆ optionValue2Perc()
static bool optionValue2Perc |
( |
rs2_option |
option, |
|
|
const rs2::sensor * |
sensor, |
|
|
float & |
perc, |
|
|
const float & |
value |
|
) |
| |
|
static |
◆ pixFormatToCode()
static int pixFormatToCode |
( |
const rs2_format |
p | ) |
|
|
static |
◆ print_supported_options()
static void print_supported_options |
( |
const rs2::sensor & |
sensor | ) |
|
|
static |
◆ rsDistToYarpDist()
◆ setOption()
static bool setOption |
( |
rs2_option |
option, |
|
|
const rs2::sensor * |
sensor, |
|
|
float |
value |
|
) |
| |
|
static |
◆ accuracy
constexpr char accuracy[] = "accuracy" |
◆ clipPlanes
constexpr char clipPlanes[] = "clipPlanes" |
◆ depthRes
constexpr char depthRes[] = "depthResolution" |
◆ enableEmitter
constexpr char enableEmitter[] = "enableEmitter" |
◆ framerate
constexpr char framerate[] = "framerate" |
◆ needAlignment
constexpr char needAlignment[] = "needAlignment" |
◆ params_map
Initial value:=
{
}
constexpr char accuracy[]
constexpr char depthRes[]
constexpr char needAlignment[]
constexpr char clipPlanes[]
constexpr char framerate[]
constexpr char enableEmitter[]
Definition at line 35 of file realsense2Driver.cpp.
◆ rgbRes
constexpr char rgbRes[] = "rgbResolution" |