ObjectCostmapStorage.h
Go to the documentation of this file.
1#include <map>
2#include <optional>
3#include <string>
4#include <unordered_map>
5#include <vector>
6
8
10
11#include "util.h"
12
14{
25
27 {
28 public:
30
31 void storeObjectCostmap(CachedObjectCostmap cachedObjectCostmap);
32 std::optional<armarx::navigation::algorithms::Costmap>
34 Eigen::Matrix4f objectGlobalPose,
35 JointValuesT jointValues);
36
37 void printOccupancy(bool noSpam = true);
38
39 private:
40 // class ID -> list of cached costmaps for base poses
41 std::unordered_map<std::string, std::vector<CachedObjectCostmap>> objectCostmaps_;
42 };
43} // namespace armarx::navigation::components::adaptive_distance_to_obstacle_costmap_provider
A known object ID of the form "Dataset/ClassName" or "Dataset/ClassName/InstanceName".
Definition ObjectID.h:11
std::optional< armarx::navigation::algorithms::Costmap > getTransformedCostmap(armarx::ObjectID objectID, Eigen::Matrix4f objectGlobalPose, JointValuesT jointValues)