Class ClearCostmapExceptRegionService

Inheritance Relationships

Base Type

Class Documentation

class ClearCostmapExceptRegionService : public nav2_behavior_tree::BtServiceNode<nav2_msgs::srv::ClearCostmapExceptRegion>

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

Public Functions

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

A constructor for nav2_behavior_tree::ClearCostmapExceptRegionService.

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

Public Static Functions

static inline BT::PortsList providedPorts()

Creates list of BT ports.

Returns:

BT::PortsList Containing basic ports along with node-specific ports