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 "camera1394/Camera1394Config.h" 61 #define DEF_EXCEPTION(name, parent) \ 62 class name : public parent { \ 64 name (const char* msg) : parent (msg) {} \ 76 int open(camera1394::Camera1394Config &newconfig);
78 bool readData (sensor_msgs::Image &image);
87 const sensor_msgs::CameraInfo &ci)
93 return (ci.width == image.width && ci.height == image.height);
132 #endif // DEV_CAMERA1394_HH
dc1394video_mode_t videoMode_
void setOperationalParameters(sensor_msgs::CameraInfo &ci)
DEF_EXCEPTION(Exception, std::runtime_error)
A standard Camera1394 exception.
IEEE 1394 camera registers interface.
bool readData(sensor_msgs::Image &image)
dc1394color_filter_t BayerPattern_
bool findBayerMethod(const char *)
dc1394bayer_method_t BayerMethod_
void findBayerPattern(const char *)
Camera1394 Features class.
bool checkCameraInfo(const sensor_msgs::Image &image, const sensor_msgs::CameraInfo &ci)
boost::shared_ptr< Registers > registers_
int open(camera1394::Camera1394Config &newconfig)
boost::shared_ptr< Features > features_