21#include "carma_msgs/msg/system_alert.hpp"
22#include "ros2_lifecycle_manager/ros2_lifecycle_manager.hpp"
23#include "rclcpp/rclcpp.hpp"
47 void on_system_alert(
const carma_msgs::msg::SystemAlert::UniquePtr msg);
48 carma_ros2_utils::CallbackReturn
handle_on_configure(
const rclcpp_lifecycle::State &prev_state);
A base class for all subsystem_controllers which provides default lifecycle behavior for subsystems.
std::unordered_map< std::vector< SensorBooleanStatus >, SensorAlertStatus, VectorHash > sensor_fault_map_from_json(std::string json_string)
Helper function to convert a json string into an unordered map of sensor status's to required alerts ...
std::unordered_map< std::string, SensorBooleanStatus > sensor_status_
LocalizationControllerConfig config_
~LocalizationControllerNode()=default
void on_system_alert(const carma_msgs::msg::SystemAlert::UniquePtr msg)
LocalizationControllerNode()=delete
carma_ros2_utils::CallbackReturn handle_on_configure(const rclcpp_lifecycle::State &prev_state)
Stuct containing the algorithm configuration values for the BaseSubsystemController.