%% Get Information About ROS Actions
% Get information about ROS actions that are available from the ROS network. You must be connected to a ROS network using rosinit.
% Action types must be set up beforehand with a ROS action server running on the network. You must have the set up '/fibonacci' action type. To run this action server, use the following command on the ROS system:
% rosrun actionlib_tutorials fibonacci_server
% Connect to a ROS network. You must be connected to a ROS network to gather information about what actions are available. Replace ipaddress with your network address.

ipaddress = '192.168.17.129';
rosinit(ipaddress,11311)

%
% List the actions available on the network. The only action set up on this network is the '/fibonacci' action.

rosaction list

%
% Get information about a specific ROS action type. The action type, message types, action server, and clients are displayed.

rosaction info /fibonacci

%
% Disconnect from the ROS network.

rosshutdown

%
% Copyright 2019 The MathWorks, Inc.