22#include "rclcpp/rclcpp.hpp"
23#include "ros2_lifecycle_manager/ros2_lifecycle_manager.hpp"
26#include <boost/algorithm/string.hpp>
28#include "carma_msgs/msg/system_alert.hpp"
29#include <carma_driver_msgs/msg/driver_status.hpp>
63 carma_ros2_utils::CallbackReturn
handle_on_configure(
const rclcpp_lifecycle::State & prev_state);
64 carma_ros2_utils::CallbackReturn
handle_on_activate(
const rclcpp_lifecycle::State & prev_state);
75 boost::optional<carma_msgs::msg::SystemAlert>
prev_alert;
A base class for all subsystem_controllers which provides default lifecycle behavior for subsystems.
void critical_drivers_check_callback()
Timer callback function to check status of required ros1 drivers.
~DriversControllerNode()=default
DriversControllerConfig config_
Config for user provided parameters.
std::shared_ptr< SSCDriverManager > ssc_driver_manager_
carma_ros2_utils::SubPtr< carma_driver_msgs::msg::DriverStatus > driver_status_sub_
ROS handles.
DriversControllerNode()=delete
boost::optional< carma_msgs::msg::SystemAlert > prev_alert
void driver_discovery_cb(const carma_driver_msgs::msg::DriverStatus::SharedPtr msg)
carma_ros2_utils::CallbackReturn handle_on_activate(const rclcpp_lifecycle::State &prev_state)
rclcpp::TimerBase::SharedPtr ssc_status_check_timer_
carma_ros2_utils::CallbackReturn handle_on_configure(const rclcpp_lifecycle::State &prev_state)
std::vector< std::string > ros1_ssc_driver_name_
ROS parameters.
Stuct containing the algorithm configuration values for the GuidanceController.