function [mapName, relativePathToMapFile, found] = getBlockHelpMapNameAndPath(block_type)
%This function is for internal use only. It may be removed in the future.

% Returns the mapName and the relative path to the maps file for this
% block_type

% Copyright 2017-2022 The MathWorks, Inc.
    
blks = {...
    'multiObjectTracker'            'driving_multi_object_tracker_block'        ;...
    'visionDetectionGenerator'      'driving_vision_detection_generator_block'  ;...
    'radarDetectionGenerator'       'driving_radar_detection_generator_block'   ;...
    'drivingRadarDataGenerator'     'driving_radar_data_generator_block';...
    'lidarPointCloudGenerator'      'drivingLidarPointCloudGenerator';...
    'matlabshared.tracking.internal.DetectionConcatenation' 'driving_detection_concatenation_block'     ;...
    'lateralControllerStanley'      'LateralController'; ...
    'longitudinalControllerStanley' 'LongitudinalController'; ...
    'driving.internal.planning.PathSmootherSpline' 'PathSmootherSpline';...
    'driving.internal.planning.VelocityProfiler' 'VelocityProfiler';...
    'driving.scenario.internal.ScenarioReader', 'drivingScenarioReader';...
    'driving.scenario.internal.VehicleToWorld', 'drivingVehicleToWorld';...
    'driving.scenario.internal.WorldToVehicle', 'drivingWorldToVehicle';...
    'driving.scenario.internal.CuboidTo3DSimulation', 'drivingCuboidToSimulation3D';...
    'RoadRunnerScenario', 'roadrunnerscenario';...
    'RoadRunnerScenarioReader', 'roadrunnerscenarioreader';...
    'RoadRunnerScenarioWriter', 'roadrunnerscenariowriter';
    'ultrasonicDetectionGenerator', 'ultrasonic_detection_generator_block';...
};

relativePathToMapFile = '/driving/helptargets.map';

% See whether or not the block is an Automated Driving Toolbox block
idx = strcmp(block_type, blks(:,1));

if ~any(idx)
    found = false;
    mapName = 'User Defined';
else
    found = true;
    mapName = blks(idx,2);
end

