This package contains a few strategies to create service clients.
The client recipe shows how to request data from a service with a blocking call.
The client_async recipe shows how to request data from a service with a non blocking call. The user has to check if a response has been received in the main loop
The client_async_member_function recipe is analog to client_async but sends the request inside a MinimalClient class
Serie: ROS 2
Aggiornato 2026-03-28
· 1 min di lettura
Minimal service client cookbook recipes
Il contenuto originale di questa pagina è in un'altra lingua.
Traduci automaticamente in italiano →
← Precedente
Minimal rclcpp wait-set cookbook recipes
Successivo →Minimal service server cookbook recipes
Articoli correlati
ROS 2
EN
Aggiornato 2026-03-28
resource index
package_resource_indexer ========================
Leggi l'articolo →
ROS 2
EN
Aggiornato 2026-03-28
ament_cmake_google_benchmark
This package contains logic for invoking Google Benchmark tests and is comprised of three main parts
Leggi l'articolo →
ROS 2
EN
Aggiornato 2026-03-28
usage
To use this package do the following things. add a test dependency to your packages.xml: <test_depend>ament_cmake_gtest</test_depend> Write a gtest executable: Use #include <gtest/gtest.h> and standard gtest methods. Fin
Leggi l'articolo →
ROS 2
EN
Aggiornato 2026-03-28
ament_cmake_python
This package adds functions for installing Python packages and modules in CMake.
Leggi l'articolo →
ROS 2
EN
Aggiornato 2026-03-28
ament_index_cpp Quality Declaration
This document is a declaration of software quality for the ament_index_cpp package, based on the guidelines in REP-2004.
Leggi l'articolo →
ROS 2
EN
Aggiornato 2026-03-28
ament_index_cpp
ament_index_cpp is a C++ API to access the ament resource index.
Leggi l'articolo →