MRPT  2.0.4
List of all members | Public Member Functions | Public Attributes
TThreadParam Struct Reference

Detailed Description

Definition at line 51 of file vision_stereo_rectify/test.cpp.

Public Member Functions

 TThreadParam (bool _is_online, const string &_rawlog_file=string(), bool _generate_3D_pointcloud_in_this_thread=false)
 
 TThreadParam ()
 
 TThreadParam ()=default
 

Public Attributes

const bool is_online
 true: live grabbing from the sensor, false: from rawlog More...
 
const string rawlog_file
 Only when is_online==false. More...
 
const bool generate_3D_pointcloud_in_this_thread
 true: populate the 3D point fields in the output observation; false: only RGB and Depth images. More...
 
volatile bool quit {false}
 In/Out variable: Forces the thread to exit or indicates an error in the thread that caused it to end. More...
 
volatile double Hz {0}
 Out variable: Approx. More...
 
CObservation3DRangeScan::Ptr new_obs
 RGB+D (+ optionally, 3D point cloud) More...
 
volatile int pushed_key {0}
 
CObservationIMU::Ptr new_obs_imu
 
std::atomic_bool quit {false}
 
std::atomic< double > Hz {0}
 

Constructor & Destructor Documentation

◆ TThreadParam() [1/3]

TThreadParam::TThreadParam ( bool  _is_online,
const string &  _rawlog_file = string(),
bool  _generate_3D_pointcloud_in_this_thread = false 
)
inline

Definition at line 53 of file vision_stereo_rectify/test.cpp.

◆ TThreadParam() [2/3]

TThreadParam::TThreadParam ( )
inline

Definition at line 49 of file vision_stereo_rectify/test.cpp.

◆ TThreadParam() [3/3]

TThreadParam::TThreadParam ( )
default

Member Data Documentation

◆ generate_3D_pointcloud_in_this_thread

const bool TThreadParam::generate_3D_pointcloud_in_this_thread

true: populate the 3D point fields in the output observation; false: only RGB and Depth images.

Definition at line 71 of file vision_stereo_rectify/test.cpp.

◆ Hz [1/2]

std::atomic<double> TThreadParam::Hz {0}

Definition at line 48 of file vision_stereo_rectify/test.cpp.

◆ Hz [2/2]

volatile double TThreadParam::Hz {0}

Out variable: Approx.

capturing rate from the thread.

Definition at line 77 of file vision_stereo_rectify/test.cpp.

◆ is_online

const bool TThreadParam::is_online

true: live grabbing from the sensor, false: from rawlog

Definition at line 66 of file vision_stereo_rectify/test.cpp.

◆ new_obs

CObservation3DRangeScan::Ptr TThreadParam::new_obs

RGB+D (+ optionally, 3D point cloud)

Definition at line 80 of file vision_stereo_rectify/test.cpp.

◆ new_obs_imu

CObservationIMU::Ptr TThreadParam::new_obs_imu

Definition at line 55 of file vision_stereo_rectify/test.cpp.

◆ pushed_key

volatile int TThreadParam::pushed_key {0}

Definition at line 51 of file vision_stereo_rectify/test.cpp.

◆ quit [1/2]

std::atomic_bool TThreadParam::quit {false}

Definition at line 47 of file vision_stereo_rectify/test.cpp.

◆ quit [2/2]

volatile bool TThreadParam::quit {false}

In/Out variable: Forces the thread to exit or indicates an error in the thread that caused it to end.

Definition at line 75 of file vision_stereo_rectify/test.cpp.

◆ rawlog_file

const string TThreadParam::rawlog_file

Only when is_online==false.

Definition at line 68 of file vision_stereo_rectify/test.cpp.




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020