Protective Stop
Loading...
Searching...
No Matches
protective_stop_machine::MachineBridgeNode Class Reference

Managed node presenting one ROS 2 surface over either machine backend. More...

#include <machine_bridge_node.hpp>

Inheritance diagram for protective_stop_machine::MachineBridgeNode:
[legend]
Collaboration diagram for protective_stop_machine::MachineBridgeNode:
[legend]

Public Types

using CallbackReturn = rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn
 Lifecycle transition result.

Public Member Functions

 MachineBridgeNode (const rclcpp::NodeOptions &options)
 Declares parameters and creates the ROS interfaces.
CallbackReturn on_configure (const rclcpp_lifecycle::State &) override
 Builds the configured backend and validates parameters.
CallbackReturn on_activate (const rclcpp_lifecycle::State &) override
 Starts the backend, publishing and the fleet reporters.
CallbackReturn on_deactivate (const rclcpp_lifecycle::State &) override
 Stops the backend, publishing and the fleet reporters.
CallbackReturn on_cleanup (const rclcpp_lifecycle::State &) override
 Releases the backend.
CallbackReturn on_shutdown (const rclcpp_lifecycle::State &) override
 Stops everything, from any state.
CallbackReturn on_error (const rclcpp_lifecycle::State &) override
 Handles a failed transition.

Detailed Description

Managed node presenting one ROS 2 surface over either machine backend.

ROS glue only; machine logic lives behind IMachineBackend. See docs/design/machine_ros_2_lifecycle_node.md.


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