Name: camera_base
Owner: Systems, Robotics & Vision, University of the Balearic Islands
Description: Some base classes for simplifing ROS camera driver node.
Forked from: KumarRobotics/camera_base
Created: 2016-12-15 11:17:57.0
Updated: 2016-12-15 11:17:58.0
Pushed: 2016-08-11 00:58:22.0
Size: 44
Language: C++
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Some base classes for simplifing ROS camera driver node.
For writing a new ros camera driver, you need to inherit and implement the following two base classes.
Base class for a camera node. The node will have a dynamic reconfigure server.
Pure virtual functions
ual void Acquire() = 0;
ual void Setup(ConfigType& config) = 0;
Base class for a ros camera. A Ros camera will have the following common features:
Pure virtual functions
ual bool Grab(const sensor_msgs::ImagePtr& image_msg) = 0;
~image_raw
(sensor_msgs/Image)
The unprocessed image data.
~camera_info
(sensor_msgs/CameraInfo)
Contains the camera calibration (if calibrated) and extra data about the camera configuration.
~set_camera_info
(sensor_msgs/SetCameraInfo)
Set the appropriate camera info (TF frame, calibration parameters, ROI etc.)