Class ComputeBT
Defined in File ComputeBT.hpp
Inheritance Relationships
Base Type
public rclcpp_lifecycle::LifecycleNode
Class Documentation
-
class ComputeBT : public rclcpp_lifecycle::LifecycleNode
Public Types
-
using CallbackReturnT = rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn
Public Functions
-
CallbackReturnT on_configure(const rclcpp_lifecycle::State &state)
Configures the node.
- Parameters:
state – [in] The current lifecycle state.
- Returns:
SUCCESS if configuration is successful, FAILURE otherwise.
-
CallbackReturnT on_activate(const rclcpp_lifecycle::State &state)
Activates the node.
- Parameters:
state – [in] The current lifecycle state.
- Returns:
SUCCESS if activation is successful, FAILURE otherwise.
-
CallbackReturnT on_deactivate(const rclcpp_lifecycle::State &state)
Deactivates the node.
- Parameters:
state – [in] The current lifecycle state.
- Returns:
SUCCESS if deactivation is successful, FAILURE otherwise.
-
CallbackReturnT on_cleanup(const rclcpp_lifecycle::State &state)
Cleans up the node.
- Parameters:
state – [in] The current lifecycle state.
- Returns:
SUCCESS if cleanup is successful, FAILURE otherwise.
-
CallbackReturnT on_shutdown(const rclcpp_lifecycle::State &state)
Shuts down the node.
- Parameters:
state – [in] The current lifecycle state.
- Returns:
SUCCESS if shutdown is successful, FAILURE otherwise.
-
CallbackReturnT on_error(const rclcpp_lifecycle::State &state)
Handles errors in the node.
- Parameters:
state – [in] The current lifecycle state.
- Returns:
SUCCESS if error handling is successful, FAILURE otherwise.
-
using CallbackReturnT = rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn