|
Formula Student Autonomous Systems
The code for the main driverless system
|
Concrete class representing a circumference-based method for estimating the center position of a cone. More...
#include <circunference_center_calculation.hpp>


Public Member Functions | |
| Eigen::Vector4f | calculate_center (const sensor_msgs::msg::PointCloud2::SharedPtr &point_cloud, const std::vector< int > &point_indices, const Plane &plane=Plane()) const override |
| Estimates the center position of a cone using a circumference-based approach. | |
Concrete class representing a circumference-based method for estimating the center position of a cone.
This class implements the CenterCalculator interface to provide a method for estimating the center position of a cone based on its point cloud data, using a circumference-based approach.
Definition at line 15 of file circunference_center_calculation.hpp.
|
overridevirtual |
Estimates the center position of a cone using a circumference-based approach.
This method estimates the center position of a cone by approximating its center as the center of a circumference that cuts the cone.
| point_cloud | Pointer to the point cloud representing the cone's cluster. |
| plane | Plane representing the ground. (Mandatory) |
Implements CenterCalculator.
Definition at line 3 of file circunference_center_calculation.cpp.
