Small pickup truck vehicle dimensions
Small Pickup Truck 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:
Add a Simulation 3D Vehicle with Ground Following block to your Simulink® model.
In this block, set the Type parameter to
Small pickup truck.
Top-down view— Vehicle width dimensions
Side view— Vehicle length, front overhang, and rear overhang dimensions
Front view— Tire width and front axle dimensions
Rear view— Vehicle height and rear axle 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
Specify the dimensions of a Small Pickup Truck 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.947; centerToRear = 1.750; frontOverhang = 1.124; rearOverhang = 1.321; vehicleWidth = 2.073; vehicleHeight = 1.990; vehicleLength = centerToFront + centerToRear + frontOverhang + rearOverhang; smallPickupTruckDims = vehicleDimensions(vehicleLength,vehicleWidth,vehicleHeight, ... 'FrontOverhang',frontOverhang,'RearOverhang',rearOverhang)
smallPickupTruckDims = vehicleDimensions with properties: Length: 6.1420 Width: 2.0730 Height: 1.9900 Wheelbase: 3.6970 RearOverhang: 1.3210 FrontOverhang: 1.1240 WorldUnits: 'meters'