19#include <rclcpp/rclcpp.hpp>
20#include <carma_planning_msgs/srv/plan_maneuvers.hpp>
58 std::shared_ptr<rmw_request_id_t> srv_header,
59 carma_planning_msgs::srv::PlanManeuvers::Request::SharedPtr req,
60 carma_planning_msgs::srv::PlanManeuvers::Response::SharedPtr resp) = 0;
73 carma_ros2_utils::CallbackReturn
handle_on_configure(const rclcpp_lifecycle::State &) override final;
74 carma_ros2_utils::CallbackReturn
handle_on_activate(const rclcpp_lifecycle::State &) override final;
75 carma_ros2_utils::CallbackReturn
handle_on_deactivate(const rclcpp_lifecycle::State &) override final;
76 carma_ros2_utils::CallbackReturn
handle_on_cleanup(const rclcpp_lifecycle::State &) override final;
77 carma_ros2_utils::CallbackReturn
handle_on_shutdown(const rclcpp_lifecycle::State &) override final;
78 carma_ros2_utils::CallbackReturn
handle_on_error(const rclcpp_lifecycle::State &, const std::
string &exception_string) override final;
PluginBaseNode provides default functionality for all carma guidance plugins. This includes basic sta...
StrategicPlugin base class which can be extended by user provided plugins which wish to implement the...
carma_ros2_utils::CallbackReturn handle_on_error(const rclcpp_lifecycle::State &, const std::string &exception_string) override final
carma_ros2_utils::CallbackReturn handle_on_deactivate(const rclcpp_lifecycle::State &) override final
std::string get_capability() override
Get the capability string representing this plugins capabilities Method must be overriden by extendin...
carma_ros2_utils::CallbackReturn handle_on_configure(const rclcpp_lifecycle::State &) override final
carma_ros2_utils::CallbackReturn handle_on_cleanup(const rclcpp_lifecycle::State &) override final
carma_ros2_utils::CallbackReturn handle_on_activate(const rclcpp_lifecycle::State &) override final
StrategicPlugin(const rclcpp::NodeOptions &)
StrategicPlugin constructor.
virtual ~StrategicPlugin()=default
Virtual destructor for safe deletion.
carma_ros2_utils::ServicePtr< carma_planning_msgs::srv::PlanManeuvers > plan_maneuvers_service_
The service which will be called when a strategic plugin needs to plan maneuvers.
carma_ros2_utils::CallbackReturn handle_on_shutdown(const rclcpp_lifecycle::State &) override final
virtual void plan_maneuvers_callback(std::shared_ptr< rmw_request_id_t > srv_header, carma_planning_msgs::srv::PlanManeuvers::Request::SharedPtr req, carma_planning_msgs::srv::PlanManeuvers::Response::SharedPtr resp)=0
Extending class provided callback which should return a planned trajectory based on the provided traj...
uint8_t get_type() override final
Returns the type of this plugin according to the carma_planning_msgs::Plugin type enum....