Hatchback vehicle dimensions


Hatchback is one of the vehicles that you can use within the 3D simulation environment. This environment is rendered using the Unreal Engine® from Epic Games®. The diagram provides the dimensions of this vehicle. The height dimensions are with respect to the vertical ground plane. The length and width dimensions are with respect to the origin of the vehicle in the vehicle coordinate system. The origin is on the ground, at the geometric center of the vehicle. For more detailed views of these diagrams, see the Dimensions section.

To add this type of vehicle to the 3D simulation environment:

  1. Add a Simulation 3D Vehicle with Ground Following block to your Simulink® model.

  2. In the block, set the Type parameter to Hatchback.


expand all

Specify Hatchback 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 Hatchback 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.104;
centerToRear  = 1.343;
frontOverhang = 0.828;
rearOverhang  = 0.589;
vehicleWidth  = 1.653;
vehicleHeight = 1.513;
vehicleLength = centerToFront + centerToRear + frontOverhang + rearOverhang;

hatchbackDims = vehicleDimensions(vehicleLength,vehicleWidth,vehicleHeight, ...
hatchbackDims = 
  vehicleDimensions with properties:

           Length: 3.8640
            Width: 1.6530
           Height: 1.5130
        Wheelbase: 2.4470
     RearOverhang: 0.5890
    FrontOverhang: 0.8280
       WorldUnits: 'meters'