nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
Loading...
Searching...
No Matches
Files
service

Service servers and clients (rclcpp::Service<S>, rclcpp::Client<S>). More...

Files

file  client.hpp
 rclcpp::Client<S> — the arena-registered (callback-style) service client, and Client<S>::SharedPtr = rclcpp::ClientHandle<S>.
 
file  service.hpp
 rclcpp::Service<S> — the arena-registered (callback-style) service server, and Service<S>::SharedPtr = rclcpp::ServiceHandle<S>.
 

Detailed Description

Service servers and clients (rclcpp::Service<S>, rclcpp::Client<S>).

S is a generated service type that exposes nested Request and Response types. Servers dispatch via the executor; clients return a rclcpp::Future<typename S::Response> from async_send_request.

See also
action for long-running calls with feedback / cancel
executor for callback-driven service dispatch