Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
librealsense::tm2_sensor Class Reference

#include <tm-device.h>

Inheritance diagram for librealsense::tm2_sensor:
Inheritance graph
[legend]

Classes

class  coordinated_ts
 

Public Types

enum  async_op_state {
  _async_init = 1 << 0, _async_progress = 1 << 1, _async_success = 1 << 2, _async_fail = 1 << 3,
  _async_max = 1 << 4
}
 

Public Member Functions

void close () override
 
virtual void create_snapshot (std::shared_ptr< pose_sensor_interface > &snapshot) const override
 
virtual void create_snapshot (std::shared_ptr< wheel_odometry_interface > &snapshot) const override
 
void disable_loopback ()
 
void dispose ()
 
void enable_loopback (std::shared_ptr< playback_device > input)
 
virtual void enable_recording (std::function< void(const pose_sensor_interface &)> record_action) override
 
virtual void enable_recording (std::function< void(const wheel_odometry_interface &)> record_action) override
 
bool export_relocalization_map (std::vector< uint8_t > &lmap_buf) const override
 
float get_exposure () const
 
rs2_extrinsics get_extrinsics (const stream_profile_interface &profile, int sensor_id) const
 
float get_gain () const
 
rs2_intrinsics get_intrinsics (const stream_profile &profile) const override
 
rs2_motion_device_intrinsic get_motion_intrinsics (const motion_stream_profile_interface &profile) const
 
bool get_static_node (const std::string &guid, float3 &pos, float4 &orient_quat) const override
 
t265::sensor_temperature get_temperature (int sensor_id)
 
bool import_relocalization_map (const std::vector< uint8_t > &lmap_buf) const override
 
stream_profiles init_stream_profiles () override
 
bool is_loopback_enabled () const
 
bool is_manual_exposure () const
 
bool load_wheel_odometery_config (const std::vector< uint8_t > &odometry_config_buf) const override
 
void open (const stream_profiles &requests) override
 
async_op_state perform_async_transfer (std::function< bool()> transfer_activator, std::function< void()> on_success, const std::string &op_description) const
 
bool remove_static_node (const std::string &guid) const override
 
void reset_to_factory_calibration () override
 
bool send_wheel_odometry (uint8_t wo_sensor_id, uint32_t frame_num, const float3 &translational_velocity) const override
 
void set_exposure (float value)
 
void set_exposure_and_gain (float exposure_ms, float gain)
 
void set_extrinsics (const stream_profile_interface &from_profile, const stream_profile_interface &to_profile, const rs2_extrinsics &extr) override
 
void set_extrinsics_to_ref (rs2_stream stream_type, int stream_index, const rs2_extrinsics &extr)
 
void set_gain (float value)
 
void set_intrinsics (const stream_profile_interface &stream_profile, const rs2_intrinsics &intr) override
 
void set_manual_exposure (bool manual)
 
void set_motion_device_intrinsics (const stream_profile_interface &stream_profile, const rs2_motion_device_intrinsic &intr) override
 
bool set_static_node (const std::string &guid, const float3 &pos, const float4 &orient_quat) const override
 
void start (frame_callback_ptr callback) override
 
void stop () override
 
 tm2_sensor (tm2_device *owner)
 
void write_calibration () override
 
virtual ~tm2_sensor ()
 
- Public Member Functions inherited from librealsense::sensor_base
rs2_format fourcc_to_rs2_format (uint32_t format) const
 
rs2_stream fourcc_to_rs2_stream (uint32_t fourcc_format) const
 
stream_profiles get_active_streams () const override
 
device_interfaceget_device () override
 
std::shared_ptr< std::map< uint32_t, rs2_format > > & get_fourcc_to_rs2_format_map ()
 
std::shared_ptr< std::map< uint32_t, rs2_stream > > & get_fourcc_to_rs2_stream_map ()
 
virtual frame_callback_ptr get_frames_callback () const override
 
const std::stringget_info (rs2_camera_info info) const override
 
notifications_callback_ptr get_notifications_callback () const override
 
virtual std::shared_ptr< notifications_processorget_notifications_processor () const
 
processing_blocks get_recommended_processing_blocks () const override
 
stream_profiles get_stream_profiles (int tag=profile_tag::PROFILE_TAG_ANY) const override
 
virtual bool is_opened () const
 
bool is_streaming () const override
 
int register_before_streaming_changes_callback (std::function< void(bool)> callback) override
 
