%% Generate Dependencies for Built-in Gazebo Message
% Create a folder in a local directory.

folderPath = fullfile(pwd,'customMessage');
mkdir(folderPath)
cd(folderPath)

% Use the gazebogenmsg function to generate dependencies for a built-in gazebo message in the specified folder.

gazebogenmsg(folderPath,"GazeboMessageList","gazebo.msgs.Image");

% Use the following commands to add and save the install path.
%     addpath(fullfile(folderPath,'install'))
%     savepath
% Create a Gazebo plugin package using the packageGazeboPlugin function.

packageGazeboPlugin

% Copyright 2020 The MathWorks, Inc.