uavScenario
Generate UAV simulation scenario
Description
The uavScenario object generates a UAV simulation scenario. Use
the addMesh object
function to add static meshes to the scene to represent buildings, terrain, and other
obstacles. To add a UAV platform to the scene, use the uavPlatform object. To
attach a sensor to the UAV platform, use the uavSensor
object.
Creation
Description
scene = uavScenario creates an empty UAV scenario with default
property values.
scene = uavScenario( sets
writable properties using one or more name-value arguments. For example,
Name=Value)StopTime=20 generates a UAV scenario that stops simulating after 20
seconds.
Name-Value Arguments
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


