Classes | Namespaces | Macros | Enumerations | Functions
t265-messages.h File Reference
#include <stdint.h>
#include <math.h>
Include dependency graph for t265-messages.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  t265::bulk_message_accelerometer_stream
 Bulk raw accelerometer stream message. More...
 
struct  t265::bulk_message_accelerometer_stream_metadata
 Bulk raw accelerometer stream metadata. More...
 
struct  t265::bulk_message_gyro_stream
 Bulk raw gyro stream message. More...
 
struct  t265::bulk_message_gyro_stream_metadata
 Bulk raw gyro stream metadata. More...
 
struct  t265::bulk_message_large_stream
 Bulk Set Localization Data Stream Message. More...
 
struct  t265::bulk_message_raw_stream_header
 Stream Endpoint Protocol. More...
 
struct  t265::bulk_message_request_6dof_control
 Bulk 6DoF Control Message. More...
 
struct  t265::bulk_message_request_get_and_clear_event_log
 Bulk Get and Clear Event Log Message. More...
 
struct  t265::bulk_message_request_get_camera_intrinsics
 
struct  t265::bulk_message_request_get_device_info
 Bulk Get Device Info Message. More...
 
struct  t265::bulk_message_request_get_extrinsics
 
struct  t265::bulk_message_request_get_localization_data
 Bulk Get Localization Data Message. More...
 
struct  t265::bulk_message_request_get_motion_intrinsics
 
struct  t265::bulk_message_request_get_pose
 
struct  t265::bulk_message_request_get_static_node
 Bulk Get Static Node Message. More...
 
struct  t265::bulk_message_request_get_supported_raw_streams
 Bulk Get Supported Raw Streams Message. More...
 
struct  t265::bulk_message_request_get_temperature
 
struct  t265::bulk_message_request_get_time
 Bulk Get Time Message. More...
 
struct  t265::bulk_message_request_gpio_control
 Bulk GPIO control Message. More...
 
struct  t265::bulk_message_request_header
 Bulk message request header struct. More...
 
struct  t265::bulk_message_request_lock_configuration
 Bulk configuration Lock Message. More...
 
struct  t265::bulk_message_request_lock_eeprom
 Bulk eeprom Lock Message. More...
 
struct  t265::bulk_message_request_log_control
 Bulk Log Control Message. More...
 
struct  t265::bulk_message_request_occupancy_map_control
 Bulk Occupancy Map Control Message. More...
 
struct  t265::bulk_message_request_raw_streams_control
 Bulk Raw Streams Control Message. More...
 
struct  t265::bulk_message_request_raw_streams_playback_control
 Bulk Raw Streams Playback Control Message. More...
 
struct  t265::bulk_message_request_read_configuration
 Bulk read configuration Message. More...
 
struct  t265::bulk_message_request_read_eeprom
 Bulk Read EEPROM Message. More...
 
struct  t265::bulk_message_request_remove_static_node
 
struct  t265::bulk_message_request_reset
 Bulk Reset Message. More...
 
struct  t265::bulk_message_request_reset_configuration
 Bulk reset configuration Message. More...
 
struct  t265::bulk_message_request_set_6dof_interrupt_rate
 
struct  t265::bulk_message_request_set_camera_intrinsics
 Bulk Set Camera Intrinsics Message. More...
 
struct  t265::bulk_message_request_set_exposure
 
struct  t265::bulk_message_request_set_exposure_mode_control
 Bulk Set Exposure Control Message Enable/disable the auto-exposure management of the different video streams, and configure the powerline frequency rate. Calling this message is only supported before the streams are started. The default values for video streams 0 and 1 shall be auto-exposure enable with 50Hz flicker rate. The firmware only supports the following: More...
 
struct  t265::bulk_message_request_set_extrinsics
 
struct  t265::bulk_message_request_set_low_power_mode
 Bulk enable low power Message. More...
 
struct  t265::bulk_message_request_set_motion_intrinsics
 Bulk Set Motion Module Intrinsics Message. More...
 
struct  t265::bulk_message_request_set_static_node
 
struct  t265::bulk_message_request_set_temperature_threshold
 
struct  t265::bulk_message_request_slam_append_calibration
 Bulk SLAM override calibration Message. More...
 
struct  t265::bulk_message_request_slam_calibration
 Bulk SLAM calibration Message. More...
 
struct  t265::bulk_message_request_start
 Bulk Start Message. More...
 
struct  t265::bulk_message_request_stop
 Bulk Stop Message. More...
 
struct  t265::bulk_message_request_stream_config
 Bulk Device stream config Message. More...
 
