HLR
0.0.1
|
Class responsible for merging the world data from the Kinect and the LiDAR. More...
#include <ObjectInterpreter.hpp>
Public Member Functions | |
std::vector< Object > | get_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< Object > | 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. More... | |
Class responsible for merging the world data from the Kinect and the LiDAR.
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.
detected_cups | The latest depth frame and coordinates of cups found. |
point_cloud | The latest point cloud generated from the LiDAR. |
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.
detected_cups | The latest depth frame and coordinates of cups found. |
point_cloud | The latest point cloud generated from the LiDAR. |