Class ClearCostmapAroundRobotService

Inheritance Relationships

Base Type

Class Documentation

class ClearCostmapAroundRobotService : public nav2_behavior_tree::BtServiceNode<nav2_msgs::srv::ClearCostmapAroundRobot>

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

Public Functions

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

A constructor for nav2_behavior_tree::ClearCostmapAroundRobotService.

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