This commit is contained in:
2025-12-31 15:43:07 +07:00
parent ae469e3271
commit b6733ae04c
14 changed files with 24 additions and 74 deletions

View File

@@ -45,21 +45,6 @@
#include <robot/node_handle.h>
namespace robot_costmap_2d
{
enum class LayerType
{
UNKNOWN,
STATIC_LAYER,
OBSTACLE_LAYER,
INFLATION_LAYER,
CRITICAL_LAYER,
DIRECTIONAL_LAYER,
PREFERRED_LAYER,
UNPREFERRED_LAYER,
VOXEL_LAYER
};
class LayeredCostmap;
class Layer
@@ -94,7 +79,7 @@ public:
virtual void reset() {}
virtual ~Layer() = default;
virtual ~Layer() {}
/**
* @brief Check to make sure all the data in the layer is up to date.
@@ -145,8 +130,6 @@ public:
* notified of changes to the robot's footprint. */
virtual void onFootprintChanged() {}
virtual LayerType getType() const { return LayerType::UNKNOWN; }
template<typename T>
void dataCallBack(const T& value, const std::string& topic) {
handle(value, topic);