A class for grabing "range images" from a MESA imaging SwissRanger 3D cameras (SR-2, SR-3000, SR-4k).
NOTES:
As with any other CGenericSensor class, the normal sequence of methods to be called is:
This sensor can be also used from within rawlog-grabber.
Definition at line 112 of file CSwissRanger3DCamera.h.
#include <mrpt/hwdrivers/CSwissRanger3DCamera.h>
Public Types | |
enum | TSensorState { ssInitializing = 0, ssWorking, ssError } |
The current state of the sensor. More... | |
using | Ptr = std::shared_ptr< CGenericSensor > |
typedef std::multimap< mrpt::system::TTimeStamp, mrpt::utils::CSerializable::Ptr > | TListObservations |
typedef std::pair< mrpt::system::TTimeStamp, mrpt::utils::CSerializable::Ptr > | TListObsPair |
Public Member Functions | |
CSwissRanger3DCamera () | |
Default ctor. More... | |
~CSwissRanger3DCamera () | |
Default ctor. More... | |
virtual void | initialize () |
Initializes the 3D camera - should be invoked after calling loadConfig() More... | |
virtual void | doProcess () |
To be called at a high rate (>XX Hz), this method populates the internal buffer of received observations. More... | |
void | getNextObservation (mrpt::obs::CObservation3DRangeScan &out_obs, bool &there_is_obs, bool &hardware_error) |
The main data retrieving function, to be called after calling loadConfig() and initialize(). More... | |
bool | open () |
return false on error - Called automatically from initialize(), no need normally for the user to call this. More... | |
void | close () |
bool | isOpen () const |
whether the camera is open and comms work ok. More... | |
size_t | getRowCount () const |
Get the row count in the camera images, loaded automatically upon camera open(). More... | |
size_t | getColCount () const |
Get the col count in the camera images, loaded automatically upon camera open(). More... | |
unsigned int | getCameraSerialNumber () const |
Get the camera serial number, loaded automatically upon camera open(). More... | |
double | getMaxRange () const |
Returns the maximum camera range, as deduced from its operating frequency. 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... | |
bool | getMesaLibVersion (std::string &out_version) const |
Get the version of the MESA library. 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 |
Capture configuration methods (apart from loadConfig) | |
void | setOpenFromUSB (bool USB) |
true: open from USB, false: open from ethernet. More... | |
bool | getOpenFromUSBMode () const |
void | setOpenIPAddress (const std::string &IP) |
std::string | getOpenIPAddress () const |
void | setSave3D (bool save) |
void | setSaveRangeImage (bool save) |
void | setSaveIntensityImage (bool save) |
void | setSaveConfidenceImage (bool save) |
void | enableImageHistEqualization (bool enable) |
bool | isEnabledImageHistEqualization () const |
void | enableMedianFilter (bool enable) |
bool | isEnabledMedianFilter () const |
void | enableMedianCrossFilter (bool enable) |
bool | isEnabledMedianCrossFilter () const |
void | enableConvGray (bool enable) |
bool | isEnabledConvGray () const |
void | enableDenoiseANF (bool enable) |
bool | isEnabledDenoiseANF () const |
void | enablePreviewWindow (bool enable=true) |
bool | isEnabledPreviewWindow () 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 CGenericSensor::Ptr | createSensorPtr (const std::string &className) |
Just like createSensor, but returning a smart pointer to the newly created sensor object. More... | |
Protected Member Functions | |
virtual void | loadConfig_sensorSpecific (const mrpt::utils::CConfigFileBase &configSource, const std::string §ion) |
See the class documentation at the top for expected parameters. More... | |
void | internal_resendParamsToCamera () const |
void | appendObservations (const std::vector< mrpt::utils::CSerializable::Ptr > &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::CSerializable::Ptr &obj) |
Like appendObservations() but for just one observation. More... | |
Protected Attributes | |
mrpt::poses::CPose3D | m_sensorPoseOnRobot |
bool | m_save_3d |
Save the 3D point cloud (default: true) More... | |
bool | m_save_range_img |
Save the 2D range image (default: true) More... | |
bool | m_save_intensity_img |
Save the 2D intensity image (default: true) More... | |
bool | m_save_confidence |
Save the estimated confidence 2D image (default: false) More... | |
bool | m_enable_img_hist_equal |
bool | m_enable_median_filter |
bool | m_enable_mediancross_filter |
bool | m_enable_conv_gray |
bool | m_enable_denoise_anf |
bool | m_open_from_usb |
true: USB, false: ETH More... | |
size_t | m_usb_serial |
std::string | m_ip_address |
size_t | m_rows |
Size of camera images, set on open() More... | |
size_t | m_cols |
unsigned int | m_cam_serial_num |
Serial number of the camera, set on open() More... | |
double | m_maxRange |
Max range, as deducted from the camera frequency. More... | |
bool | m_preview_window |
Show preview window while grabbing. More... | |
mrpt::gui::CDisplayWindow::Ptr | m_win_range |
mrpt::gui::CDisplayWindow::Ptr | m_win_int |
void * | m_cam |
opaque handler to SRCAM. More... | |
mrpt::utils::TCamera | m_cameraParams |
size_t | m_grab_decimation_counter |
Used when "m_grab_decimation" is enabled. More... | |
TSensorState | m_state |
bool | m_verbose |
std::string | m_path_for_external_images |
The path where to save off-rawlog images: empty means save images embedded in the rawlog. More... | |
std::string | m_external_images_format |
The extension ("jpg","gif","png",...) that determines the format of images saved externally. More... | |
unsigned int | m_external_images_jpeg_quality |
For JPEG images, the quality (default=95%). More... | |
Common settings to any sensor, loaded in "loadConfig" | |
double | m_process_rate |
See CGenericSensor. More... | |
size_t | m_max_queue_len |
See CGenericSensor. More... | |
size_t | m_grab_decimation |
If set to N>=2, only 1 out of N observations will be saved to m_objList. More... | |
std::string | m_sensorLabel |
See CGenericSensor. More... | |
|
inherited |
Definition at line 73 of file CGenericSensor.h.
|
inherited |
Definition at line 78 of file CGenericSensor.h.
|
inherited |
Definition at line 80 of file CGenericSensor.h.
|
inherited |
The current state of the sensor.
Enumerator | |
---|---|
ssInitializing | |
ssWorking | |
ssError |
Definition at line 85 of file CGenericSensor.h.
CSwissRanger3DCamera::CSwissRanger3DCamera | ( | ) |
Default ctor.
Definition at line 45 of file CSwissRanger3DCamera.cpp.
References mrpt::utils::TCamera::dist, mrpt::utils::TCamera::intrinsicParams, m_cameraParams, mrpt::hwdrivers::CGenericSensor::m_sensorLabel, mrpt::utils::TCamera::ncols, mrpt::utils::TCamera::nrows, and THROW_EXCEPTION.
CSwissRanger3DCamera::~CSwissRanger3DCamera | ( | ) |
Default ctor.
Definition at line 93 of file CSwissRanger3DCamera.cpp.
References close().
|
inlineprotectedinherited |
Like appendObservations() but for just one observation.
Definition at line 180 of file CGenericSensor.h.
References mrpt::hwdrivers::CGenericSensor::appendObservations().
Referenced by mrpt::hwdrivers::CIMUXSens_MT4::doProcess(), mrpt::hwdrivers::CIMUXSens::doProcess(), mrpt::hwdrivers::CGyroKVHDSP3000::doProcess(), mrpt::hwdrivers::CIMUIntersense::doProcess(), mrpt::hwdrivers::CSkeletonTracker::doProcess(), 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::CGenericSensor::appendObservation(), mrpt::hwdrivers::CNationalInstrumentsDAQ::doProcess(), and mrpt::hwdrivers::CKinect::doProcess().
void CSwissRanger3DCamera::close | ( | ) |
Definition at line 329 of file CSwissRanger3DCamera.cpp.
References m_cam.
Referenced by open(), and ~CSwissRanger3DCamera().
|
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().
Referenced by mrpt::hwdrivers::CGenericSensor::createSensorPtr().
|
inlinestaticinherited |
Just like createSensor, but returning a smart pointer to the newly created sensor object.
Definition at line 220 of file CGenericSensor.h.
References mrpt::hwdrivers::CGenericSensor::createSensor().
|
virtual |
To be called at a high rate (>XX Hz), this method populates the internal buffer of received observations.
This method will be invoked at a minimum rate of "process_rate" (Hz)
This method is mainly intended for usage within rawlog-grabber or similar programs. For an alternative, see getNextObservation()
This | method must throw an exception with a descriptive message if some critical error is found. |
This | method must throw an exception with a descriptive message if some critical error is found. |
Implements mrpt::hwdrivers::CGenericSensor.
Definition at line 144 of file CSwissRanger3DCamera.cpp.
References mrpt::hwdrivers::CGenericSensor::appendObservation(), getNextObservation(), mrpt::hwdrivers::CGenericSensor::m_state, mrpt::hwdrivers::CGenericSensor::ssError, mrpt::hwdrivers::CGenericSensor::ssWorking, and THROW_EXCEPTION.
|
inline |
Definition at line 222 of file CSwissRanger3DCamera.h.
References internal_resendParamsToCamera(), and m_enable_conv_gray.
|
inline |
Definition at line 228 of file CSwissRanger3DCamera.h.
References internal_resendParamsToCamera(), and m_enable_denoise_anf.
|
inline |
Definition at line 197 of file CSwissRanger3DCamera.h.
References m_enable_img_hist_equal.
|
inline |
Definition at line 212 of file CSwissRanger3DCamera.h.
References internal_resendParamsToCamera(), and m_enable_mediancross_filter.
|
inline |
Definition at line 206 of file CSwissRanger3DCamera.h.
References internal_resendParamsToCamera(), and m_enable_median_filter.
|
inline |
Definition at line 234 of file CSwissRanger3DCamera.h.
References m_preview_window.
|
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 106 of file CGenericSensor.h.
References mrpt::hwdrivers::CGenericSensor::m_verbose.
|
inline |
Get the camera serial number, loaded automatically upon camera open().
Definition at line 169 of file CSwissRanger3DCamera.h.
References m_cam_serial_num.
|
inline |
Get the col count in the camera images, loaded automatically upon camera open().
Definition at line 166 of file CSwissRanger3DCamera.h.
References m_cols.
|
inlineinherited |
Definition at line 290 of file CGenericSensor.h.
References mrpt::hwdrivers::CGenericSensor::m_external_images_jpeg_quality.
|
inline |
Returns the maximum camera range, as deduced from its operating frequency.
Definition at line 172 of file CSwissRanger3DCamera.h.
References m_maxRange.
bool CSwissRanger3DCamera::getMesaLibVersion | ( | std::string & | out_version | ) | const |
Get the version of the MESA library.
Definition at line 235 of file CSwissRanger3DCamera.cpp.
References mrpt::format(), and MRPT_UNUSED_PARAM.
void CSwissRanger3DCamera::getNextObservation | ( | mrpt::obs::CObservation3DRangeScan & | _out_obs, |
bool & | there_is_obs, | ||
bool & | hardware_error | ||
) |
The main data retrieving function, to be called after calling loadConfig() and initialize().
out_obs | The output retrieved observation (only if there_is_obs=true). |
there_is_obs | If set to false, there was no new observation. |
hardware_error | True on hardware/comms error. |
Definition at line 364 of file CSwissRanger3DCamera.cpp.
References ASSERT_, mrpt::obs::CObservation3DRangeScan::cameraParams, mrpt::obs::CObservation3DRangeScan::confidenceImage, do_init_table_16u_to_8u(), mrpt::utils::CImage::equalizeHistInPlace(), mrpt::system::fileNameStripInvalidChars(), mrpt::format(), mrpt::utils::CImage::get_unsafe(), mrpt::obs::CObservation3DRangeScan::hasConfidenceImage, mrpt::obs::CObservation3DRangeScan::hasIntensityImage, mrpt::obs::CObservation3DRangeScan::hasPoints3D, mrpt::obs::CObservation3DRangeScan::hasRangeImage, mrpt::obs::CObservation3DRangeScan::intensityImage, m_cam, m_cameraParams, m_enable_img_hist_equal, mrpt::hwdrivers::CGenericSensor::m_external_images_format, mrpt::hwdrivers::CGenericSensor::m_external_images_jpeg_quality, m_maxRange, mrpt::hwdrivers::CGenericSensor::m_path_for_external_images, m_preview_window, m_save_3d, m_save_confidence, m_save_intensity_img, m_save_range_img, mrpt::hwdrivers::CGenericSensor::m_sensorLabel, m_sensorPoseOnRobot, m_win_int, m_win_range, mrpt::obs::CObservation3DRangeScan::maxRange, MRPT_UNUSED_PARAM, mrpt::obs::CObservation3DRangeScan::points3D_x, mrpt::obs::CObservation3DRangeScan::points3D_y, mrpt::obs::CObservation3DRangeScan::points3D_z, mrpt::obs::CObservation3DRangeScan::range_is_depth, mrpt::obs::CObservation3DRangeScan::rangeImage, mrpt::utils::CImage::resize(), mrpt::utils::CImage::saveToFile(), mrpt::utils::TCamera::scaleToResolution(), mrpt::obs::CObservation::sensorLabel, mrpt::obs::CObservation3DRangeScan::sensorPose, mrpt::utils::CImage::setExternalStorage(), mrpt::obs::CObservation3DRangeScan::stdError, mrpt::obs::CObservation3DRangeScan::swap(), table_16u_to_8u, table_16u_to_8u_init, mrpt::obs::CObservation::timestamp, mrpt::system::timestampTotime_t(), and mrpt::system::trim().
Referenced by doProcess().
|
inherited |
Returns a list of enqueued objects, emptying it (thread-safe).
The objects must be freed by the invoker.
Definition at line 91 of file CGenericSensor.cpp.
References mrpt::hwdrivers::CGenericSensor::m_csObjList, and mrpt::hwdrivers::CGenericSensor::m_objList.
|
inline |
Definition at line 187 of file CSwissRanger3DCamera.h.
References m_open_from_usb.
|
inline |
Definition at line 189 of file CSwissRanger3DCamera.h.
References m_ip_address.
|
inlineinherited |
Definition at line 94 of file CGenericSensor.h.
References mrpt::hwdrivers::CGenericSensor::m_process_rate.
|
inline |
Get the row count in the camera images, loaded automatically upon camera open().
Definition at line 163 of file CSwissRanger3DCamera.h.
References m_rows.
|
pure virtualinherited |
|
inlineinherited |
Definition at line 95 of file CGenericSensor.h.
References mrpt::hwdrivers::CGenericSensor::m_sensorLabel.
|
inlineinherited |
The current state of the sensor.
Definition at line 93 of file CGenericSensor.h.
References mrpt::hwdrivers::CGenericSensor::m_state.
Initializes the 3D camera - should be invoked after calling loadConfig()
This method can or cannot be implemented in the derived class, depending on the need for it.
This | method must throw an exception with a descriptive message if some critical error is found. |
Reimplemented from mrpt::hwdrivers::CGenericSensor.
Definition at line 135 of file CSwissRanger3DCamera.cpp.
References open(), and THROW_EXCEPTION.
|
protected |
Definition at line 337 of file CSwissRanger3DCamera.cpp.
References isOpen(), m_cam, m_enable_conv_gray, m_enable_denoise_anf, m_enable_median_filter, m_enable_mediancross_filter, and m_save_confidence.
Referenced by enableConvGray(), enableDenoiseANF(), enableMedianCrossFilter(), enableMedianFilter(), and open().
|
inline |
Definition at line 227 of file CSwissRanger3DCamera.h.
References m_enable_conv_gray.
|
inline |
Definition at line 233 of file CSwissRanger3DCamera.h.
References m_enable_denoise_anf.
|
inline |
Definition at line 201 of file CSwissRanger3DCamera.h.
References m_enable_img_hist_equal.
|
inline |
Definition at line 217 of file CSwissRanger3DCamera.h.
References m_enable_mediancross_filter.
|
inline |
Definition at line 211 of file CSwissRanger3DCamera.h.
References m_enable_median_filter.
|
inline |
Definition at line 238 of file CSwissRanger3DCamera.h.
References m_preview_window.
bool CSwissRanger3DCamera::isOpen | ( | ) | const |
whether the camera is open and comms work ok.
To be called after initialize()
Definition at line 250 of file CSwissRanger3DCamera.cpp.
References m_cam.
Referenced by internal_resendParamsToCamera(), and open().
|
inlineinherited |
Definition at line 107 of file CGenericSensor.h.
References mrpt::hwdrivers::CGenericSensor::m_verbose.
|
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 132 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().
|
protectedvirtual |
See the class documentation at the top for expected parameters.
Loads specific configuration for the device from a given source of configuration parameters, for example, an ".ini" file, loading from the section "[iniSection]" (see utils::CConfigFileBase and derived classes)
This | method must throw an exception with a descriptive message if some critical parameter is missing or has an invalid value. |
Implements mrpt::hwdrivers::CGenericSensor.
Definition at line 175 of file CSwissRanger3DCamera.cpp.
References mrpt::mrpt::utils::DEG2RAD(), DEG2RAD, mrpt::utils::TCamera::loadFromConfigFile(), m_cameraParams, m_enable_conv_gray, m_enable_denoise_anf, m_enable_img_hist_equal, m_enable_median_filter, m_enable_mediancross_filter, mrpt::hwdrivers::CGenericSensor::m_external_images_format, mrpt::hwdrivers::CGenericSensor::m_external_images_jpeg_quality, m_ip_address, m_open_from_usb, m_preview_window, m_save_3d, m_save_confidence, m_save_intensity_img, m_save_range_img, m_sensorPoseOnRobot, m_usb_serial, mrpt::utils::CConfigFileBase::read_bool(), mrpt::utils::CConfigFileBase::read_float(), mrpt::utils::CConfigFileBase::read_int(), mrpt::utils::CConfigFileBase::read_string(), mrpt::utils::CConfigFileBase::read_uint64_t(), mrpt::poses::CPose3D::setFromValues(), and mrpt::system::trim().
bool CSwissRanger3DCamera::open | ( | ) |
return false on error - Called automatically from initialize(), no need normally for the user to call this.
Definition at line 251 of file CSwissRanger3DCamera.cpp.
References close(), internal_resendParamsToCamera(), isOpen(), m_cam, m_cam_serial_num, m_cols, m_ip_address, m_maxRange, m_open_from_usb, m_rows, and m_usb_serial.
Referenced by initialize().
|
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 121 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 279 of file CGenericSensor.h.
References mrpt::hwdrivers::CGenericSensor::m_external_images_format.
|
inlineinherited |
The quality of JPEG compression, when external images is enabled and the format is "jpg".
Definition at line 286 of file CGenericSensor.h.
References mrpt::hwdrivers::CGenericSensor::m_external_images_jpeg_quality.
|
inline |
true: open from USB, false: open from ethernet.
Definition at line 186 of file CSwissRanger3DCamera.h.
References m_open_from_usb.
|
inline |
Definition at line 188 of file CSwissRanger3DCamera.h.
References m_ip_address.
|
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 612 of file CSwissRanger3DCamera.cpp.
References mrpt::system::createDirectory(), mrpt::hwdrivers::CGenericSensor::m_path_for_external_images, and THROW_EXCEPTION_FMT.
|
inline |
Definition at line 190 of file CSwissRanger3DCamera.h.
References m_save_3d.
|
inline |
Definition at line 196 of file CSwissRanger3DCamera.h.
References m_save_confidence.
|
inline |
Definition at line 192 of file CSwissRanger3DCamera.h.
References m_save_intensity_img.
|
inline |
Definition at line 191 of file CSwissRanger3DCamera.h.
References m_save_range_img.
|
inlineinherited |
Definition at line 96 of file CGenericSensor.h.
References mrpt::hwdrivers::CGenericSensor::m_sensorLabel.
|
protected |
opaque handler to SRCAM.
nullptr means it's not open yet.
Definition at line 290 of file CSwissRanger3DCamera.h.
Referenced by close(), getNextObservation(), internal_resendParamsToCamera(), isOpen(), and open().
|
protected |
Serial number of the camera, set on open()
Definition at line 281 of file CSwissRanger3DCamera.h.
Referenced by getCameraSerialNumber(), and open().
|
protected |
Definition at line 292 of file CSwissRanger3DCamera.h.
Referenced by CSwissRanger3DCamera(), getNextObservation(), and loadConfig_sensorSpecific().
|
protected |
Definition at line 279 of file CSwissRanger3DCamera.h.
Referenced by getColCount(), and open().
|
protected |
Definition at line 270 of file CSwissRanger3DCamera.h.
Referenced by enableConvGray(), internal_resendParamsToCamera(), isEnabledConvGray(), and loadConfig_sensorSpecific().
|
protected |
Definition at line 271 of file CSwissRanger3DCamera.h.
Referenced by enableDenoiseANF(), internal_resendParamsToCamera(), isEnabledDenoiseANF(), and loadConfig_sensorSpecific().
|
protected |
Definition at line 267 of file CSwissRanger3DCamera.h.
Referenced by enableImageHistEqualization(), getNextObservation(), isEnabledImageHistEqualization(), and loadConfig_sensorSpecific().
|
protected |
Definition at line 268 of file CSwissRanger3DCamera.h.
Referenced by enableMedianFilter(), internal_resendParamsToCamera(), isEnabledMedianFilter(), and loadConfig_sensorSpecific().
|
protected |
Definition at line 269 of file CSwissRanger3DCamera.h.
Referenced by enableMedianCrossFilter(), internal_resendParamsToCamera(), isEnabledMedianCrossFilter(), and loadConfig_sensorSpecific().
|
protectedinherited |
The extension ("jpg","gif","png",...) that determines the format of images saved externally.
Definition at line 158 of file CGenericSensor.h.
Referenced by getNextObservation(), loadConfig_sensorSpecific(), and mrpt::hwdrivers::CGenericSensor::setExternalImageFormat().
|
protectedinherited |
For JPEG images, the quality (default=95%).
Definition at line 160 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGenericSensor::getExternalImageJPEGQuality(), getNextObservation(), loadConfig_sensorSpecific(), and mrpt::hwdrivers::CGenericSensor::setExternalImageJPEGQuality().
|
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 146 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGenericSensor::appendObservations(), and mrpt::hwdrivers::CGenericSensor::loadConfig().
|
protected |
Definition at line 276 of file CSwissRanger3DCamera.h.
Referenced by getOpenIPAddress(), loadConfig_sensorSpecific(), open(), and setOpenIPAddress().
|
protectedinherited |
See CGenericSensor.
Definition at line 136 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGenericSensor::loadConfig().
|
protected |
Max range, as deducted from the camera frequency.
Definition at line 283 of file CSwissRanger3DCamera.h.
Referenced by getMaxRange(), getNextObservation(), and open().
|
protected |
true: USB, false: ETH
Definition at line 274 of file CSwissRanger3DCamera.h.
Referenced by getOpenFromUSBMode(), loadConfig_sensorSpecific(), open(), and setOpenFromUSB().
|
protectedinherited |
The path where to save off-rawlog images: empty means save images embedded in the rawlog.
Definition at line 155 of file CGenericSensor.h.
Referenced by getNextObservation(), and setPathForExternalImages().
|
protected |
Show preview window while grabbing.
Definition at line 286 of file CSwissRanger3DCamera.h.
Referenced by enablePreviewWindow(), getNextObservation(), isEnabledPreviewWindow(), and loadConfig_sensorSpecific().
|
protectedinherited |
See CGenericSensor.
Definition at line 134 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGenericSensor::getProcessRate(), mrpt::hwdrivers::CGyroKVHDSP3000::initialize(), and mrpt::hwdrivers::CGenericSensor::loadConfig().
|
protected |
Size of camera images, set on open()
Definition at line 279 of file CSwissRanger3DCamera.h.
Referenced by getRowCount(), and open().
|
protected |
Save the 3D point cloud (default: true)
Definition at line 259 of file CSwissRanger3DCamera.h.
Referenced by getNextObservation(), loadConfig_sensorSpecific(), and setSave3D().
|
protected |
Save the estimated confidence 2D image (default: false)
Definition at line 265 of file CSwissRanger3DCamera.h.
Referenced by getNextObservation(), internal_resendParamsToCamera(), loadConfig_sensorSpecific(), and setSaveConfidenceImage().
|
protected |
Save the 2D intensity image (default: true)
Definition at line 263 of file CSwissRanger3DCamera.h.
Referenced by getNextObservation(), loadConfig_sensorSpecific(), and setSaveIntensityImage().
|
protected |
Save the 2D range image (default: true)
Definition at line 261 of file CSwissRanger3DCamera.h.
Referenced by getNextObservation(), loadConfig_sensorSpecific(), and setSaveRangeImage().
|
protectedinherited |
See CGenericSensor.
Definition at line 141 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(), CSwissRanger3DCamera(), mrpt::hwdrivers::CVelodyneScanner::CVelodyneScanner(), mrpt::hwdrivers::CIMUXSens_MT4::doProcess(), mrpt::hwdrivers::CIMUXSens::doProcess(), mrpt::hwdrivers::CGyroKVHDSP3000::doProcess(), mrpt::hwdrivers::CIMUIntersense::doProcess(), mrpt::hwdrivers::CSkeletonTracker::doProcess(), mrpt::hwdrivers::CRoboPeakLidar::doProcessSimple(), mrpt::hwdrivers::CSickLaserUSB::doProcessSimple(), mrpt::hwdrivers::CCANBusReader::doProcessSimple(), mrpt::hwdrivers::CHokuyoURG::doProcessSimple(), mrpt::hwdrivers::CSickLaserSerial::doProcessSimple(), mrpt::hwdrivers::CGPSInterface::flushParsedMessagesNow(), getNextObservation(), mrpt::hwdrivers::CKinect::getNextObservation(), mrpt::hwdrivers::CVelodyneScanner::getNextObservation(), mrpt::hwdrivers::CGenericSensor::getSensorLabel(), mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), mrpt::hwdrivers::CGenericSensor::loadConfig(), mrpt::hwdrivers::CSkeletonTracker::processPreview(), mrpt::hwdrivers::C2DRangeFinderAbstract::processPreview(), mrpt::hwdrivers::CSkeletonTracker::processPreviewNone(), and mrpt::hwdrivers::CGenericSensor::setSensorLabel().
|
protected |
Definition at line 256 of file CSwissRanger3DCamera.h.
Referenced by getNextObservation(), and loadConfig_sensorSpecific().
|
protectedinherited |
Definition at line 148 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGyroKVHDSP3000::CGyroKVHDSP3000(), mrpt::hwdrivers::CIMUXSens_MT4::doProcess(), mrpt::hwdrivers::CIMUXSens::doProcess(), mrpt::hwdrivers::CGyroKVHDSP3000::doProcess(), mrpt::hwdrivers::CIMUIntersense::doProcess(), mrpt::hwdrivers::CSkeletonTracker::doProcess(), 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::CHokuyoURG::doProcessSimple(), mrpt::hwdrivers::CSickLaserSerial::doProcessSimple(), mrpt::hwdrivers::CGPSInterface::flushParsedMessagesNow(), mrpt::hwdrivers::CVelodyneScanner::getNextObservation(), mrpt::hwdrivers::CGenericSensor::getState(), mrpt::hwdrivers::CIMUXSens_MT4::initialize(), mrpt::hwdrivers::CIMUXSens::initialize(), mrpt::hwdrivers::CIMUIntersense::initialize(), mrpt::hwdrivers::CGyroKVHDSP3000::initialize(), mrpt::hwdrivers::CSkeletonTracker::initialize(), mrpt::hwdrivers::CVelodyneScanner::initialize(), mrpt::hwdrivers::CNationalInstrumentsDAQ::readFromDAQ(), and mrpt::hwdrivers::CIMUXSens::searchPortAndConnect().
|
protected |
Definition at line 275 of file CSwissRanger3DCamera.h.
Referenced by loadConfig_sensorSpecific(), and open().
|
protectedinherited |
Definition at line 149 of file CGenericSensor.h.
Referenced by mrpt::hwdrivers::CGenericSensor::CGenericSensor(), mrpt::hwdrivers::CRoboPeakLidar::checkCOMMs(), mrpt::hwdrivers::CNTRIPEmitter::doProcess(), mrpt::hwdrivers::CGPSInterface::doProcess(), mrpt::hwdrivers::CGenericSensor::enableVerbose(), mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), mrpt::hwdrivers::CIMUXSens_MT4::initialize(), mrpt::hwdrivers::CVelodyneScanner::internal_read_PCAP_packet(), mrpt::hwdrivers::CGenericSensor::isVerboseEnabled(), 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().
|
protected |
Definition at line 287 of file CSwissRanger3DCamera.h.
Referenced by getNextObservation().
|
protected |
Definition at line 287 of file CSwissRanger3DCamera.h.
Referenced by getNextObservation().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |