Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
circunference_center_calculation.hpp
Go to the documentation of this file.
1#pragma once
2
4#include <cmath>
5#include <limits>
6#include <string>
7
16public:
29 Eigen::Vector4f calculate_center(const sensor_msgs::msg::PointCloud2::SharedPtr& point_cloud,
30 const std::vector<int>& point_indices,
31 const Plane& plane = Plane()) const override;
32};
Abstract Class representing the logic for estimating the center position of a cone.
Concrete class representing a circumference-based method for estimating the center position of a cone...
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.
The Plane class represents a 3D plane defined by its equation ax + by + cz + d = 0.
Definition plane.hpp:12