Class MeasurementBuffer

Class Documentation

class MeasurementBuffer

Public Functions

MeasurementBuffer(const std::string &source_name, const std::string &topic_name, const double &observation_keep_time, const double &expected_update_rate, const double &min_obstacle_height, const double &max_obstacle_height, const double &obstacle_range, tf2_ros::Buffer &tf, const std::string &global_frame, const std::string &sensor_frame, const double &tf_tolerance, const double &min_d, const double &max_d, const double &vFOV, const double &vFOVPadding, const double &hFOV, const double &decay_acceleration, const bool &marking, const bool &clearing, const double &voxel_size, const Filters &filter, const int &voxel_min_points, const bool &enabled, const bool &clear_buffer_after_reading, const ModelType &model_type, rclcpp::Clock::SharedPtr clock, rclcpp::Logger logger)
~MeasurementBuffer(void)
void BufferROSCloud(const sensor_msgs::msg::PointCloud2 &cloud)
void GetReadings(std::vector<observation::MeasurementReading> &observations)
bool IsEnabled(void) const
void SetEnabled(const bool &enabled)
std::string GetSourceName(void) const
void SetMinObstacleHeight(const double &min_obstacle_height)
void SetMaxObstacleHeight(const double &max_obstacle_height)
void SetMinZ(const double &min_z)
void SetMaxZ(const double &max_z)
void SetVerticalFovPadding(const double &vertical_fov_padding)
void SetHorizontalFovAngle(const double &horizontal_fov_angle)
void SetVerticalFovAngle(const double &vertical_fov_angle)
bool UpdatedAtExpectedRate(void) const
void ResetLastUpdatedTime(void)
void ResetAllMeasurements(void)
bool ClearAfterReading(void)
void Lock(void)
void Unlock(void)