|
Autoware.Auto
|
|
#include <map.hpp>


Public Types | |
| using | Base = MapRepresentationBase< sensor_msgs::msg::PointCloud2, MapStorageMode::Independent > |
| using | PCLCloud = pcl::PointCloud< pcl::PointXYZI > |
| using | Cloud = sensor_msgs::msg::PointCloud2 |
| using | CloudIt = sensor_msgs::PointCloud2Iterator< float32_t > |
| using | CloudConstIt = sensor_msgs::PointCloud2ConstIterator< float32_t > |
Public Types inherited from autoware::mapping::point_cloud_mapping::MapRepresentationBase< sensor_msgs::msg::PointCloud2, MapStorageMode::Independent > | |
| using | Increment = sensor_msgs::msg::PointCloud2 |
Public Member Functions | |
| VoxelMap (const perception::filters::voxel_grid::Config &grid_config, const std::string &frame="map") | |
| MapUpdateSummary | try_add_observation (const Cloud &observation, const geometry_msgs::msg::PoseWithCovarianceStamped &) override |
| void | write (const std::string &file_name_prefix) const override |
| std::size_t | size () const noexcept override |
| Size of the voxel grid. More... | |
| std::size_t | capacity () const noexcept override |
| Capacity of the voxel grid. More... | |
| void | clear () override |
| Clear the voxel grid. More... | |
Public Member Functions inherited from autoware::mapping::point_cloud_mapping::MapRepresentationBase< sensor_msgs::msg::PointCloud2, MapStorageMode::Independent > | |
| virtual std::size_t | size () const noexcept=0 |
| virtual std::size_t | capacity () const noexcept=0 |
| virtual | ~MapRepresentationBase ()=default |
Static Public Attributes | |
| static constexpr auto | NUM_FIELDS {4U} |
Additional Inherited Members | |
Static Public Member Functions inherited from autoware::mapping::point_cloud_mapping::MapRepresentationBase< sensor_msgs::msg::PointCloud2, MapStorageMode::Independent > | |
| static constexpr MapStorageMode | storage_mode () noexcept |
A map that accumulates lidar scans in a downsampled format using a voxel grid. A voxel grid is used
| using autoware::mapping::point_cloud_mapping::VoxelMap::Base = MapRepresentationBase<sensor_msgs::msg::PointCloud2, MapStorageMode::Independent> |
| using autoware::mapping::point_cloud_mapping::VoxelMap::Cloud = sensor_msgs::msg::PointCloud2 |
| using autoware::mapping::point_cloud_mapping::VoxelMap::CloudConstIt = sensor_msgs::PointCloud2ConstIterator<float32_t> |
| using autoware::mapping::point_cloud_mapping::VoxelMap::CloudIt = sensor_msgs::PointCloud2Iterator<float32_t> |
| using autoware::mapping::point_cloud_mapping::VoxelMap::PCLCloud = pcl::PointCloud<pcl::PointXYZI> |
|
explicit |
Constructor
| grid_config | Grid configuration of the underlying voxel grid. |
| frame | Frame id of the map. |
|
overridenoexcept |
Capacity of the voxel grid.
|
overridevirtual |
Clear the voxel grid.
|
overridenoexcept |
Size of the voxel grid.
|
overridevirtual |
Try to extend the map with the given point cloud.
| observation | Point cloud in the "map" frame to add to the map. |
|
overridevirtual |
Convert the voxel grid to a point cloud and write it to a pcd file.
| file_name_prefix | File name prefix of the file. |
|
staticconstexpr |