Skip to main content

ClearAllVisualMarkers Class

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

Declaration

class moveit_pro::behaviors::ClearAllVisualMarkers { ... }

Included Headers

#include <clear_all_visual_markers.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

The SharedResourcesNode class provides a BehaviorContext object when constructing a BehaviorTree.Cpp node. More...

Public Constructors Index

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

Public Member Functions Index

BT::NodeStatustick () override

Private Member Attributes Index

std::shared_ptr< rclcpp::Publisher< visualization_msgs::msg::MarkerArray > >publisher_

Public Static Functions Index

static BT::PortsListprovidedPorts ()
static BT::KeyValueVectormetadata ()

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.

Definition at line 25 of file clear_all_visual_markers.hpp.

Public Constructors

ClearAllVisualMarkers()

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

Declaration at line 28 of file clear_all_visual_markers.hpp, definition at line 23 of file clear_all_visual_markers.cpp.

Public Member Functions

tick()

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

Declaration at line 35 of file clear_all_visual_markers.hpp, definition at line 42 of file clear_all_visual_markers.cpp.

Private Member Attributes

publisher_

std::shared_ptr<rclcpp::Publisher<visualization_msgs::msg::MarkerArray> > moveit_pro::behaviors::ClearAllVisualMarkers::publisher_

Definition at line 38 of file clear_all_visual_markers.hpp.

Public Static Functions

metadata()

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

Declaration at line 33 of file clear_all_visual_markers.hpp, definition at line 36 of file clear_all_visual_markers.cpp.

providedPorts()

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

Declaration at line 31 of file clear_all_visual_markers.hpp, definition at line 31 of file clear_all_visual_markers.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.