struct  t265::bulk_message_request_timeout_configuration
 Bulk timeout configuration Message. More...
 
struct  t265::bulk_message_request_write_configuration
 Bulk write configuration Message. More...
 
struct  t265::bulk_message_request_write_eeprom
 Bulk Write EEPROM data Message. More...
 
struct  t265::bulk_message_response_6dof_control
 
struct  t265::bulk_message_response_get_and_clear_event_log
 
struct  t265::bulk_message_response_get_camera_intrinsics
 
struct  t265::bulk_message_response_get_device_info
 
struct  t265::bulk_message_response_get_extrinsics
 
struct  t265::bulk_message_response_get_localization_data
 
struct  t265::bulk_message_response_get_motion_intrinsics
 
struct  t265::bulk_message_response_get_pose
 
struct  t265::bulk_message_response_get_static_node
 
struct  t265::bulk_message_response_get_supported_raw_streams
 
struct  t265::bulk_message_response_get_temperature
 
struct  t265::bulk_message_response_get_time
 
struct  t265::bulk_message_response_gpio_control
 
struct  t265::bulk_message_response_header
 Bulk message response header struct. More...
 
struct  t265::bulk_message_response_lock_configuration
 
struct  t265::bulk_message_response_lock_eeprom
 
struct  t265::bulk_message_response_log_control
 
struct  t265::bulk_message_response_occupancy_map_control
 
struct  t265::bulk_message_response_raw_streams_control
 
struct  t265::bulk_message_response_raw_streams_playback_control
 
struct  t265::bulk_message_response_read_configuration
 
struct  t265::bulk_message_response_read_eeprom
 
struct  t265::bulk_message_response_remove_static_node
 
struct  t265::bulk_message_response_reset
 
struct  t265::bulk_message_response_reset_configuration
 
struct  t265::bulk_message_response_set_6dof_interrupt_rate
 
struct  t265::bulk_message_response_set_camera_intrinsics
 
struct  t265::bulk_message_response_set_exposure
 
struct  t265::bulk_message_response_set_exposure_mode_control
 
struct  t265::bulk_message_response_set_extrinsics
 
struct  t265::bulk_message_response_set_low_power_mode
 
struct  t265::bulk_message_response_set_motion_intrinsics
 
struct  t265::bulk_message_response_set_static_node
 
struct  t265::bulk_message_response_set_temperature_threshold
 
struct  t265::bulk_message_response_slam_append_calibration
 
struct  t265::bulk_message_response_slam_calibration
 
struct  t265::bulk_message_response_start
 
struct  t265::bulk_message_response_stop
 
struct  t265::bulk_message_response_stream_config
 
struct  t265::bulk_message_response_timeout_configuration
 
struct  t265::bulk_message_response_write_configuration
 
struct  t265::bulk_message_response_write_eeprom
 
struct  t265::bulk_message_velocimeter_stream
 Bulk raw velocimeter stream message. More...
 
struct  t265::bulk_message_velocimeter_stream_metadata
 Bulk raw velocimeter stream metadata. More...
 
struct  t265::bulk_message_video_stream
 Bulk raw video stream message. More...
 
struct  t265::bulk_message_video_stream_metadata
 Bulk raw video stream metadata. More...
 
struct  t265::camera_intrinsics
 Bulk Get Camera Intrinsics Message. More...
 
struct  t265::control_message_request_get_interface_version
 
struct  t265::control_message_request_header
 Control message request header struct. More...
 
struct  t265::control_message_request_reset
 Control reset Message. More...
 
struct  t265::control_message_response_get_interface_version
 
struct  t265::device_event_log
 
struct  t265::device_info_libtm_message
 Device Info libtm Message. More...
 
struct  t265::interface_version_libtm_message
 Control get interface version Message. More...
 
struct  t265::interrupt_message_accelerometer_stream
 Interrupt raw accelerometer stream message. More...
 
struct  t265::interrupt_message_accelerometer_stream_metadata
 Interrupt raw accelerometer stream metadata. More...
 
struct  t265::interrupt_message_general_error
 Interrupt error message. More...
 
struct  t265::interrupt_message_get_localization_data_stream
 Interrupt Get Localization Data Stream message. More...
 
struct  t265::interrupt_message_get_pose
 Interrupt get pose message. More...
 
struct  t265::interrupt_message_gyro_stream
 Interrupt raw gyro stream message. More...
 
struct  t265::interrupt_message_gyro_stream_metadata
 Interrupt raw gyro stream metadata. More...
 
struct  t265::interrupt_message_header
 Interrupt Endpoint Protocol. More...
 
