Small Pickup Truck
Small pickup truck vehicle dimensions
Description
Small Pickup Truckis one of the vehicles that you can use within the 3D simulation environment. This environment is rendered using the Unreal Engine®from Epic Games®。下图提供的尺寸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 theDimensionssection.
To add this type of vehicle to the 3D simulation environment:
Add aSimulation 3D Vehicle with Ground Followingblock to your Simulink®model.
In the block, set theTypeparameter to
Small pickup truck
。
Dimensions
Sensor Mounting Locations
In the 3D simulation sensor blocks, use theMounting locationparameter to mount sensors at predefined locations on the vehicle. The table shows theX,Y, andZpositions of the mounting locations relative to the vehicle origin. These locations are in the vehicle coordinate system, where:
TheX-axis points forward from the vehicle.
TheY-axis points to the left of the vehicle, as viewed when facing forward.
TheZ-axis points up from the ground.
Small Pickup Truck — Sensor Locations Relative to Vehicle Origin
Mounting Location | X (m) | Y (m) | Z (m) |
---|---|---|---|
Front bumper |
3.07 | 0 | 0.51 |
Rear bumper |
–3.07 | 0 | 0.51 |
|
1.10 | –1.13 | 1.52 |
|
1.10 | 1.13 | 1.52 |
|
0.85 | 0 | 1.77 |
|
2.22 | 0 | 1.59 |
|
0 | 0 | 2.27 |
Specify Small Pickup Truck 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 avehicleDimensions
object.
Specify the dimensions of a Small Pickup Truck vehicle in avehicleDimensions
object. Units are in meters. For an example that uses this object in a path planner, seeVisualize Automated Parking Valet Using Unreal Engine 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'