|
roboligo
|
A lifecycle node that manages the configuration robot. More...
#include <StatesNode.hpp>


Public Types | |
| using | CallbackReturnT = rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn |
Public Member Functions | |
| bool | cycle (std::shared_ptr< RobotState > robot_state) |
| Method used for each iteration. | |
| bool | init (std::shared_ptr< RobotState > robot_state) |
| Method called at initialize and configurate settings. | |
| CallbackReturnT | on_activate (const rclcpp_lifecycle::State &state) |
| Instructions on_active state. | |
| CallbackReturnT | on_cleanup (const rclcpp_lifecycle::State &state) |
| Instructions on_cleanup state. | |
| CallbackReturnT | on_configure (const rclcpp_lifecycle::State &state) |
| Instructions on_configure state. | |
| CallbackReturnT | on_deactivate (const rclcpp_lifecycle::State &state) |
| Instructions on_deactivate state. | |
| CallbackReturnT | on_error (const rclcpp_lifecycle::State &state) |
| Instructions on_error state. | |
| CallbackReturnT | on_shutdown (const rclcpp_lifecycle::State &state) |
| Instructions on_shutdown state. | |
| void | reset_classification (void) |
| When the node is in shutdowning, this method is called. | |
| StatesNode (const rclcpp::NodeOptions &options=rclcpp::NodeOptions()) | |
| Constructor for StatesNode. | |
| ~StatesNode () | |
| Destructor. | |
A lifecycle node that manages the configuration robot.
This class managments the modes and triggers for each robot type
| using roboligo::StatesNode::CallbackReturnT = rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn |
|
explicit |
Constructor for StatesNode.
| NodeOptions | to configurate lifecycle node |
| roboligo::StatesNode::~StatesNode | ( | ) |
Destructor.
| bool roboligo::StatesNode::cycle | ( | std::shared_ptr< RobotState > | robot_state | ) |
Method used for each iteration.
| robot | state object |
| bool roboligo::StatesNode::init | ( | std::shared_ptr< RobotState > | robot_state | ) |
Method called at initialize and configurate settings.
| robot | state object |
| CallbackReturnT roboligo::StatesNode::on_activate | ( | const rclcpp_lifecycle::State & | state | ) |
Instructions on_active state.
| state | lifecycle |
| CallbackReturnT roboligo::StatesNode::on_cleanup | ( | const rclcpp_lifecycle::State & | state | ) |
Instructions on_cleanup state.
| state | lifecycle |
| CallbackReturnT roboligo::StatesNode::on_configure | ( | const rclcpp_lifecycle::State & | state | ) |
Instructions on_configure state.
| state | lifecycle |
| CallbackReturnT roboligo::StatesNode::on_deactivate | ( | const rclcpp_lifecycle::State & | state | ) |
Instructions on_deactivate state.
| state | lifecycle |
| CallbackReturnT roboligo::StatesNode::on_error | ( | const rclcpp_lifecycle::State & | state | ) |
| CallbackReturnT roboligo::StatesNode::on_shutdown | ( | const rclcpp_lifecycle::State & | state | ) |
Instructions on_shutdown state.
| state | lifecycle |
| void roboligo::StatesNode::reset_classification | ( | void | ) |
When the node is in shutdowning, this method is called.