struct  t265::interrupt_message_raw_stream_header
 Interrupt raw stream header. More...
 
struct  t265::interrupt_message_set_localization_data_stream
 Interrupt Set Localization Data Stream message. More...
 
struct  t265::interrupt_message_slam_error
 Interrupt SLAM error message. More...
 
struct  t265::interrupt_message_slam_relocalization_event
 Interrupt SLAM Relocalization Event message. More...
 
struct  t265::interrupt_message_status
 Interrupt status message. More...
 
struct  t265::interrupt_message_velocimeter_stream
 Interrupt raw velocimeter stream message. More...
 
struct  t265::interrupt_message_velocimeter_stream_metadata
 Interrupt raw velocimeter stream metadata. More...
 
struct  t265::motion_intrinsics
 Bulk Get Motion Module Intrinsics Message. More...
 
struct  t265::pose_data
 Bulk Get Pose Message. More...
 
struct  t265::sensor_extrinsics
 Bulk Get Extrinsics Message. More...
 
struct  t265::sensor_set_temperature
 Bulk Set Temperature Threshold Message. More...
 
struct  t265::sensor_temperature
 Bulk Get Temperature Message. More...
 
struct  t265::sixdof_interrupt_rate_libtm_message
 Bulk Set 6DoF Interrupt Rate Message. More...
 
struct  t265::static_node_data
 Bulk Set Static Node Message. More...
 
struct  t265::stream_exposure
 Bulk Set Exposure Message. More...
 
struct  t265::supported_raw_stream_libtm_message
 Supported Raw Stream libtm Message. More...
 

Namespaces

 t265
 

Macros

#define MAX_EEPROM_BUFFER_SIZE   (MAX_MESSAGE_LEN - sizeof(bulk_message_request_header) - 4)
 
#define MAX_EEPROM_CONFIGURATION_SIZE   1200
 
#define MAX_FW_LOG_BUFFER_ENTRIES   (512)
 
#define MAX_FW_UPDATE_FILE_COUNT   6
 
#define MAX_GUID_LENGTH   128
 
#define MAX_LOG_PAYLOAD_SIZE   (44)
 
#define MAX_MESSAGE_LEN   1024
 
#define MAX_SLAM_CALIBRATION_SIZE   10000
 
#define MAX_TABLE_SIZE   (MAX_MESSAGE_LEN - sizeof(bulk_message_response_header))
 
#define MAX_VIDEO_STREAMS   8
 This file contains protocols definitions for TM2 USB vendor specific host/device interface. More...
 

Enumerations

enum  t265::BULK_MESSAGE_ID {
  t265::DEV_GET_DEVICE_INFO = 0x0001, t265::DEV_GET_TIME = 0x0002, t265::DEV_GET_AND_CLEAR_EVENT_LOG = 0x0003, t265::DEV_GET_SUPPORTED_RAW_STREAMS = 0x0004,
  t265::DEV_RAW_STREAMS_CONTROL = 0x0005, t265::DEV_GET_CAMERA_INTRINSICS = 0x0006, t265::DEV_GET_MOTION_INTRINSICS = 0x0007, t265::DEV_GET_EXTRINSICS = 0x0008,
  t265::DEV_SET_CAMERA_INTRINSICS = 0x0009, t265::DEV_SET_MOTION_INTRINSICS = 0x000A, t265::DEV_SET_EXTRINSICS = 0x000B, t265::DEV_LOG_CONTROL = 0x000C,
  t265::DEV_STREAM_CONFIG = 0x000D, t265::DEV_RAW_STREAMS_PLAYBACK_CONTROL = 0x000E, t265::DEV_READ_EEPROM = 0x000F, t265::DEV_WRITE_EEPROM = 0x0010,
  t265::DEV_SAMPLE = 0x0011, t265::DEV_START = 0x0012, t265::DEV_STOP = 0x0013, t265::DEV_STATUS = 0x0014,
  t265::DEV_GET_POSE = 0x0015, t265::DEV_EXPOSURE_MODE_CONTROL = 0x0016, t265::DEV_SET_EXPOSURE = 0x0017, t265::DEV_GET_TEMPERATURE = 0x0018,
  t265::DEV_SET_TEMPERATURE_THRESHOLD = 0x0019, t265::DEV_FIRMWARE_UPDATE = 0x001C, t265::DEV_GPIO_CONTROL = 0x001D, t265::DEV_TIMEOUT_CONFIGURATION = 0x001E,
  t265::DEV_SNAPSHOT = 0x001F, t265::DEV_READ_CONFIGURATION = 0x0020, t265::DEV_WRITE_CONFIGURATION = 0x0021, t265::DEV_RESET_CONFIGURATION = 0x0022,
  t265::DEV_LOCK_CONFIGURATION = 0x0023, t265::DEV_LOCK_EEPROM = 0x0024, t265::DEV_SET_LOW_POWER_MODE = 0x0025, t265::SLAM_STATUS = 0x1001,
  t265::SLAM_GET_OCCUPANCY_MAP_TILES = 0x1002, t265::SLAM_GET_LOCALIZATION_DATA = 0x1003, t265::SLAM_SET_LOCALIZATION_DATA_STREAM = 0x1004, t265::SLAM_SET_6DOF_INTERRUPT_RATE = 0x1005,
  t265::SLAM_6DOF_CONTROL = 0x1006, t265::SLAM_OCCUPANCY_MAP_CONTROL = 0x1007, t265::SLAM_GET_LOCALIZATION_DATA_STREAM = 0x1009, t265::SLAM_SET_STATIC_NODE = 0x100A,
  t265::SLAM_GET_STATIC_NODE = 0x100B, t265::SLAM_APPEND_CALIBRATION = 0x100C, t265::SLAM_CALIBRATION = 0x100D, t265::SLAM_RELOCALIZATION_EVENT = 0x100E,
  t265::SLAM_REMOVE_STATIC_NODE = 0x100F, t265::DEV_ERROR = 0x8000, t265::SLAM_ERROR = 0x9000, t265::MAX_MESSAGE_ID = 0xFFFF
}
 Defines all bulk messages ids. More...
 
