FindSlicePlanesAlongEdge Class
Finds a series of waypoints (slice planes) along a selected edge between 4 corner waypoints. More...
Declaration
Included Headers
Base class
| class | BT::SyncActionNode |
Public Constructors Index
| FindSlicePlanesAlongEdge (const std::string &name, const BT::NodeConfiguration &config) | |
|
Constructor. More... | |
Public Member Functions Index
| BT::NodeStatus | tick () override |
|
Execute the behavior: generate slice plane waypoints along the selected edge. More... | |
Public Static Functions Index
| static BT::PortsList | providedPorts () |
|
Declare input and output ports. More... | |
| static BT::KeyValueVector | metadata () |
|
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 Name | Port Type | Object Type |
|---|---|---|
| waypoints | input | std::vector<geometry_msgs::msg::PoseStamped> |
| edge_number | input | int |
| stride_spacing | input | double |
| shift_distance | input | std::vector<double> |
| output_waypoints | output | std::vector<geometry_msgs::msg::PoseStamped> |
Definition at line 32 of file find_slice_planes_along_edge.hpp.
Public Constructors
FindSlicePlanesAlongEdge()
|
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()
|
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()
| 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()
| 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.