Node management class.
More...
#include <OptrisImager.h>
|
bool | onAutoFlag (AutoFlag::Request &req, AutoFlag::Response &res) |
|
virtual void | onFlagStateChange (evo::EnumFlagState flagstate, void *arg) |
|
bool | onForceFlag (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res) |
|
virtual void | onProcessExit (void *arg) |
|
virtual void | onRawFrame (unsigned char *data, int size) |
|
bool | onSetTemperatureRange (TemperatureRange::Request &req, TemperatureRange::Response &res) |
|
virtual void | onThermalFrame (unsigned short *image, unsigned int w, unsigned int h, evo::IRFrameMetadata meta, void *arg) |
|
void | onTimer (const ros::TimerEvent &event) |
|
virtual void | onVisibleFrame (unsigned char *image, unsigned int w, unsigned int h, evo::IRFrameMetadata meta, void *arg) |
|
| OptrisImager (evo::IRDevice *dev, evo::IRDeviceParams params) |
|
void | run () |
|
virtual | ~OptrisImager () |
|
Node management class.
- Author
- Stefan May (Technische Hochschule Nürnberg Georg Simon Ohm)
Definition at line 26 of file OptrisImager.h.
optris_drivers::OptrisImager::OptrisImager |
( |
evo::IRDevice * |
dev, |
|
|
evo::IRDeviceParams |
params |
|
) |
| |
Constructor
- Parameters
-
[in] | dev | UVC device instance |
[in] | params | device parameters |
Definition at line 6 of file OptrisImager.cpp.
optris_drivers::OptrisImager::~OptrisImager |
( |
| ) |
|
|
virtual |
bool optris_drivers::OptrisImager::onAutoFlag |
( |
AutoFlag::Request & |
req, |
|
|
AutoFlag::Response & |
res |
|
) |
| |
void optris_drivers::OptrisImager::onFlagStateChange |
( |
evo::EnumFlagState |
flagstate, |
|
|
void * |
arg |
|
) |
| |
|
virtual |
Flag state change callback
- Parameters
-
[in] | flagstate | flag state |
[in] | arg | user defined data (passed via process method) |
Definition at line 120 of file OptrisImager.cpp.
bool optris_drivers::OptrisImager::onForceFlag |
( |
std_srvs::Empty::Request & |
req, |
|
|
std_srvs::Empty::Response & |
res |
|
) |
| |
void optris_drivers::OptrisImager::onProcessExit |
( |
void * |
arg | ) |
|
|
virtual |
Callback method for synchronizing data. This is the very last method to be called for each raw data set.
- Parameters
-
[in] | arg | user arguments (passed to process method of IRImager class) |
Definition at line 129 of file OptrisImager.cpp.
virtual void optris_drivers::OptrisImager::onRawFrame |
( |
unsigned char * |
data, |
|
|
int |
size |
|
) |
| |
|
inlinevirtual |
Raw frame callback (not needed in Linux implementations, since timer instance takes care of data acquisition => method is never called).
- Parameters
-
[in] | data | raw data |
[in] | size | size of raw data |
Definition at line 58 of file OptrisImager.h.
bool optris_drivers::OptrisImager::onSetTemperatureRange |
( |
TemperatureRange::Request & |
req, |
|
|
TemperatureRange::Response & |
res |
|
) |
| |
void optris_drivers::OptrisImager::onThermalFrame |
( |
unsigned short * |
image, |
|
|
unsigned int |
w, |
|
|
unsigned int |
h, |
|
|
evo::IRFrameMetadata |
meta, |
|
|
void * |
arg |
|
) |
| |
|
virtual |
Thermal frame callback
- Parameters
-
[in] | image | thermal image (for information about the format see IRImager class of libirimager) |
[in] | w | width of image |
[in] | h | height of image |
[in] | meta | Metadata frame |
[in] | arg | user defined data (passed via process method) |
Definition at line 84 of file OptrisImager.cpp.
void optris_drivers::OptrisImager::onTimer |
( |
const ros::TimerEvent & |
event | ) |
|
Timer callback for image grabbing timer
- Parameters
-
Definition at line 71 of file OptrisImager.cpp.
void optris_drivers::OptrisImager::onVisibleFrame |
( |
unsigned char * |
image, |
|
|
unsigned int |
w, |
|
|
unsigned int |
h, |
|
|
evo::IRFrameMetadata |
meta, |
|
|
void * |
arg |
|
) |
| |
|
virtual |
Callback method from image processing library (called at configured frame rate in xml file)
- Parameters
-
[in] | image | RGB image, if BISPECTRAL technology is available |
[in] | w | image width |
[in] | h | image height |
[in] | timestamp | the frame's timestamp |
[in] | arg | user defined data (passed via process method) |
Definition at line 109 of file OptrisImager.cpp.
void optris_drivers::OptrisImager::run |
( |
| ) |
|
unsigned char* optris_drivers::OptrisImager::_bufferRaw |
|
private |
evo::IRDevice* optris_drivers::OptrisImager::_dev |
|
private |
sensor_msgs::TimeReference optris_drivers::OptrisImager::_device_timer |
|
private |
evo::IRImager optris_drivers::OptrisImager::_imager |
|
private |
unsigned int optris_drivers::OptrisImager::_img_cnt |
|
private |
optris_drivers::Temperature optris_drivers::OptrisImager::_internal_temperature |
|
private |
sensor_msgs::Image optris_drivers::OptrisImager::_thermal_image |
|
private |
sensor_msgs::Image optris_drivers::OptrisImager::_visible_image |
|
private |
The documentation for this class was generated from the following files:
optris_drivers
Author(s): Stefan May (Nuremberg Institute of Technology Georg Simon Ohm - www.th-nuernberg.de), 64-Bit platform supported by Fraunhofer IPA (www.ipa.fraunhofer.de), Support for ROS hydro migration by Christopher-Eyk Hrabia (DAI-Labor, Technische Universität Berlin)
autogenerated on Mon Jun 10 2019 14:09:59