1 #ifndef _OPTRISIMAGER_H_ 2 #define _OPTRISIMAGER_H_ 4 #include "libirimager/IRDevice.h" 5 #include "libirimager/IRImager.h" 6 #include "libirimager/IRImagerClient.h" 10 #include <sensor_msgs/TimeReference.h> 11 #include "std_msgs/Float32.h" 12 #include "std_srvs/Empty.h" 13 #include "optris_drivers/AutoFlag.h" 14 #include "optris_drivers/TemperatureRange.h" 15 #include "optris_drivers/Temperature.h" 16 #include "optris_drivers/Flag.h" 35 OptrisImager(evo::IRDevice* dev, evo::IRDeviceParams params);
58 virtual void onRawFrame(
unsigned char* data,
int size) {};
68 virtual void onThermalFrame(
unsigned short* image,
unsigned int w,
unsigned int h, evo::IRFrameMetadata meta,
void* arg);
78 virtual void onVisibleFrame(
unsigned char* image,
unsigned int w,
unsigned int h, evo::IRFrameMetadata meta,
void* arg);
96 bool onAutoFlag(AutoFlag::Request &req, AutoFlag::Response &res);
101 bool onForceFlag(std_srvs::Empty::Request& req, std_srvs::Empty::Response& res);
145 #endif // _OPTRISIMAGER_H_ image_transport::Publisher _visible_pub
sensor_msgs::Image _thermal_image
bool onForceFlag(std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
ros::ServiceServer _sTemp
bool onSetTemperatureRange(TemperatureRange::Request &req, TemperatureRange::Response &res)
virtual void onProcessExit(void *arg)
ros::Publisher _timer_pub
unsigned char * _bufferRaw
virtual void onVisibleFrame(unsigned char *image, unsigned int w, unsigned int h, evo::IRFrameMetadata meta, void *arg)
sensor_msgs::TimeReference _device_timer
ros::ServiceServer _sAuto
void onTimer(const ros::TimerEvent &event)
bool onAutoFlag(AutoFlag::Request &req, AutoFlag::Response &res)
OptrisImager(evo::IRDevice *dev, evo::IRDeviceParams params)
virtual void onThermalFrame(unsigned short *image, unsigned int w, unsigned int h, evo::IRFrameMetadata meta, void *arg)
ros::ServiceServer _sForce
virtual void onRawFrame(unsigned char *data, int size)
sensor_msgs::Image _visible_image
image_transport::Publisher _thermal_pub
optris_drivers::Temperature _internal_temperature
virtual void onFlagStateChange(evo::EnumFlagState flagstate, void *arg)