Main Content

Muscle Car

Muscle car vehicle dimensions

Description

Muscle Car 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 following 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 Muscle car.

Dimensions

expand all

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.

Muscle Car — Sensor Locations Relative to Vehicle Origin

Mounting LocationX (m)Y (m)Z (m)
Front bumper2.4700.45
Rear bumper–2.4700.45

Right mirror

0.43–1.081.01

Left mirror

0.431.081.01

Rearview mirror

0.3201.20

Hood center

1.2801.14

Roof center

–0.2501.58

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 Unreal Engine 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)
muscleCarDims = 
  vehicleDimensions with properties:

           Length: 4.9480
            Width: 2.0090
           Height: 1.3700
        Wheelbase: 3.0200
     RearOverhang: 0.9450
    FrontOverhang: 0.9830
       WorldUnits: 'meters'