Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
|
#include <itm_service.hpp>
Public Member Functions | |
Servicer () | |
Construct a new Servicer object. More... | |
void | call (carma_planning_msgs::srv::PlanTrajectory::Request::SharedPtr req, carma_planning_msgs::srv::PlanTrajectory::Response::SharedPtr &resp) |
Method that uses the ros::Service::call() definition as specified in the ROS API. More... | |
void | set_client (carma_ros2_utils::ClientPtr< carma_planning_msgs::srv::PlanTrajectory > srv_client) |
set the trajectory service client More... | |
Public Member Functions inherited from CallInterface | |
virtual void | call (carma_planning_msgs::srv::PlanTrajectory::Request::SharedPtr req, carma_planning_msgs::srv::PlanTrajectory::Response::SharedPtr &resp)=0 |
virtual | ~CallInterface () |
virtual void | set_client (carma_ros2_utils::ClientPtr< carma_planning_msgs::srv::PlanTrajectory > srv_client)=0 |
set the trajectory service client More... | |
Private Attributes | |
carma_ros2_utils::ClientPtr< carma_planning_msgs::srv::PlanTrajectory > | client |
Definition at line 32 of file itm_service.hpp.
intersection_transit_maneuvering::Servicer::Servicer | ( | ) |
|
virtual |
Method that uses the ros::Service::call() definition as specified in the ROS API.
req | Incoming PlanTrajectory service request |
resp | Incoming PlanTrajectory service response |
Implements CallInterface.
Definition at line 35 of file itm_service.cpp.
References client.
|
virtual |
set the trajectory service client
client | input trajectory service client |
Implements CallInterface.
Definition at line 55 of file itm_service.cpp.
References client.
|
private |
Definition at line 58 of file itm_service.hpp.
Referenced by call(), and set_client().