Skip to main content

WaitForUserTrajectoryApproval Class

Takes an MTC Solution message via an input data port, and publishes it to the /preview_solution topic. Waits for a request on the shared /execute_behavior_solution SetBool service 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::WaitForUserTrajectoryApproval { ... }

Included Headers​

#include <wait_for_user_trajectory_approval.hpp>

Base class​

classWaitForMTCSolutionApproval

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

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. Waits for a request on the shared /execute_behavior_solution SetBool service containing data: true before succeeding. Visualizes the cartesian path for each valid input link name with a green line while waiting.

Preserved as a thin subclass of WaitForMTCSolutionApproval so the WaitForUserTrajectoryApproval plugin id and its port signature keep working for existing Subtrees and Objectives; all runtime behavior comes from the base.

Deprecated

This Behavior is deprecated. Use WaitForMTCSolutionApproval instead.

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

Answers arrive on the shared /execute_behavior_solution service. Only one approval Behavior (of any class) can wait at a time: one that starts while another is waiting fails without replacing the active preview.

Definition at line 32 of file wait_for_user_trajectory_approval.hpp.

Public Static Functions​

metadata()​

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

Declaration at line 39 of file wait_for_user_trajectory_approval.hpp, definition at line 39 of file wait_for_user_trajectory_approval.cpp.

providedPorts()​

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

Declaration at line 37 of file wait_for_user_trajectory_approval.hpp, definition at line 31 of file wait_for_user_trajectory_approval.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.15.0.