6 #include <HLR/Object.h> 7 #include <CGAL/Simple_cartesian.h> 8 #include <CGAL/Surface_mesh.h> 9 #include <pcl/point_cloud.h> 10 #include <pcl/point_types.h> 29 using Point = CGAL::Simple_cartesian<double>::Point_3;
38 using Vector = CGAL::Simple_cartesian<double>::Vector_3;
94 explicit operator HLR::Object()
const;
A class for mapping the ROS::Object defined in msg/Object.msg.
Definition: Object.hpp:24
CGAL::Simple_cartesian< double >::Point_3 Point
Data type specifying a point in 3D space.
Definition: Object.hpp:29
std::optional< Vector > speed
The velocity in m/s at which the Object is moving the real world.
Definition: Object.hpp:55
bool operator!=(const Object &rhs) const
Compares each of the attributes for inequality.
std::uint32_t id
Must be unique.
Definition: Object.hpp:43
CGAL::Surface_mesh< Point > Polyhedron
Data type specifying a polyhedron.
Definition: Object.hpp:33
Polyhedron polyhedron
The polyhedron defining the Object.
Definition: Object.hpp:48
pcl::PointCloud< pcl::PointXYZ > point_cloud
PointCloud of the found object.
Definition: Object.hpp:72
CGAL::Simple_cartesian< double >::Vector_3 Vector
Date type specifying a (physics) vector.
Definition: Object.hpp:38
Point middlepoint
Contains middlepoint (x,y) of the complete object.
Definition: Object.hpp:77
bool is_cup
Is true if Vision recognizes it as a cup.
Definition: Object.hpp:60
bool is_deleted
Is true if the Object is not visible in the world anymore.
Definition: Object.hpp:68
bool operator==(const Object &rhs) const
Compares each of the attributes for equality.