Main Content

setup

Class: uav.SensorAdaptor
Namespace: uav

Set up custom sensor model

Since R2021a

Syntax

setup(sensorObj,scenario,platform)

Description

setup(sensorObj,scenario,platform) initializes the sensor model with information from the UAV scenario and platform that the sensor is attached to.

Input Arguments

expand all

UAV sensor object, specified as an object of a subclass of uav.SensorAdaptor.

UAV scenario, specified as a uavScenario object. This scenario contains the uavPlatform object platform, which also contains the sensor object sensorObj, which is a subclass of uav.SensorAdaptor.

UAV scenario, specified as a uavPlatform object. This platform contains the sensor object sensorObj, which is a subclass of uav.SensorAdaptor.

Version History

Introduced in R2021a