Main Content

Hatchback

Hatchback vehicle dimensions

Description

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.

Hatchback shown from multiple views

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.

Dimensions

expand all

Top-down view of hatchback with the origin marked in blue at its center and its width dimensions shown. The width not including rear-view mirrors is 1.653 meters. The width including rear-view mirrors is 1.960 meters.

Side view of hatchback with the origin marked in blue beneath its center and its length and overhang dimensions shown. The rear overhang is 0.589 meters. The distance from the rear overhang to the origin is 1.343 meters. The distance from the origin to the front overhang is 1.104 meters. The front overhang is 0.828 meters. The tire radius is 0.306 meters.

Front view of hatchback with the origin marked in blue beneath its center and its front tire width and front axle dimensions shown. The front tire width is 0.213 meters. The front axle width is 1.406 meters.

Rear view of hatchback with the origin marked in blue beneath its center and its rear tire width, rear axle dimensions, and height shown. The rear tire width is 0.213 meters. The rear axle width is 1.406 meters. The height from the ground to the tire center is 0.227 meters. The height from the tire center to the top of the vehicle is 1.286 meters.

Sensor Mounting Locations

In the 3D simulation sensor blocks, use the Mounting location parameter to mount sensors at predefined locations on the vehicle. The table shows the X, Y, and Z positions of the mounting locations relative to the vehicle origin. These locations are in the vehicle coordinate system, where:

  • The X-axis points forward from the vehicle.

  • The Y-axis points to the left of the vehicle, as viewed when facing forward.

  • The Z-axis points up from the ground.

Hatchback — Sensor Locations Relative to Vehicle Origin

Mounting LocationX (m)Y (m)Z (m)
Front bumper1.9300.51
Rear bumper–1.9300.51

Right mirror

0.43–0.841.01

Left mirror

0.430.841.01

Rearview mirror

0.3201.27

Hood center

1.4401.01

Roof center

001.57

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 Unreal Engine 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, ...
    'FrontOverhang',frontOverhang,'RearOverhang',rearOverhang)
hatchbackDims = 
  vehicleDimensions with properties:

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