42 #ifndef DEV_CAMERA1394_HH 43 #define DEV_CAMERA1394_HH 45 #include <dc1394/dc1394.h> 48 #include <sensor_msgs/Image.h> 49 #include <sensor_msgs/CameraInfo.h> 50 #include "camera1394stereo/Camera1394StereoConfig.h" 60 #define DEF_EXCEPTION(name, parent) \ 61 class name : public parent { \ 63 name (const char* msg) : parent (msg) {} \ 75 int open(camera1394stereo::Camera1394StereoConfig &newconfig);
77 bool readData (sensor_msgs::Image &image, sensor_msgs::Image &image2);
86 const sensor_msgs::CameraInfo &ci)
92 return (ci.width == image.width && ci.height == image.height);
132 #endif // DEV_CAMERA1394_HH
dc1394stereo_method_t stereoMethod_
boost::shared_ptr< Features > features_
void setOperationalParameters(sensor_msgs::CameraInfo &ci)
dc1394color_filter_t BayerPattern_
bool readData(sensor_msgs::Image &image, sensor_msgs::Image &image2)
bool findStereoMethod(const char *method)
void findBayerPattern(const char *)
dc1394bayer_method_t BayerMethod_
Camera1394 Features class.
dc1394color_coding_t colorCoding_
bool checkCameraInfo(const sensor_msgs::Image &image, const sensor_msgs::CameraInfo &ci)
DEF_EXCEPTION(Exception, std::runtime_error)
A standard Camera1394 exception.
int open(camera1394stereo::Camera1394StereoConfig &newconfig)
dc1394video_mode_t videoMode_
bool findBayerMethod(const char *)