Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
FovTrimming Class Referenceabstract

#include <fov_trimming.hpp>

Inheritance diagram for FovTrimming:
Inheritance graph
Collaboration diagram for FovTrimming:
Collaboration graph

Public Member Functions

virtual void fov_trimming (const sensor_msgs::msg::PointCloud2::SharedPtr &point_cloud, sensor_msgs::msg::PointCloud2::SharedPtr &trimmed_cloud) const =0
 Perform fov trimming on the input point cloud.
 
bool within_limits (float x, float y, float z, float intensity, const TrimmingParameters &params, const double max_range) const
 

Protected Attributes

TrimmingParameters params_
 

Detailed Description

Definition at line 10 of file fov_trimming.hpp.

Member Function Documentation

◆ fov_trimming()

virtual void FovTrimming::fov_trimming ( const sensor_msgs::msg::PointCloud2::SharedPtr &  point_cloud,
sensor_msgs::msg::PointCloud2::SharedPtr &  trimmed_cloud 
) const
pure virtual

Perform fov trimming on the input point cloud.

This pure virtual function must be implemented by derived classes.

Parameters
point_cloudThe input point cloud to be processed (trimmed).
[out]retThe resulting point cloud after trimming and the corresponding split parameters for GridRANSAC.

Implemented in AccelerationTrimming, CutTrimming, and SkidpadTrimming.

◆ within_limits()

bool FovTrimming::within_limits ( float  x,
float  y,
float  z,
float  intensity,
const TrimmingParameters params,
const double  max_range 
) const

Definition at line 3 of file fov_trimming.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ params_

TrimmingParameters FovTrimming::params_
protected

Definition at line 28 of file fov_trimming.hpp.


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