virtual void register_metadata (rs2_frame_metadata_value metadata, std::shared_ptr< md_attribute_parser_base > metadata_parser) const
 
void register_notifications_callback (notifications_callback_ptr callback) override
 
void register_on_open (on_open callback)
 
 sensor_base (std::string name, device *device, recommended_proccesing_blocks_interface *owner)
 
virtual void set_frames_callback (frame_callback_ptr callback) override
 
void set_source_owner (sensor_base *owner)
 
bool supports_info (rs2_camera_info info) const override
 
void unregister_before_start_callback (int token) override
 
virtual ~sensor_base () override
 
- Public Member Functions inherited from librealsense::sensor_interface
virtual ~sensor_interface ()=default
 
- Public Member Functions inherited from librealsense::info_interface
virtual ~info_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< info_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::options_interface
virtual ~options_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< options_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::recommended_proccesing_blocks_interface
virtual ~recommended_proccesing_blocks_interface ()=default
 
- Public Member Functions inherited from librealsense::options_container
void create_snapshot (std::shared_ptr< options_interface > &snapshot) const override
 
void enable_recording (std::function< void(const options_interface &)> record_action) override
 
optionget_option (rs2_option id) override
 
const optionget_option (rs2_option id) const override
 
std::shared_ptr< optionget_option_handler (rs2_option id)
 
std::shared_ptr< optionget_option_handler (rs2_option id) const
 
virtual const char * get_option_name (rs2_option option) const override
 
std::vector< rs2_optionget_supported_options () const override
 
void register_option (rs2_option id, std::shared_ptr< option > option)
 
bool supports_option (rs2_option id) const override
 
void unregister_option (rs2_option id)
 
void update (std::shared_ptr< extension_snapshot > ext) override
 
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default
 
- Public Member Functions inherited from librealsense::info_container
void create_snapshot (std::shared_ptr< info_interface > &snapshot) const override
 
void enable_recording (std::function< void(const info_interface &)> record_action) override
 
void register_info (rs2_camera_info info, const std::string &val)
 
void update (std::shared_ptr< extension_snapshot > ext) override
 
void update_info (rs2_camera_info info, const std::string &val)
 
- Public Member Functions inherited from librealsense::recommended_proccesing_blocks_base
virtual void create_snapshot (std::shared_ptr< recommended_proccesing_blocks_interface > &snapshot) const override
 
virtual void enable_recording (std::function< void(const recommended_proccesing_blocks_interface &)> recording_function) override
 
 recommended_proccesing_blocks_base (recommended_proccesing_blocks_interface *owner)
 
- Public Member Functions inherited from librealsense::recordable< recommended_proccesing_blocks_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::wheel_odometry_interface
virtual ~wheel_odometry_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< wheel_odometry_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::pose_sensor_interface
virtual ~pose_sensor_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< pose_sensor_interface >
virtual ~recordable ()=default
 

Public Attributes

t265::SIXDOF_MODE _tm_mode = t265::SIXDOF_MODE_ENABLE_MAPPING | t265::SIXDOF_MODE_ENABLE_RELOCALIZATION
 

Static Public Attributes

static const uint16_t ID_OEM_CAL = 6
 

Private Member Functions

void dispatch_threaded (frame_holder frame)
 
coordinated_ts get_coordinated_timestamp (uint64_t device_nanoseconds)
 
void handle_imu_frame (unsigned long long tm_frame_ts, unsigned long long frame_number, rs2_stream stream_type, int index, float3 imu_data, float temperature)
 
void log_poll ()
 
bool log_poll_once (std::unique_ptr< t265::bulk_message_response_get_and_clear_event_log > &log_buffer)
 
void pass_frames_to_fw (frame_holder fref)
 
void print_logs (const std::unique_ptr< t265::bulk_message_response_get_and_clear_event_log > &log)
 
void raise_error_notification (const std::string &msg)
 
void raise_relocalization_event (const std::string &msg, double timestamp)
 
void receive_accel_message (const t265::interrupt_message_accelerometer_stream &message)
 
void receive_gyro_message (const t265::interrupt_message_gyro_stream &message)
 
void receive_localization_data_chunk (const t265::interrupt_message_get_localization_data_stream *chunk)
 
void receive_pose_message (const t265::interrupt_message_get_pose &message)
 
void receive_set_localization_data_complete (const t265::interrupt_message_set_localization_data_stream &message)
 
void receive_video_message (const t265::bulk_message_video_stream *message)
 
bool start_interrupt ()
 
bool start_stream ()
 
void stop_interrupt ()
 
