|
Autoware.Auto
|
|
#include <map.hpp>
Public Types | |
| using | Increment = IncrementT |
Public Member Functions | |
| virtual MapUpdateSummary | try_add_observation (const IncrementT &observation, const geometry_msgs::msg::PoseWithCovarianceStamped &pose)=0 |
| virtual void | write (const std::string &file_name_prefix) const =0 |
| virtual std::size_t | size () const noexcept=0 |
| virtual std::size_t | capacity () const noexcept=0 |
| virtual | ~MapRepresentationBase ()=default |
| virtual void | clear ()=0 |
| Clear the map. More... | |
Static Public Member Functions | |
| static constexpr MapStorageMode | storage_mode () noexcept |
Virtual base class of a map to be used for mapping. The map should provide the following functionality: observe new data, extend itself and export itself.
| IncrementT | Type of increment that is used to extend the map. |
| using autoware::mapping::point_cloud_mapping::MapRepresentationBase< IncrementT, StorageModeT >::Increment = IncrementT |
|
virtualdefault |
|
pure virtualnoexcept |
Get the capacity of the map. The meaning is implementation defined.
|
pure virtual |
Clear the map.
Implemented in autoware::mapping::point_cloud_mapping::VoxelMap, and autoware::mapping::point_cloud_mapping::PlainPointCloudMap.
|
pure virtualnoexcept |
Return size of the map. This is implementation defined.
|
inlinestaticconstexprnoexcept |
Get storage mode of the map representation. If MapStorageMode::independent, Then this class is the unique owner of the map data. Otherwise the map is shared with an external entity.
|
pure virtual |
Try to extend the map with the given observation.
| observation | Observation to add to the map. |
| pose | Pose associated with the observation. |
Implemented in autoware::mapping::point_cloud_mapping::VoxelMap, and autoware::mapping::point_cloud_mapping::PlainPointCloudMap.
|
pure virtual |
Export the map and write it to a file.
| file_name_prefix | File name prefix before the filename postfix is added. |
Implemented in autoware::mapping::point_cloud_mapping::VoxelMap, and autoware::mapping::point_cloud_mapping::PlainPointCloudMap.