Skip to main content

FindSlicePlanesAlongEdge Class

Finds a series of waypoints (slice planes) along a selected edge between 4 corner waypoints. More...

Declaration

class moveit_pro::behaviors::FindSlicePlanesAlongEdge { ... }

Included Headers

#include <find_slice_planes_along_edge.hpp>

Base class

classBT::SyncActionNode

Public Constructors Index

FindSlicePlanesAlongEdge (const std::string &name, const BT::NodeConfiguration &config)

Constructor. More...

Public Member Functions Index

BT::NodeStatustick () override

Execute the behavior: generate slice plane waypoints along the selected edge. More...

Public Static Functions Index

static BT::PortsListprovidedPorts ()

Declare input and output ports. More...

static BT::KeyValueVectormetadata ()

Provide metadata for the MoveIt Studio Developer Tool UI. More...

Description

Finds a series of waypoints (slice planes) along a selected edge between 4 corner waypoints.

This behavior takes 4 corner waypoints and generates evenly spaced waypoints along one of the 4 edges. The edge is selected by the edge_number input (1-4). The generated waypoints have their Z-axis aligned along the edge direction while being shifted halfway toward the opposite edge so that they cover the full surface.

Data Port NamePort TypeObject Type
waypointsinputstd::vector<geometry_msgs::msg::PoseStamped>
edge_numberinputint
stride_spacinginputdouble
shift_distanceinputstd::vector<double>
output_waypointsoutputstd::vector<geometry_msgs::msg::PoseStamped>

Definition at line 32 of file find_slice_planes_along_edge.hpp.

Public Constructors

FindSlicePlanesAlongEdge()

moveit_pro::behaviors::FindSlicePlanesAlongEdge::FindSlicePlanesAlongEdge (const std::string & name, const BT::NodeConfiguration & config)

Constructor.

Parameters
name

The name of a particular instance of this Behavior.

config

Runtime configuration for this Behavior, including port mappings.

Declaration at line 40 of file find_slice_planes_along_edge.hpp, definition at line 38 of file find_slice_planes_along_edge.cpp.

Public Member Functions

tick()

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

Execute the behavior: generate slice plane waypoints along the selected edge.

Returns

SUCCESS if waypoints were generated, FAILURE otherwise.

Declaration at line 58 of file find_slice_planes_along_edge.hpp, definition at line 65 of file find_slice_planes_along_edge.cpp.

Public Static Functions

metadata()

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

Provide metadata for the MoveIt Studio Developer Tool UI.

Returns

A BT::KeyValueVector containing the Behavior metadata.

Declaration at line 52 of file find_slice_planes_along_edge.hpp, definition at line 59 of file find_slice_planes_along_edge.cpp.

providedPorts()

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

Declare input and output ports.

Returns

The list of ports for this behavior.

Declaration at line 46 of file find_slice_planes_along_edge.hpp, definition at line 43 of file find_slice_planes_along_edge.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.