#include <ros/ros.h>
#include <sensor_msgs/CameraInfo.h>
#include <sensor_msgs/Image.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <tf/transform_datatypes.h>
#include <articulation_msgs/TrackMsg.h>
#include <fstream>
Go to the source code of this file.
Functions | |
void | imageCallback (const sensor_msgs::Image::ConstPtr &msg) |
void | imageRGBCallback (const sensor_msgs::Image::ConstPtr &msg) |
void | infoCallback (const sensor_msgs::CameraInfo::ConstPtr &msg) |
int | main (int argc, char **argv) |
cv::Point | to2D (cv::Point3f pt) |
cv::Point3f | to3D (cv::Point a) |
Variables | |
sensor_msgs::CameraInfo::ConstPtr | cameraInfo_ |
cv_bridge::CvImagePtr | cv_ptr |
cv::Mat | debugImage_ |
string | fname |
bool | rgb = false |
void imageCallback | ( | const sensor_msgs::Image::ConstPtr & | msg | ) |
Definition at line 53 of file filewriter.cpp.
void imageRGBCallback | ( | const sensor_msgs::Image::ConstPtr & | msg | ) |
Definition at line 98 of file filewriter.cpp.
void infoCallback | ( | const sensor_msgs::CameraInfo::ConstPtr & | msg | ) |
Definition at line 48 of file filewriter.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 120 of file filewriter.cpp.
Definition at line 40 of file filewriter.cpp.
Definition at line 28 of file filewriter.cpp.
sensor_msgs::CameraInfo::ConstPtr cameraInfo_ |
Definition at line 23 of file filewriter.cpp.
cv_bridge::CvImagePtr cv_ptr |
Definition at line 24 of file filewriter.cpp.
cv::Mat debugImage_ |
Definition at line 25 of file filewriter.cpp.
string fname |
Definition at line 22 of file filewriter.cpp.
Definition at line 21 of file filewriter.cpp.