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

This behavior extracts a ROS sensor_msgs/JointState message from a a planning scene object. More...

#include <get_robot_joint_state.hpp>

Inheritance diagram for moveit_studio::behaviors::GetRobotJointState:
Collaboration diagram for moveit_studio::behaviors::GetRobotJointState:

Public Member Functions

 GetRobotJointState (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)
 
BT::NodeStatus tick () override
 
- Public Member Functions inherited from moveit_studio::behaviors::SharedResourcesNode< BT::SyncActionNode >
 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 ()
 Required implementation of static providedPorts function. More...
 
static BT::KeyValueVector metadata ()
 

Additional Inherited Members

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

Detailed Description

This behavior extracts a ROS sensor_msgs/JointState message from a a planning scene object.

Data Port Name Port Type Object Type
planning_group_name Input std:string
planning_scene Input moveit_msgs::msg::PlanningScene
joint_state Output sensor_msgs::msg::JointState

Constructor & Destructor Documentation

◆ GetRobotJointState()

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

Member Function Documentation

◆ metadata()

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

◆ providedPorts()

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

Required implementation of static providedPorts function.

◆ tick()

BT::NodeStatus moveit_studio::behaviors::GetRobotJointState::tick ( )
override

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