HLR  0.0.1
Public Member Functions | List of all members
HLR::PointCloud::ObjectInterpreter Class Reference

Class responsible for merging the world data from the Kinect and the LiDAR. More...

#include <ObjectInterpreter.hpp>

Collaboration diagram for HLR::PointCloud::ObjectInterpreter:

Public Member Functions

std::vector< Objectget_current_objects (const HLR::Vision::CupDetection &detected_cups, const pcl::PointCloud< pcl::PointXYZ > &point_cloud)
 Returns all the objects visible at this moment. More...
 
std::vector< Objectget_changed_objects (const HLR::Vision::CupDetection &detected_cups, const pcl::PointCloud< pcl::PointXYZ > &point_cloud)
 Returns all the objects visible at this moment that changed since last call of this function. More...
 

Detailed Description

Class responsible for merging the world data from the Kinect and the LiDAR.

Member Function Documentation

std::vector<Object> HLR::PointCloud::ObjectInterpreter::get_changed_objects ( const HLR::Vision::CupDetection detected_cups,
const pcl::PointCloud< pcl::PointXYZ > &  point_cloud 
)

Returns all the objects visible at this moment that changed since last call of this function.

calls HLR::PointCloud::Object::operator!=(const Object& rhs) const on current_object and history.

Parameters
detected_cupsThe latest depth frame and coordinates of cups found.
point_cloudThe latest point cloud generated from the LiDAR.
Returns
vector of Object that changed
std::vector<Object> HLR::PointCloud::ObjectInterpreter::get_current_objects ( const HLR::Vision::CupDetection detected_cups,
const pcl::PointCloud< pcl::PointXYZ > &  point_cloud 
)

Returns all the objects visible at this moment.

Parameters
detected_cupsThe latest depth frame and coordinates of cups found.
point_cloudThe latest point cloud generated from the LiDAR.
Returns
All current objects.

The documentation for this class was generated from the following file: