% Clean up script for the Traffic Light Negotiation  with Unreal Engine
% Visualization
%
% This script cleans up the example model. It is triggered by the
% CloseFcn callback.
%
%   This is a helper script for example purposes and may be removed or
%   modified in the future.

%   Copyright 2020 The MathWorks, Inc.

clear actor_Profiles
clear assigThresh
clear BusActors1
clear BusVehiclePose
clear BusDetectionConcatenation1
clear BusDetectionConcatenation1Detections
clear BusDetectionConcatenation1DetectionsMeasurementParameters
clear BusLaneBoundaries1
clear BusLaneBoundaries1LaneBoundaries
clear BusLanes
clear BusLanesLaneBoundaries
clear BusMultiObjectTracker1
clear BusMultiObjectTracker1Tracks
clear BusRadar
clear BusRadarDetections
clear BusRadarDetectionsMeasurementParameters
clear BusRadarDetectionsObjectAttributes
clear BusVision
clear BusVisionDetections
clear BusVisionDetectionsMeasurementParameters
clear BusVisionDetectionsObjectAttributes
clear BusVehicleToWorldActors1
clear BusLaneCenterInfo
clear Cf
clear clusterSize
clear Cr
clear default_spacing
clear Iz
clear LaneSensor
clear LaneSensorBoundaries
clear lf
clear lr
clear m
clear M
clear max_ac
clear max_steer
clear min_ac
clear min_steer
clear N
clear numSensors
clear numTracks
clear posSelector
clear PredictionHorizon
clear scenario
clear tau
clear time_gap
clear Ts
clear v0_ego
clear setVelocity
clear egoVehDyn
clear driver_decel
clear FB_decel
clear headwayOffset
clear PB1_decel
clear PB2_decel
clear timeMargin
clear timeToReact
clear max_dc
clear hFigure
clear tau2
clear referencePathInfo
clear referencePathSwitchThreshold
clear ReferencePathInfo
clear waypointsSize
clear refpathSize
clear intersectionInfo
clear hFigResults
clear vehSim3D
clear trafficLightConfig
clear xlimit
clear ylimit

