CreateTwistStamped Class
Create a geometry_msgs::msg::TwistStamped and writes it to the Blackboard. More...
Declaration
Included Headers
Base class
| class | SharedResourcesNode<BehaviorTreeNodeT> |
|
The SharedResourcesNode class provides a BehaviorContext object when constructing a BehaviorTree.Cpp node. More... | |
Public Constructors Index
| CreateTwistStamped (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > &shared_resources) | |
|
Construct a new CreateTwistStamped behavior. More... | |
Public Member Functions Index
| BT::NodeStatus | tick () override |
|
Contains the logic to create a valid geometry_msgs::msg::TwistStamped message. More... | |
Public Static Functions Index
| static BT::PortsList | providedPorts () |
|
Returns list of ports for this behavior. More... | |
| static BT::KeyValueVector | metadata () |
Description
Create a geometry_msgs::msg::TwistStamped and writes it to the Blackboard.
| Data Port Name | Port Type | Object Type |
|---|---|---|
| reference_frame | input | std::string |
| linear_velocity_xyz | input | std::vector<double> |
| angular_velocity_xyz | input | std::vector<double> |
| twist_stamped | output | geometry_msgs::msg::TwistStamped |
The Behavior checks to see if the input values linear_velocity_xyz and angular_velocity_xyz are of size 3.
Definition at line 28 of file create_twist_stamped.hpp.
Public Constructors
CreateTwistStamped()
|
Construct a new CreateTwistStamped behavior.
- Parameters
-
name config shared_resources
Declaration at line 38 of file create_twist_stamped.hpp, definition at line 27 of file create_twist_stamped.cpp.
Public Member Functions
tick()
|
Contains the logic to create a valid geometry_msgs::msg::TwistStamped message.
- Returns
BT::NodeStatus Returns success if successful, else failure.
Declaration at line 53 of file create_twist_stamped.hpp, definition at line 50 of file create_twist_stamped.cpp.
Public Static Functions
metadata()
| static |
Declaration at line 47 of file create_twist_stamped.hpp, definition at line 45 of file create_twist_stamped.cpp.
providedPorts()
| static |
Returns list of ports for this behavior.
- Returns
BT::PortsList
Declaration at line 45 of file create_twist_stamped.hpp, definition at line 33 of file create_twist_stamped.cpp.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.