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...
#include <wait_for_user_trajectory_approval.hpp>
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 Name | Port Type | Object Type |
| solution | Input | moveit_task_constructor_msgs::msg::Solution |
| cartesian_path_links | Input | std::vector<std::string> |
- Note
- IMPORTANT: Each objective should only contain one instance of this behavior, since if multiples are instantiated then their service servers will conflict with each other. We decided to add this behavior in its current form to maintain the existing interface with the frontend, since this interface will need to change to resolve the conflicting servers issue robustly.
◆ WaitForUserTrajectoryApproval()
| moveit_pro::behaviors::WaitForUserTrajectoryApproval::WaitForUserTrajectoryApproval |
( |
const std::string & |
name, |
|
|
const BT::NodeConfiguration & |
config, |
|
|
const std::shared_ptr< BehaviorContext > & |
shared_resources |
|
) |
| |
◆ metadata()
| BT::KeyValueVector moveit_pro::behaviors::WaitForUserTrajectoryApproval::metadata |
( |
| ) |
|
|
static |
◆ onHalted()
| void moveit_pro::behaviors::WaitForUserTrajectoryApproval::onHalted |
( |
| ) |
|
|
override |
◆ onRunning()
| BT::NodeStatus moveit_pro::behaviors::WaitForUserTrajectoryApproval::onRunning |
( |
| ) |
|
|
override |
◆ onStart()
| BT::NodeStatus moveit_pro::behaviors::WaitForUserTrajectoryApproval::onStart |
( |
| ) |
|
|
override |
◆ providedPorts()
| BT::PortsList moveit_pro::behaviors::WaitForUserTrajectoryApproval::providedPorts |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following files: