Function rmf_traffic_ros2::schedule::make_monitor_node

Function Documentation

std::shared_ptr<rclcpp::Node> rmf_traffic_ros2::schedule::make_monitor_node(std::function<void(std::shared_ptr<rclcpp::Node>)> callback, const rclcpp::NodeOptions &options = rclcpp::NodeOptions(), std::chrono::seconds startup_timeout = 10s)

Make a monitor node to monitor a heartbeat and restart a node when the heartbeat is lost