MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
moveit_studio::behaviors::GetOdom Class Reference

Subscribes to an odometry message and stores it on the blackboard. More...

#include <get_odom.hpp>

Inheritance diagram for moveit_studio::behaviors::GetOdom:
Collaboration diagram for moveit_studio::behaviors::GetOdom:

Public Member Functions

 GetOdom (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_studio::behaviors::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< BehaviorContextshared_resources_
 

Detailed Description

Subscribes to an odometry message and stores it on the blackboard.

Data Port Name Port Type Object Type
odometry_topic_name input std::string
subscribed_odometry output nav_msgs::msg::Odometry
odometry_pose output geometry_msgs::msg::PoseStamped

Constructor & Destructor Documentation

◆ GetOdom()

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

Member Function Documentation

◆ metadata()

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

◆ onHalted()

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

◆ onRunning()

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

◆ onStart()

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

◆ providedPorts()

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

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