enum  t265::CONTROL_MESSAGE_ID { t265::CONTROL_USB_RESET = 0x0010, t265::CONTROL_GET_INTERFACE_VERSION = 0x0011, t265::MAX_CONTROL_ID = 0xFFFF }
 Defines all control messages ids. More...
 
enum  t265::EEPROM_LOCK_STATE { t265::EEPROM_LOCK_STATE_WRITEABLE = 0x0000, t265::EEPROM_LOCK_STATE_LOCKED = 0x0001, t265::EEPROM_LOCK_STATE_PERMANENT_LOCKED = 0x0003, t265::EEPROM_LOCK_STATE_MAX = 0xFFFF }
 Defines EEPROM lock states. More...
 
enum  t265::FW_STATUS_CODE { t265::FW_STATUS_CODE_OK = 0, t265::FW_STATUS_CODE_FAIL = 1, t265::FW_STATUS_CODE_NO_CALIBRATION_DATA = 1000 }
 Defines all FW status codes. More...
 
enum  t265::MESSAGE_STATUS {
  t265::SUCCESS = 0X0000, t265::UNKNOWN_MESSAGE_ID = 0x0001, t265::INVALID_REQUEST_LEN = 0x0002, t265::INVALID_PARAMETER = 0x0003,
  t265::INTERNAL_ERROR = 0x0004, t265::UNSUPPORTED = 0x0005, t265::LIST_TOO_BIG = 0x0006, t265::MORE_DATA_AVAILABLE = 0x0007,
  t265::DEVICE_BUSY = 0x0008, t265::TIMEOUT = 0x0009, t265::TABLE_NOT_EXIST = 0x000A, t265::TABLE_LOCKED = 0x000B,
  t265::DEVICE_STOPPED = 0x000C, t265::TEMPERATURE_WARNING = 0x0010, t265::TEMPERATURE_STOP = 0x0011, t265::CRC_ERROR = 0x0012,
  t265::INCOMPATIBLE = 0x0013, t265::AUTH_ERROR = 0x0014, t265::DEVICE_RESET = 0x0015, t265::SLAM_NO_DICTIONARY = 0x9001
}
 Defines all bulk message return statuses. More...
 
enum  t265::PixelFormat {
  t265::ANY = 0, t265::Z16 = 1, t265::DISPARITY16 = 2, t265::XYZ32F = 3,
  t265::YUYV = 4, t265::RGB8 = 5, t265::BGR8 = 6, t265::RGBA8 = 7,
  t265::BGRA8 = 8, t265::Y8 = 9, t265::Y16 = 10, t265::RAW8 = 11,
  t265::RAW10 = 12, t265::RAW16 = 13
}
 
enum  t265::SensorType {
  t265::Color = 0, t265::Depth = 1, t265::IR = 2, t265::Fisheye = 3,
  t265::Gyro = 4, t265::Accelerometer = 5, t265::Controller = 6, t265::Rssi = 7,
  t265::Velocimeter = 8, t265::Stereo = 9, t265::Pose = 10, t265::ControllerProperty = 11,
  t265::Mask = 12, t265::Max
}
 Defines all sensors types (bSensorID/bCameraID/bMotionID) More...
 
