#include <swissranger.h>
Public Member Functions | |
int | close () |
int | getAmplitudeThreshold () |
int | getIntegrationTime () |
int | getModulationFrequency () |
bool | getPCDFilter () |
bool | getUndistortImage (int img_type) |
int | open () |
void | readData (std_msgs::PointCloud &cloud, std_msgs::ImageArray &images) |
int | setAmplitudeThreshold (int thresh) |
int | setAutoIllumination (bool on) |
int | setIntegrationTime (int time) |
int | setModulationFrequency (int freq) |
void | setPCDFilter (bool filter) |
void | setUndistortImage (int img_type, bool filter) |
SwissRanger () | |
~SwissRanger () | |
Public Attributes | |
unsigned int | cols_ |
std::string | device_id_ |
unsigned int | inr_ |
std::string | lib_version_ |
unsigned int | rows_ |
Private Member Functions | |
void | contours (uint8_t *img, uint8_t *con_img, int width, int height, int threshold) |
double | getAngle (float px, float py, float pz, float qx, float qy, float qz) |
std::string | getDeviceString () |
std::string | getLibraryVersion () |
void | rotateImage180 (uint8_t *img, uint8_t *rot_img, int width, int height) |
void | undistort (uint8_t *img, uint8_t *un_img, int width, int height) |
Private Attributes | |
float * | buffer_ |
CvMat * | distortion_ |
ImgEntry * | imgEntryArray_ |
int | integration_time_ |
CvMat * | intrinsic_ |
int | modulation_freq_ |
bool | pcd_filter_ |
CMesaDevice * | srCam_ |
bool | undistort_amplitude_ |
bool | undistort_confidence_ |
bool | undistort_distance_ |
float * | xp_ |
float * | yp_ |
float * | zp_ |
Definition at line 76 of file swissranger.h.
Definition at line 50 of file swissranger.cpp.
Definition at line 64 of file swissranger.cpp.
int swissranger::SwissRanger::close | ( | ) |
Definition at line 119 of file swissranger.cpp.
void swissranger::SwissRanger::contours | ( | uint8_t * | img, |
uint8_t * | con_img, | ||
int | width, | ||
int | height, | ||
int | threshold | ||
) | [private] |
Definition at line 187 of file swissranger.cpp.
Definition at line 436 of file swissranger.cpp.
double swissranger::SwissRanger::getAngle | ( | float | px, |
float | py, | ||
float | pz, | ||
float | qx, | ||
float | qy, | ||
float | qz | ||
) | [private] |
Definition at line 173 of file swissranger.cpp.
std::string swissranger::SwissRanger::getDeviceString | ( | ) | [private] |
Definition at line 445 of file swissranger.cpp.
Definition at line 404 of file swissranger.cpp.
std::string swissranger::SwissRanger::getLibraryVersion | ( | ) | [private] |
Definition at line 472 of file swissranger.cpp.
Definition at line 420 of file swissranger.cpp.
bool swissranger::SwissRanger::getPCDFilter | ( | ) | [inline] |
Definition at line 101 of file swissranger.h.
bool swissranger::SwissRanger::getUndistortImage | ( | int | img_type | ) | [inline] |
Definition at line 104 of file swissranger.h.
int swissranger::SwissRanger::open | ( | ) |
Definition at line 73 of file swissranger.cpp.
void swissranger::SwissRanger::readData | ( | std_msgs::PointCloud & | cloud, |
std_msgs::ImageArray & | images | ||
) |
Definition at line 231 of file swissranger.cpp.
void swissranger::SwissRanger::rotateImage180 | ( | uint8_t * | img, |
uint8_t * | rot_img, | ||
int | width, | ||
int | height | ||
) | [private] |
Definition at line 138 of file swissranger.cpp.
int swissranger::SwissRanger::setAmplitudeThreshold | ( | int | thresh | ) |
Definition at line 428 of file swissranger.cpp.
Definition at line 383 of file swissranger.cpp.
int swissranger::SwissRanger::setIntegrationTime | ( | int | time | ) |
Definition at line 396 of file swissranger.cpp.
int swissranger::SwissRanger::setModulationFrequency | ( | int | freq | ) |
Definition at line 412 of file swissranger.cpp.
void swissranger::SwissRanger::setPCDFilter | ( | bool | filter | ) | [inline] |
Definition at line 102 of file swissranger.h.
void swissranger::SwissRanger::setUndistortImage | ( | int | img_type, |
bool | filter | ||
) | [inline] |
Definition at line 113 of file swissranger.h.
void swissranger::SwissRanger::undistort | ( | uint8_t * | img, |
uint8_t * | un_img, | ||
int | width, | ||
int | height | ||
) | [private] |
Definition at line 157 of file swissranger.cpp.
float* swissranger::SwissRanger::buffer_ [private] |
Definition at line 128 of file swissranger.h.
unsigned int swissranger::SwissRanger::cols_ |
Definition at line 96 of file swissranger.h.
std::string swissranger::SwissRanger::device_id_ |
Definition at line 97 of file swissranger.h.
CvMat * swissranger::SwissRanger::distortion_ [private] |
Definition at line 139 of file swissranger.h.
ImgEntry* swissranger::SwissRanger::imgEntryArray_ [private] |
Definition at line 127 of file swissranger.h.
unsigned int swissranger::SwissRanger::inr_ |
Definition at line 96 of file swissranger.h.
int swissranger::SwissRanger::integration_time_ [private] |
Definition at line 130 of file swissranger.h.
CvMat* swissranger::SwissRanger::intrinsic_ [private] |
Definition at line 139 of file swissranger.h.
std::string swissranger::SwissRanger::lib_version_ |
Definition at line 98 of file swissranger.h.
int swissranger::SwissRanger::modulation_freq_ [private] |
Definition at line 130 of file swissranger.h.
bool swissranger::SwissRanger::pcd_filter_ [private] |
Definition at line 144 of file swissranger.h.
unsigned int swissranger::SwissRanger::rows_ |
Definition at line 96 of file swissranger.h.
CMesaDevice* swissranger::SwissRanger::srCam_ [private] |
Definition at line 125 of file swissranger.h.
Definition at line 145 of file swissranger.h.
Definition at line 145 of file swissranger.h.
Definition at line 145 of file swissranger.h.
float * swissranger::SwissRanger::xp_ [private] |
Definition at line 128 of file swissranger.h.
float * swissranger::SwissRanger::yp_ [private] |
Definition at line 128 of file swissranger.h.
float * swissranger::SwissRanger::zp_ [private] |
Definition at line 128 of file swissranger.h.