add function getTypeLayer
This commit is contained in:
@@ -67,6 +67,7 @@ public:
|
||||
unsigned int index_;
|
||||
unsigned int x_, y_;
|
||||
unsigned int src_x_, src_y_;
|
||||
|
||||
};
|
||||
|
||||
class InflationLayer : public Layer
|
||||
@@ -120,6 +121,10 @@ public:
|
||||
*/
|
||||
void setInflationParameters(double inflation_radius, double cost_scaling_factor);
|
||||
|
||||
LayerType getType() const override
|
||||
{
|
||||
return LayerType::INFLATION_LAYER;
|
||||
}
|
||||
protected:
|
||||
virtual void onFootprintChanged();
|
||||
boost::recursive_mutex* inflation_access_;
|
||||
|
||||
Reference in New Issue
Block a user