pyrealsense2.tm2

class pyrealsense2.tm2

The tm2 class is an interface for T2XX devices, such as T265. For T265, it provides RS2_STREAM_FISHEYE(2), RS2_STREAM_GYRO, RS2_STREAM_ACCEL, and RS2_STREAM_POSE streams, and contains the following sensors: -pose_sensor: map and relocalization functions. -wheel_odometer: input for odometry data.

__init__(self: pyrealsense2.tm2, device: pyrealsense2.device) → None

Methods

__init__((self: pyrealsense2.tm2, ...)
as_auto_calibrated_device(...)
as_debug_protocol(...)
as_playback(...)
as_recorder(...)
as_tm2((self: pyrealsense2.device) -> rs2::tm2)
as_updatable(...)
as_update_device(...)
disable_loopback(...) Restores the given device into normal operation mode
enable_loopback((self: pyrealsense2.tm2, ...) Enter the given device into loopback operation mode that uses the given file as input for raw data
first_color_sensor(...)
first_depth_sensor(...)
first_fisheye_sensor(...)
first_motion_sensor(...)
first_pose_sensor(...)
first_roi_sensor(...)
get_info((self: pyrealsense2.device, ...) Retrieve camera specific information, like versions of various internal components
hardware_reset(...) Send hardware reset request to the device
is_auto_calibrated_device(...)
is_debug_protocol(...)
is_loopback_enabled(...) Checks if the device is in loopback mode or not
is_playback((self: pyrealsense2.device) -> bool)
is_recorder((self: pyrealsense2.device) -> bool)
is_tm2((self: pyrealsense2.device) -> bool)
is_updatable((self: pyrealsense2.device) -> bool)
is_update_device(...)
query_sensors(...) Returns the list of adjacent devices, sharing the same physical parent composite device.
reset_to_factory_calibration(...) Reset to factory calibration
set_extrinsics((self: pyrealsense2.tm2, ...) Set camera extrinsics
set_intrinsics((self: pyrealsense2.tm2, ...) Set camera intrinsics
set_motion_device_intrinsics(...) Set motion device intrinsics
supports((self: pyrealsense2.device, ...) Check if specific camera info is supported.
write_calibration(...) Write calibration to device’s EEPROM

Attributes

sensors List of adjacent devices, sharing the same physical parent composite device.
disable_loopback(self: pyrealsense2.tm2) → None

Restores the given device into normal operation mode

enable_loopback(self: pyrealsense2.tm2, filename: str) → None

Enter the given device into loopback operation mode that uses the given file as input for raw data

is_loopback_enabled(self: pyrealsense2.tm2) → bool

Checks if the device is in loopback mode or not

reset_to_factory_calibration(self: pyrealsense2.tm2) → None

Reset to factory calibration

set_extrinsics(self: pyrealsense2.tm2, from_stream: pyrealsense2.stream, from_id: int, to_stream: pyrealsense2.stream, to_id: int, extrinsics: pyrealsense2.extrinsics) → None

Set camera extrinsics

set_intrinsics(self: pyrealsense2.tm2, sensor_id: int, intrinsics: pyrealsense2.intrinsics) → None

Set camera intrinsics

set_motion_device_intrinsics(self: pyrealsense2.tm2, stream_type: pyrealsense2.stream, motion_intrinsics: pyrealsense2.motion_device_intrinsic) → None

Set motion device intrinsics

write_calibration(self: pyrealsense2.tm2) → None

Write calibration to device’s EEPROM