38 #include <boost/thread/mutex.hpp> 44 #include <dynamic_reconfigure/server.h> 46 #include <sensor_msgs/CameraInfo.h> 49 #include "camera1394/Camera1394Config.h" 50 #include "camera1394/GetCameraRegisters.h" 51 #include "camera1394/SetCameraRegisters.h" 53 typedef camera1394::Camera1394Config
Config;
80 static const uint8_t CLOSED = 0;
81 static const uint8_t OPENED = 1;
82 static const uint8_t RUNNING = 2;
96 bool openCamera(
Config &newconfig);
97 void publish(
const sensor_msgs::ImagePtr &image);
98 bool read(sensor_msgs::ImagePtr &image);
99 void reconfig(camera1394::Camera1394Config &newconfig, uint32_t level);
101 bool getCameraRegisters(camera1394::GetCameraRegisters::Request &request,
102 camera1394::GetCameraRegisters::Response &response);
103 bool setCameraRegisters(camera1394::SetCameraRegisters::Request &request,
104 camera1394::SetCameraRegisters::Response &response);
124 dynamic_reconfigure::Server<camera1394::Camera1394Config>
srv_;
uint32_t consecutive_read_errors_
boost::shared_ptr< camera_info_manager::CameraInfoManager > cinfo_
dynamic_reconfigure::Server< camera1394::Camera1394Config > srv_
static const uint32_t RECONFIGURE_CLOSE
diagnostic_updater::TopicDiagnostic topic_diagnostics_
volatile bool reconfiguring_
double topic_diagnostics_max_freq_
diagnostic_updater::Updater diagnostics_
static const uint32_t RECONFIGURE_STOP
ros::NodeHandle camera_nh_
image_transport::CameraPublisher image_pub_
ros::ServiceServer set_camera_registers_srv_
bool calibration_matches_
boost::shared_ptr< camera1394::Camera1394 > dev_
camera1394::Camera1394Config Config
camera1394::Camera1394Config config_
ros::ServiceServer get_camera_registers_srv_
IEEE 1394 digital camera library interface.
camera1394::Camera1394Config Config
double topic_diagnostics_min_freq_
static const uint32_t RECONFIGURE_RUNNING
boost::shared_ptr< image_transport::ImageTransport > it_