srv/camera_base

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

Homepage:

Size: 44

Language: C++

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

camera_base

Some base classes for simplifing ROS camera driver node.

Basics

For writing a new ros camera driver, you need to inherit and implement the following two base classes.

camera_node_base

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;
camera_ros_base

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;
ROS API
Published topics

~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.

Services

~set_camera_info (sensor_msgs/SetCameraInfo)

Set the appropriate camera info (TF frame, calibration parameters, ROI etc.)


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.