Class ClearEntireCostmapService

Inheritance Relationships

Base Type

Class Documentation

class ClearEntireCostmapService : public nav2_behavior_tree::BtServiceNode<nav2_msgs::srv::ClearEntireCostmap>

A nav2_behavior_tree::BtServiceNode class that wraps nav2_msgs::srv::ClearEntireCostmap.

Public Functions

ClearEntireCostmapService(const std::string &service_node_name, const BT::NodeConfiguration &conf)

A constructor for nav2_behavior_tree::ClearEntireCostmapService.

Parameters:
  • service_node_name – Service name this node creates a client for

  • conf – BT node configuration

virtual void on_tick() override

The main override required by a BT service.

Returns:

BT::NodeStatus Status of tick execution