Skip to content

Commit

Permalink
Fixed interface definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
jstnhuang committed Apr 10, 2018
1 parent d173b8c commit f282ad2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rapid_robot/include/rapid_robot/camera_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@ namespace rapid {
/// \brief Interface for a camera that outputs point clouds.
class PointCloudCameraInterface {
public:
PointCloudCameraInterface();
virtual ~PointCloudCameraInterface() {}

/// \brief Returns the most recent point cloud from the camera.
/// \returns Returns the most recent point cloud from the camera.
virtual pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud() const;
virtual pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud() const = 0;

/// \brief Returns the camera pose relative to the base frame.
/// \returns The transform describing the camera frame with respect to the
/// base frame.
virtual geometry_msgs::TransformStamped camera_pose() const;
virtual geometry_msgs::TransformStamped camera_pose() const = 0;
};
} // namespace rapid

Expand Down

0 comments on commit f282ad2

Please sign in to comment.