enum  t265::SIXDOF_MODE {
  t265::SIXDOF_MODE_NORMAL = 0X0000, t265::SIXDOF_MODE_FAST_PLAYBACK = 0x0001, t265::SIXDOF_MODE_ENABLE_MAPPING = 0x0002, t265::SIXDOF_MODE_ENABLE_RELOCALIZATION = 0x0004,
  t265::SIXDOF_MODE_DISABLE_JUMPING = 0x0008, t265::SIXDOF_MODE_DISABLE_DYNAMIC_CALIBRATION = 0x0010, t265::SIXDOF_MODE_ENABLE_MAP_PRESERVATION = 0x0020, t265::SIXDOF_MODE_MAX = ((SIXDOF_MODE_FAST_PLAYBACK | SIXDOF_MODE_ENABLE_MAPPING | SIXDOF_MODE_ENABLE_RELOCALIZATION | SIXDOF_MODE_DISABLE_JUMPING | SIXDOF_MODE_DISABLE_DYNAMIC_CALIBRATION | SIXDOF_MODE_ENABLE_MAP_PRESERVATION) + 1)
}
 Defines all 6dof modes. More...
 
enum  t265::SKU_INFO_TYPE { t265::SKU_INFO_TYPE_WITHOUT_BLUETOOTH = 0x0000, t265::SKU_INFO_TYPE_WITH_BLUETOOTH = 0x0001, t265::SKU_INFO_TYPE_MAX = 0xFFFF }
 Defines SKU info types. More...
 
enum  t265::SLAM_ERROR_CODE { t265::SLAM_ERROR_CODE_NONE = 0, t265::SLAM_ERROR_CODE_VISION = 1, t265::SLAM_ERROR_CODE_SPEED = 2, t265::SLAM_ERROR_CODE_OTHER = 3 }
 Defines all SLAM error codes. More...
 
enum  t265::SLAM_STATUS_CODE { t265::SLAM_STATUS_CODE_SUCCESS = 0, t265::SLAM_STATUS_CODE_LOCALIZATION_DATA_SET_SUCCESS = 1 }
 Defines all SLAM status codes. More...
 

Functions

SIXDOF_MODE t265::operator& (SIXDOF_MODE x, SIXDOF_MODE y)
 
SIXDOF_MODE & t265::operator&= (SIXDOF_MODE &x, SIXDOF_MODE y)
 
SIXDOF_MODE t265::operator| (SIXDOF_MODE x, SIXDOF_MODE y)
 
SIXDOF_MODE & t265::operator|= (SIXDOF_MODE &x, SIXDOF_MODE y)
 
SIXDOF_MODE t265::operator~ (SIXDOF_MODE x)
 

Macro Definition Documentation

#define MAX_EEPROM_BUFFER_SIZE   (MAX_MESSAGE_LEN - sizeof(bulk_message_request_header) - 4)

Definition at line 31 of file t265-messages.h.

#define MAX_EEPROM_CONFIGURATION_SIZE   1200

Definition at line 33 of file t265-messages.h.

#define MAX_FW_LOG_BUFFER_ENTRIES   (512)

Definition at line 28 of file t265-messages.h.

#define MAX_FW_UPDATE_FILE_COUNT   6

Definition at line 35 of file t265-messages.h.

#define MAX_GUID_LENGTH   128

Definition at line 34 of file t265-messages.h.

#define MAX_LOG_PAYLOAD_SIZE   (44)

Definition at line 29 of file t265-messages.h.

#define MAX_MESSAGE_LEN   1024

Definition at line 30 of file t265-messages.h.

#define MAX_SLAM_CALIBRATION_SIZE   10000

Definition at line 36 of file t265-messages.h.

#define MAX_TABLE_SIZE   (MAX_MESSAGE_LEN - sizeof(bulk_message_response_header))

Definition at line 32 of file t265-messages.h.

#define MAX_VIDEO_STREAMS   8

This file contains protocols definitions for TM2 USB vendor specific host/device interface.

Bulk In/Out endpoints - for general communication, the protocol on the bulk endpoints is in a request/response convention Additional Bulk In endpoint - for video stream (Stream endpoint) Interrupt endpoint - for periodic low latency data (namely 6DoF output) and IMU outputs All structures below should be treated as little-endian

Definition at line 27 of file t265-messages.h.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:30