The central class for camera grabbers in MRPT, implementing the "generic sensor" interface.
This class provides the user with a uniform interface to a variety of other classes which manage only one specific camera "driver" (opencv, ffmpeg, PGR FlyCapture,...)
Following the "generic sensor" interface, all the parameters must be passed int the form of a configuration file, which may be also formed on the fly (without being a real config file) as in this example:
Images can be retrieved through the normal "doProcess()" interface, or the specific method "getNextFrame()".
Some notes:
Images can be saved in the "external storage" mode. Detached threads are created for this task. See setPathForExternalImages() and setExternalImageFormat(). These methods are called automatically from the app rawlog-grabber.
These is the list of all accepted parameters:
bumblebee
driver has been deleted, use the flycap
driver in stereo mode. Definition at line 243 of file CCameraSensor.h.
#include <mrpt/hwdrivers/CCameraSensor.h>
Public Types | |
typedef void(* | TPreSaveUserHook) (const mrpt::obs::CObservationPtr &obs, void *user_ptr) |
Functor type. More... | |
enum | TSensorState { ssInitializing = 0, ssWorking, ssError } |
The current state of the sensor. More... | |
typedef std::multimap< mrpt::system::TTimeStamp, mrpt::utils::CSerializablePtr > | TListObservations |
typedef std::pair< mrpt::system::TTimeStamp, mrpt::utils::CSerializablePtr > | TListObsPair |
typedef CGenericSensorPtr | Ptr |
typedef std::shared_ptr< const CGenericSensor > | ConstPtr |
Public Member Functions | |
CCameraSensor () | |
Constructor. More... | |
virtual | ~CCameraSensor () |
Destructor. More... | |
void | doProcess () |
This method will be invoked at a minimum rate of "process_rate" (Hz) More... | |
mrpt::obs::CObservationPtr | getNextFrame () |
Retrieves the next frame from the video source, raising an exception on any error. More... | |
void | getNextFrame (std::vector< mrpt::utils::CSerializablePtr > &out_obs) |
virtual void | initialize () |
Tries to open the camera, after setting all the parameters with a call to loadConfig. More... | |
void | close () |
Close the camera (if open). More... | |
void | setSoftwareTriggerLevel (bool level) |
Set Software trigger level value (ON or OFF) for cameras with this function available. More... | |
virtual void | setPathForExternalImages (const std::string &directory) |
Set the path where to save off-rawlog image files (this class DOES take into account this path). More... | |
void | enableLaunchOwnThreadForSavingImages (bool enable=true) |
This must be called before initialize() More... | |
void | addPreSaveHook (TPreSaveUserHook user_function, void *user_ptr) |
Provides a "hook" for user-code to be run BEFORE an image is going to be saved to disk if external storage is enabled (e.g. More... | |
virtual const mrpt::hwdrivers::TSensorClassId * | GetRuntimeClass () const =0 |
TSensorState | getState () const |
The current state of the sensor. More... | |
double | getProcessRate () const |
std::string | getSensorLabel () const |
void | setSensorLabel (const std::string &sensorLabel) |
void | enableVerbose (bool enabled=true) |
Enable or disable extra debug info dumped to std::cout during sensor operation. More... | |
bool | isVerboseEnabled () const |
void | loadConfig (const mrpt::utils::CConfigFileBase &configSource, const std::string §ion) |
Loads the generic settings common to any sensor (See CGenericSensor), then call to "loadConfig_sensorSpecific". More... | |
void | getObservations (TListObservations &lstObjects) |
Returns a list of enqueued objects, emptying it (thread-safe). More... | |
void | setExternalImageFormat (const std::string &ext) |
Set the extension ("jpg","gif","png",...) that determines the format of images saved externally The default is "jpg". More... | |
void | setExternalImageJPEGQuality (const unsigned int quality) |
The quality of JPEG compression, when external images is enabled and the format is "jpg". More... | |
unsigned int | getExternalImageJPEGQuality () const |
Static Public Member Functions | |
static void | registerClass (const TSensorClassId *pNewClass) |
Register a class into the internal list of "CGenericSensor" descendents. More... | |
static CGenericSensor * | createSensor (const std::string &className) |
Creates a sensor by a name of the class. More... | |
static CGenericSensorPtr | createSensorPtr (const std::string &className) |
Just like createSensor, but returning a smart pointer to the newly created sensor object. More... | |
Protected Member Functions | |
void | loadConfig_sensorSpecific (const mrpt::utils::CConfigFileBase &configSource, const std::string &iniSection) |
See the class documentation at the top for expected parameters. More... | |
void | appendObservations (const std::vector< mrpt::utils::CSerializablePtr > &obj) |
This method must be called by derived classes to enqueue a new observation in the list to be returned by getObservations. More... | |
void | appendObservation (const mrpt::utils::CSerializablePtr &obj) |
Like appendObservations() but for just one observation. More... | |
Stuff related to working threads to save images to disk | |
unsigned int | m_external_image_saver_count |
Number of working threads. Default:1, set to 2 in quad cores. More... | |
std::vector< mrpt::system::TThreadHandle > | m_threadImagesSaver |
bool | m_threadImagesSaverShouldEnd |
mrpt::synch::CCriticalSection | m_csToSaveList |
The critical section for m_toSaveList. More... | |
std::vector< TListObservations > | m_toSaveList |
The queues of objects to be returned by getObservations, one for each working thread. More... | |
TPreSaveUserHook | m_hook_pre_save |
void * | m_hook_pre_save_param |
void | thread_save_images (unsigned int my_working_thread_index) |
Thread to save images to files. More... | |
|
inherited |
Definition at line 124 of file CGenericSensor.h.
|
inherited |
Definition at line 123 of file CGenericSensor.h.
|
inherited |
Definition at line 89 of file CGenericSensor.h.
|
inherited |
Definition at line 90 of file CGenericSensor.h.
typedef void(* mrpt::hwdrivers::CCameraSensor::TPreSaveUserHook) (const mrpt::obs::CObservationPtr &obs, void *user_ptr) |
Functor type.
Definition at line 290 of file CCameraSensor.h.
|
inherited |
The current state of the sensor.
Enumerator | |
---|---|
ssInitializing | |
ssWorking | |
ssError |
Definition at line 95 of file CGenericSensor.h.
CCameraSensor::CCameraSensor | ( | ) |
Constructor.
The camera is not open until "initialize" is called.
Definition at line 39 of file CCameraSensor.cpp.
References mrpt::hwdrivers::CGenericSensor::ssInitializing.
|
virtual |
Destructor.
Definition at line 574 of file CCameraSensor.cpp.
|
inline |
Provides a "hook" for user-code to be run BEFORE an image is going to be saved to disk if external storage is enabled (e.g.
to rectify images, preprocess them, etc.) Notice that this code may be called from detached threads, so it must be thread safe. If used, call this before initialize()
Definition at line 295 of file CCameraSensor.h.
|
inlineprotectedinherited |
Like appendObservations() but for just one observation.
Definition at line 168 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CIMUXSens_MT4::doProcess(), mrpt::hwdrivers::CIMUXSens::doProcess(), mrpt::hwdrivers::CSkeletonTracker::doProcess(), mrpt::hwdrivers::CSwissRanger3DCamera::doProcess(), mrpt::hwdrivers::CIMUIntersense::doProcess(), mrpt::hwdrivers::CGyroKVHDSP3000::doProcess(), mrpt::hwdrivers::C2DRangeFinderAbstract::doProcess(), mrpt::hwdrivers::CCANBusReader::doProcess(), mrpt::hwdrivers::CVelodyneScanner::doProcess(), and mrpt::hwdrivers::CGPSInterface::flushParsedMessagesNow().
|
protectedinherited |
This method must be called by derived classes to enqueue a new observation in the list to be returned by getObservations.
Passed objects must be created in dynamic memory and a smart pointer passed. Example of creation:
If several observations are passed at once in the vector, they'll be considered as a block regarding the grabbing decimation factor.
Definition at line 53 of file CGenericSensor.cpp.
References CLASS_ID, mrpt::hwdrivers::CGenericSensor::m_csObjList, mrpt::hwdrivers::CGenericSensor::m_grab_decimation, mrpt::hwdrivers::CGenericSensor::m_grab_decimation_counter, mrpt::hwdrivers::CGenericSensor::m_objList, and THROW_EXCEPTION.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::doProcess(), and mrpt::hwdrivers::CKinect::doProcess().
void CCameraSensor::close | ( | ) |
Close the camera (if open).
This method is called automatically on destruction.
Definition at line 360 of file CCameraSensor.cpp.
References mrpt::utils::delete_safe(), mrpt::system::joinThread(), and mrpt::hwdrivers::CGenericSensor::ssInitializing.
|
staticinherited |
Creates a sensor by a name of the class.
Typically the user may want to create a smart pointer around the returned pointer, whis is made with:
Definition at line 103 of file CGenericSensor.cpp.
References mrpt::hwdrivers::CGenericSensor::get_registered_sensor_classes().
|
inlinestaticinherited |
Just like createSensor, but returning a smart pointer to the newly created sensor object.
Definition at line 201 of file CGenericSensor.h.
|
virtual |
This method will be invoked at a minimum rate of "process_rate" (Hz)
This | method must throw an exception with a descriptive message if some critical error is found. |
Implements mrpt::hwdrivers::CGenericSensor.
Definition at line 1129 of file CCameraSensor.cpp.
|
inline |
This must be called before initialize()
Definition at line 287 of file CCameraSensor.h.
|
inlineinherited |
Enable or disable extra debug info dumped to std::cout during sensor operation.
Default: disabled unless the environment variable "MRPT_HWDRIVERS_VERBOSE" is set to "1" during object creation.
Definition at line 113 of file CGenericSensor.h.
|
inlineinherited |
Definition at line 255 of file CGenericSensor.h.
CObservationPtr CCameraSensor::getNextFrame | ( | ) |
Retrieves the next frame from the video source, raising an exception on any error.
Note: The returned observations can be of one of these classes (you can use IS_CLASS(obs,CObservationXXX) to determine it):
Definition at line 584 of file CCameraSensor.cpp.
void mrpt::hwdrivers::CCameraSensor::getNextFrame | ( | std::vector< mrpt::utils::CSerializablePtr > & | out_obs | ) |
|
inherited |
Returns a list of enqueued objects, emptying it (thread-safe).
The objects must be freed by the invoker.
Definition at line 90 of file CGenericSensor.cpp.
References mrpt::hwdrivers::CGenericSensor::m_csObjList, and mrpt::hwdrivers::CGenericSensor::m_objList.
|
inlineinherited |
Definition at line 105 of file CGenericSensor.h.
|
pure virtualinherited |
|
inlineinherited |
Definition at line 107 of file CGenericSensor.h.
|
inlineinherited |
The current state of the sensor.
Definition at line 103 of file CGenericSensor.h.
Tries to open the camera, after setting all the parameters with a call to loadConfig.
This | method must throw an exception with a descriptive message if some critical error is found. |
Reimplemented from mrpt::hwdrivers::CGenericSensor.
Definition at line 112 of file CCameraSensor.cpp.
References mrpt::utils::CTypeSelector::checkTypeIndex(), mrpt::system::createThreadFromObjectMethod(), mrpt::format(), mrpt::system::lowerCase(), mrpt::hwdrivers::CGenericSensor::ssError, mrpt::hwdrivers::CGenericSensor::ssWorking, mrpt::hwdrivers::CImageGrabber_FlyCapture2::startSyncCapture(), thread_save_images(), THROW_EXCEPTION, THROW_EXCEPTION_FMT, mrpt::system::trim(), mrpt::system::upperCase(), mrpt::hwdrivers::CKinect::VIDEO_CHANNEL_IR, and mrpt::hwdrivers::CKinect::VIDEO_CHANNEL_RGB.
Referenced by mrpt::hwdrivers::prepareVideoSourceFromPanel(), and mrpt::hwdrivers::prepareVideoSourceFromUserSelection().
|
inlineinherited |
Definition at line 114 of file CGenericSensor.h.
|
inherited |
Loads the generic settings common to any sensor (See CGenericSensor), then call to "loadConfig_sensorSpecific".
This | method throws an exception with a descriptive message if some critical parameter is missing or has an invalid value. |
Definition at line 131 of file CGenericSensor.cpp.
References mrpt::hwdrivers::CGenericSensor::loadConfig_sensorSpecific(), mrpt::hwdrivers::CGenericSensor::m_grab_decimation, mrpt::hwdrivers::CGenericSensor::m_grab_decimation_counter, mrpt::hwdrivers::CGenericSensor::m_max_queue_len, mrpt::hwdrivers::CGenericSensor::m_process_rate, mrpt::hwdrivers::CGenericSensor::m_sensorLabel, MRPT_END, MRPT_START, mrpt::utils::CConfigFileBase::read_double(), mrpt::utils::CConfigFileBase::read_int(), and mrpt::utils::CConfigFileBase::read_string().
Referenced by mrpt::hwdrivers::prepareVideoSourceFromPanel(), and mrpt::hwdrivers::prepareVideoSourceFromUserSelection().
|
protectedvirtual |
See the class documentation at the top for expected parameters.
Implements mrpt::hwdrivers::CGenericSensor.
Definition at line 390 of file CCameraSensor.cpp.
References ADD_COLOR_MAP, mrpt::hwdrivers::COLOR_CODING_MONO16, mrpt::hwdrivers::COLOR_CODING_MONO8, mrpt::hwdrivers::COLOR_CODING_RGB8, mrpt::hwdrivers::COLOR_CODING_YUV411, mrpt::hwdrivers::COLOR_CODING_YUV422, mrpt::hwdrivers::COLOR_CODING_YUV444, DEG2RAD, mrpt::hwdrivers::FRAMERATE_120, mrpt::hwdrivers::FRAMERATE_15, mrpt::hwdrivers::FRAMERATE_1_875, mrpt::hwdrivers::FRAMERATE_240, mrpt::hwdrivers::FRAMERATE_30, mrpt::hwdrivers::FRAMERATE_3_75, mrpt::hwdrivers::FRAMERATE_60, mrpt::hwdrivers::FRAMERATE_7_5, MRPT_LOAD_HERE_CONFIG_VAR, mrpt::utils::CConfigFileBase::read_bool(), mrpt::utils::CConfigFileBase::read_double(), mrpt::utils::CConfigFileBase::read_float(), mrpt::utils::CConfigFileBase::read_int(), mrpt::utils::CConfigFileBase::read_string(), mrpt::utils::CConfigFileBase::read_string_first_word(), THROW_EXCEPTION_FMT, mrpt::system::trim(), and mrpt::system::upperCase().
|
staticinherited |
Register a class into the internal list of "CGenericSensor" descendents.
Used internally in the macros DEFINE_GENERIC_SENSOR, etc...
Can be used as "CGenericSensor::registerClass( SENSOR_CLASS_ID(CMySensor) );" if building custom sensors outside mrpt libraries in user code.
Definition at line 120 of file CGenericSensor.cpp.
References mrpt::hwdrivers::TSensorClassId::className, and mrpt::hwdrivers::CGenericSensor::get_registered_sensor_classes().
Referenced by mrpt::hwdrivers::CGenericSensor::CLASSINIT_GENERIC_SENSOR::CLASSINIT_GENERIC_SENSOR().
|
inlineinherited |
Set the extension ("jpg","gif","png",...) that determines the format of images saved externally The default is "jpg".
Definition at line 247 of file CGenericSensor.h.
|
inlineinherited |
The quality of JPEG compression, when external images is enabled and the format is "jpg".
Definition at line 252 of file CGenericSensor.h.
References quality.
|
virtual |
Set the path where to save off-rawlog image files (this class DOES take into account this path).
An empty string (the default value at construction) means to save images embedded in the rawlog, instead of on separate files.
std::exception | If the directory doesn't exists and cannot be created. |
Reimplemented from mrpt::hwdrivers::CGenericSensor.
Definition at line 1158 of file CCameraSensor.cpp.
References mrpt::system::createDirectory(), and THROW_EXCEPTION_FMT.
|
inlineinherited |
Definition at line 108 of file CGenericSensor.h.
void CCameraSensor::setSoftwareTriggerLevel | ( | bool | level | ) |
Set Software trigger level value (ON or OFF) for cameras with this function available.
Definition at line 1139 of file CCameraSensor.cpp.
References mrpt::hwdrivers::CGenericSensor::ssError, and THROW_EXCEPTION.
|
private |
Thread to save images to files.
Definition at line 1318 of file CCameraSensor.cpp.
References mrpt::system::fileNameStripInvalidChars(), mrpt::format(), IS_CLASS, IS_DERIVED, mrpt::system::sleep(), mrpt::system::timestampTotime_t(), and mrpt::system::trim().
Referenced by initialize().
|
protected |
Definition at line 317 of file CCameraSensor.h.
|
protected |
Definition at line 318 of file CCameraSensor.h.
|
protected |
Definition at line 319 of file CCameraSensor.h.
|
private |
Definition at line 392 of file CCameraSensor.h.
|
private |
Definition at line 393 of file CCameraSensor.h.
|
private |
Definition at line 381 of file CCameraSensor.h.
|
private |
The OpenCV capture object.
Definition at line 377 of file CCameraSensor.h.
|
private |
The dc1394 capture object.
Definition at line 378 of file CCameraSensor.h.
|
private |
The DUO3D capture object.
Definition at line 389 of file CCameraSensor.h.
|
private |
The FFMPEG capture object.
Definition at line 383 of file CCameraSensor.h.
|
private |
The FlyCapture2 object.
Definition at line 379 of file CCameraSensor.h.
|
private |
Definition at line 380 of file CCameraSensor.h.
|
private |
The FlyCapture2 object for stereo pairs.
Definition at line 380 of file CCameraSensor.h.
|
private |
Read images from directory.
Definition at line 388 of file CCameraSensor.h.
|
private |
Kinect camera object.
Definition at line 386 of file CCameraSensor.h.
|
private |
OpenNI2 object.
Definition at line 387 of file CCameraSensor.h.
|
private |
The input file for rawlogs.
Definition at line 384 of file CCameraSensor.h.
|
private |
The svs capture object.
Definition at line 382 of file CCameraSensor.h.
|
private |
SR 3D camera object.
Definition at line 385 of file CCameraSensor.h.
|
protected |
Definition at line 302 of file CCameraSensor.h.
|
private |
The critical section for m_toSaveList.
Definition at line 404 of file CCameraSensor.h.
|
protected |
Definition at line 305 of file CCameraSensor.h.
|
protected |
Definition at line 306 of file CCameraSensor.h.
|
protected |
Definition at line 307 of file CCameraSensor.h.
|
protected |
Definition at line 310 of file CCameraSensor.h.
|
protected |
Definition at line 311 of file CCameraSensor.h.
|
protected |
Definition at line 312 of file CCameraSensor.h.
|
protected |
Definition at line 365 of file CCameraSensor.h.
|
private |
Number of working threads. Default:1, set to 2 in quad cores.
Definition at line 400 of file CCameraSensor.h.
|
protectedinherited |
The extension ("jpg","gif","png",...) that determines the format of images saved externally.
Definition at line 152 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CSwissRanger3DCamera::getNextObservation(), and mrpt::hwdrivers::CSwissRanger3DCamera::loadConfig_sensorSpecific().
|
protectedinherited |
For JPEG images, the quality (default=95%).
Definition at line 153 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CSwissRanger3DCamera::getNextObservation(), and mrpt::hwdrivers::CSwissRanger3DCamera::loadConfig_sensorSpecific().
|
protected |
Whether to launch independent thread.
Definition at line 368 of file CCameraSensor.h.
|
protected |
Definition at line 351 of file CCameraSensor.h.
|
protected |
Definition at line 326 of file CCameraSensor.h.
|
protected |
Definition at line 348 of file CCameraSensor.h.
|
protected |
Definition at line 352 of file CCameraSensor.h.
|
protectedinherited |
If set to N>=2, only 1 out of N observations will be saved to m_objList.
Definition at line 139 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGenericSensor::appendObservations(), and mrpt::hwdrivers::CGenericSensor::loadConfig().
|
protectedinherited |
Used when "m_grab_decimation" is enabled.
Definition at line 144 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGenericSensor::appendObservations(), and mrpt::hwdrivers::CGenericSensor::loadConfig().
|
protected |
Can be "opencv",...
Definition at line 301 of file CCameraSensor.h.
|
private |
Definition at line 408 of file CCameraSensor.h.
|
private |
Definition at line 409 of file CCameraSensor.h.
|
protected |
Definition at line 362 of file CCameraSensor.h.
|
protected |
Definition at line 359 of file CCameraSensor.h.
|
protected |
Definition at line 361 of file CCameraSensor.h.
|
protected |
Definition at line 356 of file CCameraSensor.h.
|
protected |
Definition at line 357 of file CCameraSensor.h.
|
protected |
Definition at line 358 of file CCameraSensor.h.
|
protected |
Definition at line 355 of file CCameraSensor.h.
|
protected |
Save the 3D point cloud (default: true)
Definition at line 342 of file CCameraSensor.h.
|
protected |
Save the 2D intensity image (default: true)
Definition at line 344 of file CCameraSensor.h.
|
protected |
Save the 2D range image (default: true)
Definition at line 343 of file CCameraSensor.h.
|
protected |
Save RGB or IR channels (default:true)
Definition at line 345 of file CCameraSensor.h.
|
protectedinherited |
See CGenericSensor.
Definition at line 138 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGenericSensor::loadConfig().
|
protectedinherited |
The path where to save off-rawlog images: empty means save images embedded in the rawlog.
Definition at line 151 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CSwissRanger3DCamera::getNextObservation(), and mrpt::hwdrivers::CSwissRanger3DCamera::setPathForExternalImages().
|
private |
Definition at line 395 of file CCameraSensor.h.
|
protected |
Definition at line 313 of file CCameraSensor.h.
|
protected |
Definition at line 314 of file CCameraSensor.h.
|
private |
Definition at line 396 of file CCameraSensor.h.
|
private |
Normally we'll use only one window, but for stereo images we'll use two of them.
Definition at line 396 of file CCameraSensor.h.
|
protectedinherited |
See CGenericSensor.
Definition at line 137 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGyroKVHDSP3000::initialize(), and mrpt::hwdrivers::CGenericSensor::loadConfig().
|
protected |
Definition at line 330 of file CCameraSensor.h.
|
protected |
Definition at line 331 of file CCameraSensor.h.
|
protected |
Definition at line 329 of file CCameraSensor.h.
|
protectedinherited |
See CGenericSensor.
Definition at line 140 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CCANBusReader::CCANBusReader(), mrpt::hwdrivers::CGPSInterface::CGPSInterface(), mrpt::hwdrivers::CGyroKVHDSP3000::CGyroKVHDSP3000(), mrpt::hwdrivers::CHokuyoURG::CHokuyoURG(), mrpt::hwdrivers::CIMUIntersense::CIMUIntersense(), mrpt::hwdrivers::CIMUXSens::CIMUXSens(), mrpt::hwdrivers::CIMUXSens_MT4::CIMUXSens_MT4(), mrpt::hwdrivers::CKinect::CKinect(), mrpt::hwdrivers::CNationalInstrumentsDAQ::CNationalInstrumentsDAQ(), mrpt::hwdrivers::CRoboPeakLidar::CRoboPeakLidar(), mrpt::hwdrivers::CSickLaserSerial::CSickLaserSerial(), mrpt::hwdrivers::CSickLaserUSB::CSickLaserUSB(), mrpt::hwdrivers::CSkeletonTracker::CSkeletonTracker(), mrpt::hwdrivers::CSwissRanger3DCamera::CSwissRanger3DCamera(), mrpt::hwdrivers::CVelodyneScanner::CVelodyneScanner(), mrpt::hwdrivers::CIMUXSens_MT4::doProcess(), mrpt::hwdrivers::CIMUXSens::doProcess(), mrpt::hwdrivers::CSkeletonTracker::doProcess(), mrpt::hwdrivers::CGyroKVHDSP3000::doProcess(), mrpt::hwdrivers::CIMUIntersense::doProcess(), mrpt::hwdrivers::CRoboPeakLidar::doProcessSimple(), mrpt::hwdrivers::CSickLaserUSB::doProcessSimple(), mrpt::hwdrivers::CCANBusReader::doProcessSimple(), mrpt::hwdrivers::CSickLaserSerial::doProcessSimple(), mrpt::hwdrivers::CHokuyoURG::doProcessSimple(), mrpt::hwdrivers::CGPSInterface::flushParsedMessagesNow(), mrpt::hwdrivers::CSwissRanger3DCamera::getNextObservation(), mrpt::hwdrivers::CKinect::getNextObservation(), mrpt::hwdrivers::CVelodyneScanner::getNextObservation(), mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), mrpt::hwdrivers::CGenericSensor::loadConfig(), mrpt::hwdrivers::CSkeletonTracker::processPreview(), mrpt::hwdrivers::C2DRangeFinderAbstract::processPreview(), and mrpt::hwdrivers::CSkeletonTracker::processPreviewNone().
|
protected |
Definition at line 295 of file CCameraSensor.h.
|
protected |
Definition at line 335 of file CCameraSensor.h.
|
protected |
true: USB, false: ETH
Definition at line 334 of file CCameraSensor.h.
|
protected |
Save the 3D point cloud (default: true)
Definition at line 336 of file CCameraSensor.h.
|
protected |
Save the estimated confidence 2D image (default: false)
Definition at line 339 of file CCameraSensor.h.
|
protected |
Save the 2D intensity image (default: true)
Definition at line 338 of file CCameraSensor.h.
|
protected |
Save the 2D range image (default: true)
Definition at line 337 of file CCameraSensor.h.
|
protectedinherited |
Definition at line 146 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGyroKVHDSP3000::CGyroKVHDSP3000(), mrpt::hwdrivers::CIMUXSens_MT4::doProcess(), mrpt::hwdrivers::CIMUXSens::doProcess(), mrpt::hwdrivers::CSkeletonTracker::doProcess(), mrpt::hwdrivers::CSwissRanger3DCamera::doProcess(), mrpt::hwdrivers::CIMUIntersense::doProcess(), mrpt::hwdrivers::CGyroKVHDSP3000::doProcess(), mrpt::hwdrivers::C2DRangeFinderAbstract::doProcess(), mrpt::hwdrivers::CGPSInterface::doProcess(), mrpt::hwdrivers::CNationalInstrumentsDAQ::doProcess(), mrpt::hwdrivers::CKinect::doProcess(), mrpt::hwdrivers::CVelodyneScanner::doProcess(), mrpt::hwdrivers::CSickLaserUSB::doProcessSimple(), mrpt::hwdrivers::CCANBusReader::doProcessSimple(), mrpt::hwdrivers::CSickLaserSerial::doProcessSimple(), mrpt::hwdrivers::CHokuyoURG::doProcessSimple(), mrpt::hwdrivers::CGPSInterface::flushParsedMessagesNow(), mrpt::hwdrivers::CVelodyneScanner::getNextObservation(), mrpt::hwdrivers::CIMUXSens_MT4::initialize(), mrpt::hwdrivers::CIMUXSens::initialize(), mrpt::hwdrivers::CSkeletonTracker::initialize(), mrpt::hwdrivers::CIMUIntersense::initialize(), mrpt::hwdrivers::CGyroKVHDSP3000::initialize(), mrpt::hwdrivers::CVelodyneScanner::initialize(), mrpt::hwdrivers::CNationalInstrumentsDAQ::readFromDAQ(), and mrpt::hwdrivers::CIMUXSens::searchPortAndConnect().
|
protected |
Definition at line 322 of file CCameraSensor.h.
|
protected |
Definition at line 323 of file CCameraSensor.h.
|
private |
Definition at line 401 of file CCameraSensor.h.
|
private |
Definition at line 403 of file CCameraSensor.h.
|
private |
The queues of objects to be returned by getObservations, one for each working thread.
Definition at line 405 of file CCameraSensor.h.
|
protectedinherited |
Definition at line 147 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGenericSensor::CGenericSensor(), mrpt::hwdrivers::CRoboPeakLidar::checkCOMMs(), mrpt::hwdrivers::CNTRIPEmitter::doProcess(), mrpt::hwdrivers::CGPSInterface::doProcess(), mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), mrpt::hwdrivers::CIMUXSens_MT4::initialize(), mrpt::hwdrivers::CHokuyoURG::initialize(), mrpt::hwdrivers::CVelodyneScanner::internal_read_PCAP_packet(), mrpt::hwdrivers::CGPSInterface::JAVAD_sendMessage(), mrpt::hwdrivers::CGPSInterface::legacy_topcon_setup_commands(), mrpt::hwdrivers::CGPSInterface::OnConnectionEstablished(), mrpt::hwdrivers::CGPSInterface::OnConnectionShutdown(), mrpt::hwdrivers::CNationalInstrumentsDAQ::stop(), and mrpt::hwdrivers::CGPSInterface::tryToOpenTheCOM().
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |