MoveIt Pro API
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
moveit_pro::behaviors::ClearAllVisualMarkers Class Referencefinal

Deletes all visual markers currently displayed in the UI. More...

#include <clear_all_visual_markers.hpp>

Inheritance diagram for moveit_pro::behaviors::ClearAllVisualMarkers:
Collaboration diagram for moveit_pro::behaviors::ClearAllVisualMarkers:

Public Member Functions

 ClearAllVisualMarkers (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)
 
BT::NodeStatus tick () override
 
- Public Member Functions inherited from moveit_pro::behaviors::SharedResourcesNode< BT::SyncActionNode >
 SharedResourcesNode (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)
 Constructor for SharedResourcesNode. Called by BT::BehaviorTreeFactory when creating a new behavior tree containing this node.
 

Static Public Member Functions

static BT::PortsList providedPorts ()
 
static BT::KeyValueVector metadata ()
 

Additional Inherited Members

- Protected Attributes inherited from moveit_pro::behaviors::SharedResourcesNode< BT::SyncActionNode >
std::shared_ptr< BehaviorContextshared_resources_
 

Detailed Description

Deletes all visual markers currently displayed in the UI.

Publishes a MarkerArray with a single DELETEALL marker to the /visual_markers topic, which removes all previously published visualization markers.

Constructor & Destructor Documentation

◆ ClearAllVisualMarkers()

moveit_pro::behaviors::ClearAllVisualMarkers::ClearAllVisualMarkers ( const std::string &  name,
const BT::NodeConfiguration &  config,
const std::shared_ptr< BehaviorContext > &  shared_resources 
)

Member Function Documentation

◆ metadata()

BT::KeyValueVector moveit_pro::behaviors::ClearAllVisualMarkers::metadata ( )
static

◆ providedPorts()

BT::PortsList moveit_pro::behaviors::ClearAllVisualMarkers::providedPorts ( )
static

◆ tick()

BT::NodeStatus moveit_pro::behaviors::ClearAllVisualMarkers::tick ( )
override

The documentation for this class was generated from the following files: