#include <ros/ros.h>
#include <tf/transform_listener.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl_ros/point_cloud.h>
#include <pcl_ros/transforms.h>
#include <cv_bridge/cv_bridge.h>
#include <opencv/cv.h>
#include <sensor_msgs/image_encodings.h>
#include <image_transport/image_transport.h>
#include <image_geometry/pinhole_camera_model.h>
#include <geometry_msgs/PoseStamped.h>
#include <ar_pose/ARMarker.h>
Go to the source code of this file.
Typedefs | |
typedef pcl::PointCloud< PRGB > | PCRGB |
typedef pcl::PointXYZRGB | PRGB |
Functions | |
void | doOverlay (const sensor_msgs::ImageConstPtr &img_msg, const sensor_msgs::CameraInfoConstPtr &info_msg) |
int | main (int argc, char **argv) |
void | subARTagLCallback (const ar_pose::ARMarker::Ptr &ar_tag_) |
void | subARTagRCallback (const ar_pose::ARMarker::Ptr &ar_tag_) |
void | writeTag (const ar_pose::ARMarker::Ptr &ar_tag, const sensor_msgs::ImageConstPtr &img_msg, const cv::Scalar &color) |
Variables | |
ar_pose::ARMarker::Ptr | ar_tag_l |
ros::Subscriber | ar_tag_l_sub |
ar_pose::ARMarker::Ptr | ar_tag_r |
ros::Subscriber | ar_tag_r_sub |
image_geometry::PinholeCameraModel | cam_model |
image_transport::CameraSubscriber | camera_sub |
cv_bridge::CvImagePtr | cv_img |
double | last_l_time |
double | last_r_time |
image_transport::Publisher | overlay_pub |
boost::shared_ptr < tf::TransformListener > | tf_list |
typedef pcl::PointCloud<PRGB> PCRGB |
Definition at line 18 of file ar_confirm.cpp.
typedef pcl::PointXYZRGB PRGB |
Definition at line 17 of file ar_confirm.cpp.
void doOverlay | ( | const sensor_msgs::ImageConstPtr & | img_msg, |
const sensor_msgs::CameraInfoConstPtr & | info_msg | ||
) |
Definition at line 79 of file ar_confirm.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 102 of file ar_confirm.cpp.
void subARTagLCallback | ( | const ar_pose::ARMarker::Ptr & | ar_tag_ | ) |
Definition at line 30 of file ar_confirm.cpp.
void subARTagRCallback | ( | const ar_pose::ARMarker::Ptr & | ar_tag_ | ) |
Definition at line 36 of file ar_confirm.cpp.
void writeTag | ( | const ar_pose::ARMarker::Ptr & | ar_tag, |
const sensor_msgs::ImageConstPtr & | img_msg, | ||
const cv::Scalar & | color | ||
) |
Definition at line 42 of file ar_confirm.cpp.
ar_pose::ARMarker::Ptr ar_tag_l |
Definition at line 20 of file ar_confirm.cpp.
Definition at line 21 of file ar_confirm.cpp.
ar_pose::ARMarker::Ptr ar_tag_r |
Definition at line 20 of file ar_confirm.cpp.
Definition at line 21 of file ar_confirm.cpp.
Definition at line 26 of file ar_confirm.cpp.
Definition at line 24 of file ar_confirm.cpp.
Definition at line 28 of file ar_confirm.cpp.
double last_l_time |
Definition at line 22 of file ar_confirm.cpp.
double last_r_time |
Definition at line 22 of file ar_confirm.cpp.
Definition at line 25 of file ar_confirm.cpp.
boost::shared_ptr<tf::TransformListener> tf_list |
Definition at line 27 of file ar_confirm.cpp.