MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
|
Loads an image from a file and writes it to an output data port. More...
#include <load_image_from_file.hpp>
Public Member Functions | |
LoadImageFromFile (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. | |
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< BehaviorContext > | shared_resources_ |
Loads an image from a file and writes it to an output data port.
Data Port Name | Port Type | Object Type |
---|---|---|
file_path | input | std::string |
frame_id | input | std::string |
image | output | sensor_msgs::msg::Image |
moveit_studio::behaviors::LoadImageFromFile::LoadImageFromFile | ( | const std::string & | name, |
const BT::NodeConfiguration & | config, | ||
const std::shared_ptr< BehaviorContext > & | shared_resources | ||
) |
|
static |
|
override |
|
override |
|
override |
|
static |