rapid
A ROS robotics library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
camera_interface.h
Go to the documentation of this file.
1 #ifndef _RAPID_ROBOT_CAMERA_INTERFACE_H_
2 #define _RAPID_ROBOT_CAMERA_INTERFACE_H_
3 
4 #include "geometry_msgs/TransformStamped.h"
5 #include "pcl/point_cloud.h"
6 #include "pcl/point_types.h"
7 
8 namespace rapid {
11  public:
13 
16  virtual pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud() const = 0;
17 
21  virtual geometry_msgs::TransformStamped camera_pose() const = 0;
22 };
23 } // namespace rapid
24 
25 #endif // _RAPID_ROBOT_CAMERA_INTERFACE_H_
virtual geometry_msgs::TransformStamped camera_pose() const =0
Returns the camera pose relative to the base frame.
Interface for a camera that outputs point clouds.
virtual pcl::PointCloud< pcl::PointXYZRGB >::Ptr cloud() const =0
Returns the most recent point cloud from the camera.