add function computeCost file layer.h
This commit is contained in:
@@ -85,6 +85,8 @@ public:
|
||||
*/
|
||||
virtual void updateCosts(Costmap2D& master_grid, int min_i, int min_j, int max_i, int max_j) {}
|
||||
|
||||
virtual unsigned char computeCost(double distance) const { throw std::runtime_error("Function computeCost is not Support."); };
|
||||
|
||||
/** @brief Stop publishers. */
|
||||
virtual void deactivate() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user