%% Retrieve ROS Node Information
% Connect to the ROS network. Specify the IP address for your specific network.
%

rosinit('192.168.17.128')

%
% Get information on the '/robot_state_publisher' node. This node is available on the ROS master.

nodeinfo = rosnode('info','/robot_state_publisher')

%
% Shut down the ROS network.

rosshutdown

% Copyright 2019 The MathWorks, Inc.