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
系列: ROS 2
更新于 2026-03-28
· 1 分钟阅读
Minimal service client cookbook recipes
相关文章
ROS 2
更新于 2026-03-28
registerpackageresource<packagename <resourcetype CONTENT <content
packageresourceindexer ========================
阅读文章 →
ROS 2
更新于 2026-03-28
ament\cmake\google\benchmark
This package contains logic for invoking Google Benchmarkhttps://github.com/google/benchmarkreadme tests and is comprised of three main parts:
阅读文章 →
ROS 2
更新于 2026-03-28
usage
To use this package do the following things. add a test dependency to your packages.xml: <testdependamentcmakegtest</testdepend Write a gtest executable: Use include <gtest/gtest.h and standard gtest methods. Find packag
阅读文章 →
ROS 2
更新于 2026-03-28
amentcmakepython
This package adds functions for installing Python packages and modules in CMake.
阅读文章 →
ROS 2
更新于 2026-03-28
amentindexcpp Quality Declaration
This document is a declaration of software quality for the amentindexcpp package, based on the guidelines in REP2004https://www.ros.org/reps/rep2004.html.
阅读文章 →
ROS 2
更新于 2026-03-28
amentindexcpp
amentindexcpp is a C++ API to access the ament resource index.
阅读文章 →