MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
moveit_studio::behaviors::RetrieveWaypoint Class Referencefinal

Given a named waypoint, sends a service request to the Agent WaypointManager to retrieve the joint state associated with that waypoint. More...

#include <retrieve_waypoint.hpp>

Inheritance diagram for moveit_studio::behaviors::RetrieveWaypoint:
Collaboration diagram for moveit_studio::behaviors::RetrieveWaypoint:

Public Member Functions

 RetrieveWaypoint (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)
 
BT::NodeStatus onStart () override
 
BT::NodeStatus onRunning () override
 
void onHalted () override
 
- Public Member Functions inherited from moveit_studio::behaviors::SharedResourcesNode< BT::StatefulActionNode >
 SharedResourcesNode (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)
 Constructor for SharedResourcesNode. Called by BT::BehaviorTreeFactory when creating a new behavior tree containing this node. More...
 

Static Public Member Functions

static BT::PortsList providedPorts ()
 
static BT::KeyValueVector metadata ()
 

Additional Inherited Members

- Protected Attributes inherited from moveit_studio::behaviors::SharedResourcesNode< BT::StatefulActionNode >
std::shared_ptr< BehaviorContextshared_resources_
 

Detailed Description

Given a named waypoint, sends a service request to the Agent WaypointManager to retrieve the joint state associated with that waypoint.

Data Port Name Port Type Object Type
waypoint_name Input std::string
waypoint_joint_state Output moveit_studio_agent_msgs::msg::JointState

Constructor & Destructor Documentation

◆ RetrieveWaypoint()

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

Member Function Documentation

◆ metadata()

BT::KeyValueVector moveit_studio::behaviors::RetrieveWaypoint::metadata ( )
static

◆ onHalted()

void moveit_studio::behaviors::RetrieveWaypoint::onHalted ( )
override

◆ onRunning()

BT::NodeStatus moveit_studio::behaviors::RetrieveWaypoint::onRunning ( )
override

◆ onStart()

BT::NodeStatus moveit_studio::behaviors::RetrieveWaypoint::onStart ( )
override

◆ providedPorts()

BT::PortsList moveit_studio::behaviors::RetrieveWaypoint::providedPorts ( )
static

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