%% Specify Muscle Car Vehicle Dimensions
% When simulating a path planner in the 3D environment, the path planner must use a vehicle whose dimensions are consistent with one used in the 3D environment. To make these dimensions consistent, you can use a vehicleDimensions object.
% Specify the dimensions of a Muscle Car vehicle in a vehicleDimensions object. Units are in meters. For an example that uses this object in a path planner, see Visualize Automated Parking Valet Using 3D Simulation.

centerToFront = 1.491;
centerToRear  = 1.529;
frontOverhang = 0.983;
rearOverhang  = 0.945;
vehicleWidth  = 2.009;
vehicleHeight = 1.370;
vehicleLength = centerToFront + centerToRear + frontOverhang + rearOverhang;

muscleCarDims = vehicleDimensions(vehicleLength,vehicleWidth,vehicleHeight, ...
    'FrontOverhang',frontOverhang,'RearOverhang',rearOverhang)

% Copyright 2019 The MathWorks, Inc.
%