coverageConfig
Syntax
Description
Examples
Obtain Coverage Configuration
Create a radar sensor and a radar emitter.
radar = fusionRadarSensor(1,'Rotator');
emitter = radarEmitter(2);
Obtain coverage configurations based on sensor's position information.
cfg = coverageConfig({radar, emitter})
cfg=2×1 struct array with fields:
Index
LookAngle
FieldOfView
ScanLimits
Range
Position
Orientation
cfg2 = coverageConfig({radar, emitter},[1000 0 0 ; 0 1000 0])
cfg2=2×1 struct array with fields:
Index
LookAngle
FieldOfView
ScanLimits
Range
Position
Orientation
Input Arguments
sc
— Tracking scenario
trackingScenario
object
Tracking scenario, specified as a trackingScenario
object.
sensors
— Sensors or emitters
sensor or emitter object | N-element cell array of sensor or emitter object
Sensors or emitters, specified as a sensor or emitter object, or an
N-element cell array of sensor or emitter objects, where
N is the number of sensor or emitter objects. The applicable sensor
or emitter objects include fusionRadarSensor
, radarEmitter
,
sonarSensor
,
sonarEmitter
,
irSensor
, and
monostaticLidarSensor
.
positions
— Position of sensor or emitter's platform
N-by-3 matrix of scalar
Position of sensor or emitter's platform, specified as an N-by-3 matrix of scalars. The ith row of the matrix is the [x, y, z] Cartesian coordinates of the ith sensor or emitter's platform.
orientations
— Orientation of sensor or emitter's platform
N-by-1 vector of quaternion
Orientation of sensor or emitter's platform, specified as an N-by-1 vector of quaternions. The ith quaternion in the vector represents the rotation from the global or scenario frame to the ith sensor or emitter's platform frame.
Output Arguments
configs
— Sensor or emitter coverage configurations
N-element array of configuration structure
Sensor or emitter coverage configurations, returned as an
N-element array of configuration structures. N is
the number of sensor or emitter objects specified in the sensors
input. Each configuration structure contains seven fields:
Fields of configurations
Field | Description |
---|---|
Index | A unique integer to identify sensors or emitters. |
LookAngle | Current boresight angles of the sensor or emitter, returned as:
|
FieldOfView | Field of view of the sensor or emitter, returned as a two-element vector
[azimuth ; elevation ] in
degrees. |
ScanLimits | Minimum and maximum angles the sensor or emitter can scan from its
|
Range | Range of the beam and coverage area of the sensor or emitter in meters. |
Position | Origin position of the sensor or emitter, returned as a three-element
vector [X , Y ,
Z ]. |
Orientation | Rotation transformation from the scenario or global frame to the sensor
or emitter mounting frame, returned as a quaternion . |
You can use configs
to plot the sensor coverage in a theaterPlot
using its
plotCoverage
(Radar Toolbox) object function.
Note
The Index
field is returned as a positive integer if the input
is a sensor object, such as a fusionRadarSensor
object. The Index
field is returned
as negative integer if the input is an emitter object, such as a radarEmitter
object.
Version History
Introduced in R2020a
See Also
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)