Skip to main content

WaitForMTCSolutionApproval Class

Takes an MTC Solution message via an input data port and publishes it to the /preview_solution topic. Creates a SetBool service server on the /execute_behavior_solution topic and waits to receive a request containing data: true before succeeding. Visualizes the cartesian path for each valid input link name with a green line while waiting. More...

Declaration

class moveit_pro::behaviors::WaitForMTCSolutionApproval { ... }

Included Headers

#include <wait_for_mtc_solution_approval.hpp>

Base class

classWaitForApprovalBase

Derived Classes

classWaitForUserTrajectoryApproval

Takes an MTC Solution message via an input data port, and publishes it to the /preview_solution topic. Creates a SetBool service server on the /execute_behavior_solution topic and waits to receive a request containing data: true before succeeding. Visualizes the cartesian path for each valid input link name with a green line while waiting. More...

Public Member Functions Index

BT::NodeStatusonStart () override

Public Static Functions Index

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

Description

Takes an MTC Solution message via an input data port and publishes it to the /preview_solution topic. Creates a SetBool service server on the /execute_behavior_solution topic and waits to receive a request containing data: true before succeeding. Visualizes the cartesian path for each valid input link name with a green line while waiting.

Data Port NamePort TypeObject Type
solutionInputmoveit_task_constructor_msgs::msg::Solution
cartesian_path_linksInputstd::vector<std::string>
info

IMPORTANT: This Behavior creates a SetBool service server on the /execute_behavior_solution topic. Only one Behavior (of any class) that claims this service name can be instantiated per Objective; multiple instances will cause service-server conflicts. This interface will need to change to resolve the conflict robustly.

Definition at line 29 of file wait_for_mtc_solution_approval.hpp.

Public Member Functions

onStart()

BT::NodeStatus moveit_pro::behaviors::WaitForMTCSolutionApproval::onStart ()

Declaration at line 38 of file wait_for_mtc_solution_approval.hpp, definition at line 46 of file wait_for_mtc_solution_approval.cpp.

Public Static Functions

metadata()

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

Declaration at line 36 of file wait_for_mtc_solution_approval.hpp, definition at line 40 of file wait_for_mtc_solution_approval.cpp.

providedPorts()

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

Declaration at line 34 of file wait_for_mtc_solution_approval.hpp, definition at line 32 of file wait_for_mtc_solution_approval.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.