void stop_stream ()
 
void time_sync ()
 

Private Attributes

std::vector< t265::supported_raw_stream_libtm_message_active_raw_streams
 
std::condition_variable _async_op
 
std::vector< uint8_t_async_op_res_buffer
 
async_op_state _async_op_status
 
std::shared_ptr< dispatcher_data_dispatcher
 
tm2_device_device
 
platform::rs_usb_request_callback _interrupt_callback
 
platform::rs_usb_request _interrupt_request
 
std::thread _log_poll_thread
 
std::atomic< bool > _log_poll_thread_stop
 
std::shared_ptr< playback_device_loopback
 
bool _pose_output_enabled {false}
 
platform::rs_usb_request_callback _stream_callback
 
platform::rs_usb_request _stream_request
 
std::vector< t265::supported_raw_stream_libtm_message_supported_raw_streams
 
std::thread _time_sync_thread
 
std::atomic< bool > _time_sync_thread_stop
 
std::mutex _tm_op_lock
 
std::atomic< int64_tdevice_to_host_ns
 
float last_exposure = 200.f
 
float last_gain = 1.f
 
coordinated_ts last_ts
 
bool manual_exposure = false
 

Friends

template<t265::SIXDOF_MODE flag, t265::SIXDOF_MODE depends_on, bool invert>
class tracking_mode_option
 

Additional Inherited Members

- Protected Member Functions inherited from librealsense::sensor_base
void assign_stream (const std::shared_ptr< stream_interface > &stream, std::shared_ptr< stream_profile_interface > target) const
 
std::shared_ptr< framegenerate_frame_from_data (const platform::frame_object &fo, frame_timestamp_reader *timestamp_reader, const rs2_time_t &last_timestamp, const unsigned long long &last_frame_number, std::shared_ptr< stream_profile_interface > profile)
 
void raise_on_before_streaming_changes (bool streaming)
 
void set_active_streams (const stream_profiles &requests)
 
- Protected Attributes inherited from librealsense::sensor_base
std::shared_ptr< std::map< uint32_t, rs2_format > > _fourcc_to_rs2_format
 
std::shared_ptr< std::map< uint32_t, rs2_stream > > _fourcc_to_rs2_stream
 
std::vector< platform::stream_profile_internal_config
 
std::atomic< bool > _is_opened
 
std::atomic< bool > _is_streaming
 
std::shared_ptr< metadata_parser_map_metadata_parsers = nullptr
 
std::shared_ptr< notifications_processor_notifications_processor
 
on_open _on_open
 
device_owner
 
frame_source _source
 
sensor_base_source_owner = nullptr
 
std::vector< platform::stream_profile_uvc_profiles
 
- Protected Attributes inherited from librealsense::options_container
std::map< rs2_option, std::shared_ptr< option > > _options
 
std::function< void(const options_interface &)> _recording_function = [](const options_interface&) {}
 

Detailed Description

Definition at line 81 of file tm-device.h.

Member Enumeration Documentation

Enumerator
_async_init 
_async_progress 
_async_success 
_async_fail 
_async_max 

Definition at line 123 of file tm-device.h.

Constructor & Destructor Documentation

librealsense::tm2_sensor::tm2_sensor ( tm2_device owner)

Definition at line 359 of file tm-device.cpp.

librealsense::tm2_sensor::~tm2_sensor ( )
virtual

Definition at line 392 of file tm-device.cpp.

Member Function Documentation

void librealsense::tm2_sensor::close ( )
overridevirtual

Implements librealsense::sensor_interface.

Definition at line 689 of file tm-device.cpp.

virtual void librealsense::tm2_sensor::create_snapshot ( std::shared_ptr< pose_sensor_interface > &  snapshot) const
inlineoverridevirtual

Create a snapshot of the deriving extension. A snapshot of T is a reflection of the state and memory of T at the time of the call

Implements librealsense::recordable< pose_sensor_interface >.

Definition at line 135 of file tm-device.h.

virtual void librealsense::tm2_sensor::create_snapshot ( std::shared_ptr< wheel_odometry_interface > &  snapshot) const
inlineoverridevirtual

Create a snapshot of the deriving extension. A snapshot of T is a reflection of the state and memory of T at the time of the call

Implements librealsense::recordable< wheel_odometry_interface >.

Definition at line 137 of file tm-device.h.

void librealsense::tm2_sensor::disable_loopback ( )

Definition at line 1493 of file tm-device.cpp.

