Autoware.Auto
point_cloud_utils.cpp File Reference
#include <common/types.hpp>
#include <helper_functions/float_comparisons.hpp>
#include <sensor_msgs/point_cloud2_iterator.hpp>
#include <algorithm>
#include <limits>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "lidar_utils/point_cloud_utils.hpp"
Include dependency graph for point_cloud_utils.cpp:

Namespaces

 autoware
 This file defines the lanelet2_map_provider_node class.
 
 autoware::common
 
 autoware::common::lidar_utils
 

Functions

LIDAR_UTILS_PUBLIC std::pair< autoware_auto_perception_msgs::msg::PointClusters::_points_type::iterator, autoware_auto_perception_msgs::msg::PointClusters::_points_type::iterator > autoware::common::lidar_utils::get_cluster (autoware_auto_perception_msgs::msg::PointClusters &clusters, const std::size_t cls_id)
 Get cluster from clusters based on the cluster id. More...
 
LIDAR_UTILS_PUBLIC std::pair< autoware_auto_perception_msgs::msg::PointClusters::_points_type::const_iterator, autoware_auto_perception_msgs::msg::PointClusters::_points_type::const_iterator > autoware::common::lidar_utils::get_cluster (const autoware_auto_perception_msgs::msg::PointClusters &clusters, const std::size_t cls_id)
 Get cluster from clusters based on the cluster id. More...
 
LIDAR_UTILS_PUBLIC bool8_t autoware::common::lidar_utils::has_intensity_and_throw_if_no_xyz (const PointCloud2::SharedPtr &cloud)
 
LIDAR_UTILS_PUBLIC bool8_t autoware::common::lidar_utils::has_intensity_and_throw_if_no_xyz (const PointCloud2 &cloud)
 
LIDAR_UTILS_PUBLIC std::size_t autoware::common::lidar_utils::index_after_last_safe_byte_index (const sensor_msgs::msg::PointCloud2 &msg) noexcept
 Compute minimum safe length of point cloud access. More...
 
LIDAR_UTILS_PUBLIC SafeCloudIndices autoware::common::lidar_utils::sanitize_point_cloud (const sensor_msgs::msg::PointCloud2 &msg)
 

Variables

static constexpr auto EPSf = std::numeric_limits<autoware::common::types::float32_t>::epsilon()
 

Variable Documentation

◆ EPSf

constexpr auto EPSf = std::numeric_limits<autoware::common::types::float32_t>::epsilon()
staticconstexpr