Functions | Variables
test_cv_camera.cpp File Reference
#include <ros/ros.h>
#include <sensor_msgs/CameraInfo.h>
#include <sensor_msgs/Image.h>
#include <gtest/gtest.h>
Include dependency graph for test_cv_camera.cpp:

Go to the source code of this file.

Functions

void ImageCallback (const sensor_msgs::Image::ConstPtr &image)
void InfoCallback (const sensor_msgs::CameraInfo::ConstPtr &info)
int main (int argc, char **argv)
 TEST (CvCameraNode, getImage)
 TEST (CvCameraNode, getCameraInfo)

Variables

sensor_msgs::CameraInfo g_camera_info
sensor_msgs::Image g_image

Function Documentation

void ImageCallback ( const sensor_msgs::Image::ConstPtr &  image)

Definition at line 9 of file test_cv_camera.cpp.

void InfoCallback ( const sensor_msgs::CameraInfo::ConstPtr &  info)

Definition at line 14 of file test_cv_camera.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 74 of file test_cv_camera.cpp.

TEST ( CvCameraNode  ,
getImage   
)

Definition at line 19 of file test_cv_camera.cpp.

TEST ( CvCameraNode  ,
getCameraInfo   
)

Definition at line 39 of file test_cv_camera.cpp.


Variable Documentation

sensor_msgs::CameraInfo g_camera_info

Definition at line 7 of file test_cv_camera.cpp.

sensor_msgs::Image g_image

Definition at line 6 of file test_cv_camera.cpp.



cv_camera
Author(s): Takashi Ogura
autogenerated on Wed Aug 26 2015 11:13:42