void librealsense::tm2_sensor::dispatch_threaded ( frame_holder  frame)
private

Definition at line 1074 of file tm-device.cpp.

void librealsense::tm2_sensor::dispose ( )

Definition at line 399 of file tm-device.cpp.

void librealsense::tm2_sensor::enable_loopback ( std::shared_ptr< playback_device input)

Definition at line 1485 of file tm-device.cpp.

virtual void librealsense::tm2_sensor::enable_recording ( std::function< void(const pose_sensor_interface &)>  recording_function)
inlineoverridevirtual

Instruct the derived class to begin notifying on changes Derived class should call the recording_function with a reference of themselves

Implements librealsense::recordable< pose_sensor_interface >.

Definition at line 136 of file tm-device.h.

virtual void librealsense::tm2_sensor::enable_recording ( std::function< void(const wheel_odometry_interface &)>  recording_function)
inlineoverridevirtual

Instruct the derived class to begin notifying on changes Derived class should call the recording_function with a reference of themselves

Implements librealsense::recordable< wheel_odometry_interface >.

Definition at line 138 of file tm-device.h.

bool librealsense::tm2_sensor::export_relocalization_map ( std::vector< uint8_t > &  lmap_buf) const
overridevirtual

Implements librealsense::pose_sensor_interface.

Definition at line 1640 of file tm-device.cpp.

tm2_sensor::coordinated_ts librealsense::tm2_sensor::get_coordinated_timestamp ( uint64_t  device_nanoseconds)
private

Definition at line 1246 of file tm-device.cpp.

float librealsense::tm2_sensor::get_exposure ( ) const

Definition at line 1876 of file tm-device.cpp.

rs2_extrinsics librealsense::tm2_sensor::get_extrinsics ( const stream_profile_interface profile,
int  sensor_id 
) const

Definition at line 924 of file tm-device.cpp.

float librealsense::tm2_sensor::get_gain ( ) const

Definition at line 1890 of file tm-device.cpp.

rs2_intrinsics librealsense::tm2_sensor::get_intrinsics ( const stream_profile profile) const
overridevirtual

Implements librealsense::video_sensor_interface.

Definition at line 876 of file tm-device.cpp.

rs2_motion_device_intrinsic librealsense::tm2_sensor::get_motion_intrinsics ( const motion_stream_profile_interface profile) const

Definition at line 905 of file tm-device.cpp.

bool librealsense::tm2_sensor::get_static_node ( const std::string guid,
float3 pos,
float4 orient_quat 
) const
overridevirtual

Implements librealsense::pose_sensor_interface.

Definition at line 1763 of file tm-device.cpp.

sensor_temperature librealsense::tm2_sensor::get_temperature ( int  sensor_id)

Definition at line 1839 of file tm-device.cpp.

void librealsense::tm2_sensor::handle_imu_frame ( unsigned long long  tm_frame_ts,
unsigned long long  frame_number,
rs2_stream  stream_type,
int  index,
float3  imu_data,
float  temperature 
)
private

Definition at line 1504 of file tm-device.cpp.

bool librealsense::tm2_sensor::import_relocalization_map ( const std::vector< uint8_t > &  lmap_buf) const
overridevirtual

Implements librealsense::pose_sensor_interface.

Definition at line 1679 of file tm-device.cpp.

stream_profiles librealsense::tm2_sensor::init_stream_profiles ( )
overridevirtual

Implements librealsense::sensor_base.

Definition at line 433 of file tm-device.cpp.

bool librealsense::tm2_sensor::is_loopback_enabled ( ) const

Definition at line 1499 of file tm-device.cpp.

bool librealsense::tm2_sensor::is_manual_exposure ( ) const
inline

Definition at line 109 of file tm-device.h.

bool librealsense::tm2_sensor::load_wheel_odometery_config ( const std::vector< uint8_t > &  odometry_config_buf) const
overridevirtual

Implements librealsense::wheel_odometry_interface.

Definition at line 1799 of file tm-device.cpp.

void librealsense::tm2_sensor::log_poll ( )
private

Definition at line 1430 of file tm-device.cpp.

bool librealsense::tm2_sensor::log_poll_once ( std::unique_ptr< t265::bulk_message_response_get_and_clear_event_log > &  log_buffer)
private

Definition at line 1415 of file tm-device.cpp.

void librealsense::tm2_sensor::open ( const stream_profiles requests)
overridevirtual

Implements librealsense::sensor_interface.

Definition at line 568 of file tm-device.cpp.

