uavScenario
Description
The uavScenario
object generates a simulation scenario consisting
of static meshes, UAV platforms, and sensors in a 3-D environment.
Creation
scene = uavScenario
creates an empty UAV scenario with default
property values. The default inertial frames are the north-east-down (NED) and the
east-north-up (ENU) frames.
scene = uavScenario(
configures a
Name,Value
)uavScenario
object with properties using one or more
Name,Value
pair arguments. Name
is a property name
and Value
is the corresponding value. Name
must appear
inside quotes. You can specify several name-value pair arguments in any order as
Name1,Value1,...,NameN,ValueN
. Any unspecified properties take default
values.
Using this syntax, you can specify the UpdateRate
,
StopTime
, HistoryBufferSize
,
ReferenceLocation
, and MaxNumFrames
properties.
You cannot specify other properties of the uavScenario
object, which are
read-only.
Properties
Object Functions
setup | Prepare UAV scenario for simulation |
addCustomTerrain | Add custom terrain data |
addMesh | Add new static mesh to UAV scenario |
addInertialFrame | Define new inertial frame in UAV scenario |
advance | Advance UAV scenario simulation by one time step |
copy | Copy UAV scenario |
updateSensors | Update sensor readings in UAV scenario |
removeCustomTerrain | Remove custom terrain data |
restart | Reset simulation of UAV scenario |
show | Visualize UAV scenario in 2-D |
show3D | Visualize UAV scenario in 3-D |
terrainHeight | Returns terrain height in UAV scenarios |
targetPoses | Find positions, orientations, velocities, angular velocities, and accelerations of targets relative to ego UAV platform |
Examples
Version History
Introduced in R2020b