Skip to main content

GenerateSurfaceCoveragePath Class

Generates a coverage (raster) path of tool poses over a rectangular region. More...

Declaration

class moveit_pro::behaviors::GenerateSurfaceCoveragePath { ... }

Included Headers

#include <generate_surface_coverage_path.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

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

Public Constructors Index

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

Public Member Functions Index

BT::NodeStatustick () override

Public Static Functions Index

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

Description

Generates a coverage (raster) path of tool poses over a rectangular region.

Thin BT wrapper over generateRasterPath(): reads the region and parameters from ports, computes the serpentine raster, and writes it to coverage_path for a Cartesian planner (e.g. PlanCartesianPath) to follow. Intended to turn a user-selected region (see GetRegionFromUser, projected to 3D) into a wipe/inspection sweep.

Data Port NamePort TypeObject Type
region_poseinputgeometry_msgs::msg::PoseStamped
region_dimensionsinputstd::vector<double>
line_spacinginputdouble
point_spacinginputdouble
standoffinputdouble
margininputdouble
coverage_pathoutputstd::vector<geometry_msgs::msg::PoseStamped>
Parameters
name

The name of this Behavior.

config

The configuration options for this Behavior.

shared_resources

The shared resources common to all Behaviors.

Definition at line 87 of file generate_surface_coverage_path.hpp.

Public Constructors

GenerateSurfaceCoveragePath()

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

Declaration at line 90 of file generate_surface_coverage_path.hpp, definition at line 195 of file generate_surface_coverage_path.cpp.

Public Member Functions

tick()

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

Declaration at line 97 of file generate_surface_coverage_path.hpp, definition at line 226 of file generate_surface_coverage_path.cpp.

Public Static Functions

metadata()

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

Declaration at line 95 of file generate_surface_coverage_path.hpp, definition at line 220 of file generate_surface_coverage_path.cpp.

providedPorts()

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

Declaration at line 93 of file generate_surface_coverage_path.hpp, definition at line 201 of file generate_surface_coverage_path.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.