ROS2 Learning
04 Service and client Directory Reference
Directory dependency graph for 04 Service and client:
CPP/04 Service and client

Files

file  client_node.cpp
 A basic ROS2 service client node that asks the user to input two strings and gets back a capitalized full string from the server service. It's necessary to use the custom message defined in the external package "Custom msg and srv".
 
file  client_node_class.cpp
 A basic ROS2 service client node with class implementation that asks the user to input twostrings and gets back a capitalized full string from the server service. It's necessary to use the custom message defined in the external package "Custom msg and srv".
 
file  service_node.cpp
 A basic ROS2 service server node that gets two strings as request and answer with a capitalized full string as response. It's necessary to use the custom message defined in the external package "Custom msg and srv" To call the service from a terminal use on a single line: ros2 service call /create_cap_full_name custom_srv_msg/srv/CapitalFullName "{name: x, surname: y}".
 
file  service_node_class.cpp
 A basic ROS2 service server node with class implementation that gets two strings as request and answer with a capitalized full string as response. It's necessary to use the custom message defined in the external package "Custom msg and srv" To call the service from a terminal use on a single line: ros2 service call /create_cap_full_name custom_srv_msg/srv/CapitalFullName "{name: x, surname: y}".