19#include <carma_planning_msgs/msg/plugin.hpp>
20#include <carma_ros2_utils/carma_lifecycle_node.hpp>
23#include <carma_planning_msgs/srv/plan_trajectory.hpp>
24#include <carma_planning_msgs/msg/lane_change_status.hpp>
25#include <carma_v2x_msgs/msg/mobility_response.hpp>
26#include <carma_v2x_msgs/msg/bsm.hpp>
28#include <carma_perception_msgs/msg/external_object_list.hpp>
56 std::shared_ptr<rmw_request_id_t> srv_header,
57 carma_planning_msgs::srv::PlanTrajectory::Request::SharedPtr req,
58 carma_planning_msgs::srv::PlanTrajectory::Response::SharedPtr resp)
override;
71 rclcpp_lifecycle::LifecyclePublisher<carma_v2x_msgs::msg::MobilityResponse>::SharedPtr
mob_resp_pub_;
72 rclcpp_lifecycle::LifecyclePublisher<carma_planning_msgs::msg::LaneChangeStatus>::SharedPtr
lc_status_pub_;
75 rclcpp::Subscription<carma_v2x_msgs::msg::MobilityRequest>::SharedPtr
mob_request_sub_;
76 rclcpp::Subscription<carma_v2x_msgs::msg::BSM>::SharedPtr
bsm_sub_;
TacticalPlugin base class which can be extended by user provided plugins which wish to implement the ...
ROS node for the YieldPlugin.
YieldPluginNode(const rclcpp::NodeOptions &)
Node constructor.
rclcpp_lifecycle::LifecyclePublisher< carma_planning_msgs::msg::LaneChangeStatus >::SharedPtr lc_status_pub_
rclcpp::Subscription< carma_v2x_msgs::msg::MobilityRequest >::SharedPtr mob_request_sub_
YieldPluginConfig config_
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) override
Extending class provided callback which should return a planned trajectory based on the provided traj...
rclcpp::Subscription< carma_v2x_msgs::msg::BSM >::SharedPtr bsm_sub_
std::shared_ptr< YieldPlugin > worker_
rclcpp::Subscription< carma_perception_msgs::msg::ExternalObjectList >::SharedPtr external_objects_sub_
std::string get_version_id() override final
Returns the version id of this plugin.
bool get_availability() override
Get the availability status of this plugin based on the current operating environment....
carma_ros2_utils::CallbackReturn on_configure_plugin()
Method which is triggered when this plugin is moved from the UNCONFIGURED to INACTIVE states....
rclcpp_lifecycle::LifecyclePublisher< carma_v2x_msgs::msg::MobilityResponse >::SharedPtr mob_resp_pub_
rclcpp::Subscription< std_msgs::msg::String >::SharedPtr georeference_sub_
Stuct containing the algorithm configuration values for the YieldPluginConfig.