19#include <rclcpp/rclcpp.hpp>
20#include <carma_planning_msgs/srv/plan_trajectory.hpp>
58 std::shared_ptr<rmw_request_id_t> srv_header,
59 carma_planning_msgs::srv::PlanTrajectory::Request::SharedPtr req,
60 carma_planning_msgs::srv::PlanTrajectory::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...
TacticalPlugin base class which can be extended by user provided plugins which wish to implement the ...
carma_ros2_utils::CallbackReturn handle_on_deactivate(const rclcpp_lifecycle::State &) override final
uint8_t get_type() override final
Returns the type of this plugin according to the carma_planning_msgs::Plugin type enum....
carma_ros2_utils::ServicePtr< carma_planning_msgs::srv::PlanTrajectory > plan_trajectory_service_
The ros service which can be called by the arbitrator or other plugins to have this plugin generate a...
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_cleanup(const rclcpp_lifecycle::State &) override final
carma_ros2_utils::CallbackReturn handle_on_shutdown(const rclcpp_lifecycle::State &) override final
carma_ros2_utils::CallbackReturn handle_on_activate(const rclcpp_lifecycle::State &) override final
carma_ros2_utils::CallbackReturn handle_on_configure(const rclcpp_lifecycle::State &) override final
virtual ~TacticalPlugin()=default
Virtual destructor for safe deletion.
virtual void plan_trajectory_callback(std::shared_ptr< rmw_request_id_t > srv_header, carma_planning_msgs::srv::PlanTrajectory::Request::SharedPtr req, carma_planning_msgs::srv::PlanTrajectory::Response::SharedPtr resp)=0
Extending class provided callback which should return a planned trajectory based on the provided traj...
carma_ros2_utils::CallbackReturn handle_on_error(const rclcpp_lifecycle::State &, const std::string &exception_string) override final
TacticalPlugin(const rclcpp::NodeOptions &)
TacticalPlugin constructor.