void librealsense::tm2_sensor::pass_frames_to_fw ( frame_holder  fref)
private

Definition at line 711 of file tm-device.cpp.

tm2_sensor::async_op_state librealsense::tm2_sensor::perform_async_transfer ( std::function< bool()>  transfer_activator,
std::function< void()>  on_success,
const std::string op_description 
) const

Definition at line 1613 of file tm-device.cpp.

void librealsense::tm2_sensor::print_logs ( const std::unique_ptr< t265::bulk_message_response_get_and_clear_event_log > &  log)
private

Definition at line 1399 of file tm-device.cpp.

void librealsense::tm2_sensor::raise_error_notification ( const std::string msg)
private

Definition at line 1558 of file tm-device.cpp.

void librealsense::tm2_sensor::raise_relocalization_event ( const std::string msg,
double  timestamp 
)
private

Definition at line 1551 of file tm-device.cpp.

void librealsense::tm2_sensor::receive_accel_message ( const t265::interrupt_message_accelerometer_stream message)
private

Definition at line 1141 of file tm-device.cpp.

void librealsense::tm2_sensor::receive_gyro_message ( const t265::interrupt_message_gyro_stream message)
private

Definition at line 1154 of file tm-device.cpp.

void librealsense::tm2_sensor::receive_localization_data_chunk ( const t265::interrupt_message_get_localization_data_stream chunk)
private

Definition at line 1583 of file tm-device.cpp.

void librealsense::tm2_sensor::receive_pose_message ( const t265::interrupt_message_get_pose message)
private

Definition at line 1084 of file tm-device.cpp.

void librealsense::tm2_sensor::receive_set_localization_data_complete ( const t265::interrupt_message_set_localization_data_stream message)
private

Definition at line 1565 of file tm-device.cpp.

void librealsense::tm2_sensor::receive_video_message ( const t265::bulk_message_video_stream message)
private

Definition at line 1167 of file tm-device.cpp.

bool librealsense::tm2_sensor::remove_static_node ( const std::string guid) const
overridevirtual

Implements librealsense::pose_sensor_interface.

Definition at line 1783 of file tm-device.cpp.

void librealsense::tm2_sensor::reset_to_factory_calibration ( )
overridevirtual

Implements librealsense::tm2_sensor_interface.

Definition at line 1066 of file tm-device.cpp.

bool librealsense::tm2_sensor::send_wheel_odometry ( uint8_t  wo_sensor_id,
uint32_t  frame_num,
const float3 translational_velocity 
) const
overridevirtual

Implements librealsense::wheel_odometry_interface.

Definition at line 1818 of file tm-device.cpp.

void librealsense::tm2_sensor::set_exposure ( float  value)

Definition at line 1867 of file tm-device.cpp.

void librealsense::tm2_sensor::set_exposure_and_gain ( float  exposure_ms,
float  gain 
)

Definition at line 1852 of file tm-device.cpp.

void librealsense::tm2_sensor::set_extrinsics ( const stream_profile_interface from_profile,
const stream_profile_interface to_profile,
const rs2_extrinsics extr 
)
overridevirtual

Implements librealsense::tm2_sensor_interface.

Definition at line 973 of file tm-device.cpp.

void librealsense::tm2_sensor::set_extrinsics_to_ref ( rs2_stream  stream_type,
int  stream_index,
const rs2_extrinsics extr 
)

Definition at line 1020 of file tm-device.cpp.

void librealsense::tm2_sensor::set_gain ( float  value)

Definition at line 1881 of file tm-device.cpp.

void librealsense::tm2_sensor::set_intrinsics ( const stream_profile_interface stream_profile,
const rs2_intrinsics intr 
)
overridevirtual

Implements librealsense::tm2_sensor_interface.

Definition at line 947 of file tm-device.cpp.

void librealsense::tm2_sensor::set_manual_exposure ( bool  manual)

Definition at line 1895 of file tm-device.cpp.

void librealsense::tm2_sensor::set_motion_device_intrinsics ( const stream_profile_interface stream_profile,
const rs2_motion_device_intrinsic intr 
)
overridevirtual

Implements librealsense::tm2_sensor_interface.

Definition at line 1034 of file tm-device.cpp.

bool librealsense::tm2_sensor::set_static_node ( const std::string guid,
const float3 pos,
const float4 orient_quat 
) const
overridevirtual

Implements librealsense::pose_sensor_interface.

Definition at line 1740 of file tm-device.cpp.

void librealsense::tm2_sensor::start ( frame_callback_ptr  callback)
overridevirtual

