Publishes a visualization marker that contains three lines composing a coordinate frame. More...
Declaration
class moveit_pro::behaviors::VisualizePose { ... }
#include <visualize_pose.hpp>
Base class
Public Constructors Index
| VisualizePose (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) |
|
|
|
Public Member Functions Index
| BT::NodeStatus | tick () override |
|
|
|
Private Member Attributes Index
| std::shared_ptr< rclcpp::Publisher< visualization_msgs::msg::MarkerArray > > | publisher_ |
|
|
|
Public Static Functions Index
Public Static Attributes Index
Description
Publishes a visualization marker that contains three lines composing a coordinate frame.
This Behavior composes a visualization_msgs::msg::MarkerArray message which contains the frame to visualize. It publishes the message to a ROS topic named /visual_markers, which is then visualized in the UI.
Input poses can be given in any known frame. The Behavior will transform them to the world frame before visualization. If the transform cannot be found, the Behavior will return a FAILURE status. 'marker_lifetime' is the time in seconds that the path will be visualized. A value of 0 will visualize the path indefinitely.
| Data Port Name | Port Type | Object Type |
|---|
| pose | input | geometry_msgs::msg::PoseStamped |
| marker_size | input | double |
| marker_lifetime | input | double |
| marker_name | input | std::string |
| marker_text | input | std::string |
Definition at line 38 of file visualize_pose.hpp.
Public Constructors
VisualizePose()
| moveit_pro::behaviors::VisualizePose::VisualizePose (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources) |
|
Public Member Functions
tick()
| BT::NodeStatus moveit_pro::behaviors::VisualizePose::tick () |
|
Private Member Attributes
publisher_
| std::shared_ptr<rclcpp::Publisher<visualization_msgs::msg::MarkerArray> > moveit_pro::behaviors::VisualizePose::publisher_ |
|
Public Static Functions
metadata()
| BT::KeyValueVector moveit_pro::behaviors::VisualizePose::metadata () |
|
static
|
providedPorts()
| BT::PortsList moveit_pro::behaviors::VisualizePose::providedPorts () |
|
static
|
Public Static Attributes
kPortIDMarkerLifetime
| constexpr auto moveit_pro::behaviors::VisualizePose::kPortIDMarkerLifetime = "marker_lifetime" |
|
constexpr
static
|
kPortIDMarkerName
| constexpr auto moveit_pro::behaviors::VisualizePose::kPortIDMarkerName = "marker_name" |
|
constexpr
static
|
kPortIDMarkerSize
| constexpr auto moveit_pro::behaviors::VisualizePose::kPortIDMarkerSize = "marker_size" |
|
constexpr
static
|
kPortIDMarkerText
| constexpr auto moveit_pro::behaviors::VisualizePose::kPortIDMarkerText = "marker_text" |
|
constexpr
static
|
kPortIDPose
| constexpr auto moveit_pro::behaviors::VisualizePose::kPortIDPose = "pose" |
|
constexpr
static
|
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.