%% Call Service Client with Default Message
%
% Connect to a ROS network.

rosinit

%
% Set up a service server and client.

server = rossvcserver('/test', 'std_srvs/Empty', @exampleHelperROSEmptyCallback);
client = rossvcclient('/test');

%
% Call service server with default message.

response = call(client)

%
% Shut down the ROS network.

rosshutdown

% Copyright 2019 The MathWorks, Inc.