Implements librealsense::sensor_interface.

Definition at line 807 of file tm-device.cpp.

bool librealsense::tm2_sensor::start_interrupt ( )
private

Definition at line 1256 of file tm-device.cpp.

bool librealsense::tm2_sensor::start_stream ( )
private

Definition at line 1338 of file tm-device.cpp.

void librealsense::tm2_sensor::stop ( )
overridevirtual

Implements librealsense::sensor_interface.

Definition at line 846 of file tm-device.cpp.

void librealsense::tm2_sensor::stop_interrupt ( )
private

Definition at line 1328 of file tm-device.cpp.

void librealsense::tm2_sensor::stop_stream ( )
private

Definition at line 1389 of file tm-device.cpp.

void librealsense::tm2_sensor::time_sync ( )
private

Definition at line 1445 of file tm-device.cpp.

void librealsense::tm2_sensor::write_calibration ( )
overridevirtual

Implements librealsense::tm2_sensor_interface.

Definition at line 1055 of file tm-device.cpp.

Friends And Related Function Documentation

template<t265::SIXDOF_MODE flag, t265::SIXDOF_MODE depends_on, bool invert>
friend class tracking_mode_option
friend

Definition at line 203 of file tm-device.h.

Member Data Documentation

std::vector<t265::supported_raw_stream_libtm_message> librealsense::tm2_sensor::_active_raw_streams
private

Definition at line 164 of file tm-device.h.

std::condition_variable librealsense::tm2_sensor::_async_op
mutableprivate

Definition at line 159 of file tm-device.h.

std::vector<uint8_t> librealsense::tm2_sensor::_async_op_res_buffer
mutableprivate

Definition at line 161 of file tm-device.h.

async_op_state librealsense::tm2_sensor::_async_op_status
mutableprivate

Definition at line 160 of file tm-device.h.

std::shared_ptr<dispatcher> librealsense::tm2_sensor::_data_dispatcher
private

Definition at line 206 of file tm-device.h.

tm2_device* librealsense::tm2_sensor::_device
private

Definition at line 166 of file tm-device.h.

platform::rs_usb_request_callback librealsense::tm2_sensor::_interrupt_callback
private

Definition at line 183 of file tm-device.h.

platform::rs_usb_request librealsense::tm2_sensor::_interrupt_request
private

Definition at line 182 of file tm-device.h.

std::thread librealsense::tm2_sensor::_log_poll_thread
private

Definition at line 178 of file tm-device.h.

std::atomic<bool> librealsense::tm2_sensor::_log_poll_thread_stop
private

Definition at line 180 of file tm-device.h.

std::shared_ptr<playback_device> librealsense::tm2_sensor::_loopback
private

Definition at line 158 of file tm-device.h.

bool librealsense::tm2_sensor::_pose_output_enabled {false}
private

Definition at line 165 of file tm-device.h.

platform::rs_usb_request_callback librealsense::tm2_sensor::_stream_callback
private

Definition at line 186 of file tm-device.h.

platform::rs_usb_request librealsense::tm2_sensor::_stream_request
private

Definition at line 185 of file tm-device.h.

std::vector<t265::supported_raw_stream_libtm_message> librealsense::tm2_sensor::_supported_raw_streams
private

Definition at line 163 of file tm-device.h.

std::thread librealsense::tm2_sensor::_time_sync_thread
private

Definition at line 177 of file tm-device.h.

std::atomic<bool> librealsense::tm2_sensor::_time_sync_thread_stop
private

Definition at line 179 of file tm-device.h.

Definition at line 149 of file tm-device.h.

std::mutex librealsense::tm2_sensor::_tm_op_lock
mutableprivate

Definition at line 157 of file tm-device.h.

std::atomic<int64_t> librealsense::tm2_sensor::device_to_host_ns
private

Definition at line 192 of file tm-device.h.

const uint16_t librealsense::tm2_sensor::ID_OEM_CAL = 6
static

Definition at line 141 of file tm-device.h.

float librealsense::tm2_sensor::last_exposure = 200.f
private

Definition at line 188 of file tm-device.h.

float librealsense::tm2_sensor::last_gain = 1.f
private

Definition at line 189 of file tm-device.h.

coordinated_ts librealsense::tm2_sensor::last_ts
private

Definition at line 199 of file tm-device.h.

bool librealsense::tm2_sensor::manual_exposure = false
private

Definition at line 190 of file tm-device.h.


The documentation for this class was generated from the following files:


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