#include <memory>#include <thread>#include <inttypes.h>#include "tm-device.h"#include "stream.h"#include "media/playback/playback_device.h"#include "media/ros/ros_reader.h"#include "usb/usb-enumerator.h"#include "t265-messages.h"#include "message-print.h"
Go to the source code of this file.
Namespaces | |
| librealsense | |
Enumerations | |
| enum | log_level { NO_LOG = 0x0000, LOG_ERR = 0x0001, INFO = 0x0002, WARNING = 0x0003, DEBUG = 0x0004, VERBOSE = 0x0005, TRACE = 0x0006, MAX_LOG_LEVEL } |
| enum | librealsense::temperature_type { librealsense::TEMPERATURE_TYPE_ASIC, librealsense::TEMPERATURE_TYPE_MOTION } |
Functions | |
| std::string | librealsense::async_op_to_string (tm2_sensor::async_op_state val) |
| static uint64_t | bytesSwap (uint64_t val) |
| rs2_format | rs2_format_from_tm2 (const uint8_t format) |
| int | tm2_sensor_id (rs2_stream type, int stream_index) |
| int | tm2_sensor_type (rs2_stream rtype) |
Variables | |
| static const int | BUFFER_SIZE = 1024 |
| static const int | MAX_TRANSFER_SIZE = 848 * 800 + sizeof(bulk_message_video_stream) |
| const std::map< PixelFormat, rs2_format > | tm2_formats_map |
| static const int | USB_TIMEOUT = 10000 |
| #define ENDPOINT_DEV_IN 0 |
Definition at line 54 of file tm-device.cpp.
| #define ENDPOINT_DEV_INT_IN 2 |
Definition at line 58 of file tm-device.cpp.
| #define ENDPOINT_DEV_INT_OUT 2 |
Definition at line 59 of file tm-device.cpp.
| #define ENDPOINT_DEV_MSGS_IN 1 |
Definition at line 56 of file tm-device.cpp.
| #define ENDPOINT_DEV_MSGS_OUT 1 |
Definition at line 57 of file tm-device.cpp.
| #define ENDPOINT_DEV_OUT 0 |
Definition at line 55 of file tm-device.cpp.
| #define ENDPOINT_HOST_IN (ENDPOINT_DEV_OUT + 1 + 0x80) |
Definition at line 64 of file tm-device.cpp.
| #define ENDPOINT_HOST_INT_IN (ENDPOINT_DEV_INT_OUT + 1 + 0x80) |
Definition at line 68 of file tm-device.cpp.
| #define ENDPOINT_HOST_INT_OUT (ENDPOINT_DEV_INT_IN + 1) |
Definition at line 69 of file tm-device.cpp.
| #define ENDPOINT_HOST_MSGS_IN (ENDPOINT_DEV_MSGS_OUT + 1 + 0x80) |
Definition at line 66 of file tm-device.cpp.
| #define ENDPOINT_HOST_MSGS_OUT (ENDPOINT_DEV_MSGS_IN + 1) |
Definition at line 67 of file tm-device.cpp.
| #define ENDPOINT_HOST_OUT (ENDPOINT_DEV_IN + 1) |
Definition at line 65 of file tm-device.cpp.
| #define FREE_CONT 0x8001 |
Definition at line 82 of file tm-device.cpp.
| #define GET_SENSOR_INDEX | ( | _sensorID | ) | ((_sensorID & SENSOR_INDEX_MASK) >> SENSOR_INDEX_POS) |
Definition at line 49 of file tm-device.cpp.
| #define GET_SENSOR_TYPE | ( | _sensorID | ) | ((_sensorID & SENSOR_TYPE_MASK) >> SENSOR_TYPE_POS) |
Definition at line 50 of file tm-device.cpp.
| #define NOMINMAX |
Definition at line 5 of file tm-device.cpp.
| #define SENSOR_INDEX_MASK (0x0007 << SENSOR_INDEX_POS) |
Bits 5-7
Definition at line 47 of file tm-device.cpp.
| #define SENSOR_INDEX_POS (5) |
Definition at line 46 of file tm-device.cpp.
| #define SENSOR_TYPE_MASK (0x001F << SENSOR_TYPE_POS) |
Bits 0-4
Definition at line 45 of file tm-device.cpp.
| #define SENSOR_TYPE_POS (0) |
Definition at line 44 of file tm-device.cpp.
| #define SET_SENSOR_ID | ( | _type, | |
| _index | |||
| ) | ((((_type) << SENSOR_TYPE_POS) & SENSOR_TYPE_MASK) | (((_index) << SENSOR_INDEX_POS) & SENSOR_INDEX_MASK)) |
Definition at line 48 of file tm-device.cpp.
| enum log_level |
| Enumerator | |
|---|---|
| NO_LOG | |
| LOG_ERR | |
| INFO | |
| WARNING | |
| DEBUG | |
| VERBOSE | |
| TRACE | |
| MAX_LOG_LEVEL | |
Definition at line 71 of file tm-device.cpp.
Definition at line 30 of file tm-device.cpp.
|
inline |
Definition at line 106 of file tm-device.cpp.
|
inline |
Definition at line 125 of file tm-device.cpp.
|
inline |
Definition at line 111 of file tm-device.cpp.
|
static |
Definition at line 86 of file tm-device.cpp.
|
static |
Definition at line 84 of file tm-device.cpp.
| const std::map<PixelFormat, rs2_format> tm2_formats_map |
Definition at line 88 of file tm-device.cpp.
|
static |
Definition at line 85 of file tm-device.cpp.