%% Connect Lidar Display to Ground Truth Labeler
% Connect a lidar display tool to the *Ground Truth Labeler* app. Use the
% app and tool to display synchronized lidar and video data.
%%
% Specify the name of a video signal to load into the app.
signalName = '01_city_c2s_fcw_10s.mp4';
%%
% Add the path to the function handle for the lidar display tool.
path = fullfile(toolboxdir('driving'),'drivingdemos');
addpath(path)
%%
% Connect the lidar display to the app.
groundTruthLabeler(signalName,'ConnectorTargetHandle',@LidarDisplay);
%%
% After the app loads the video and lidar display tool, remove the path to
% the function handle.
rmpath(path)
%% 
% Copyright 2017 The MathWorks, Inc.