주요 콘텐츠

Aero.trajectory.parallelSweepTrajectory

R2026b

Generate reference signals for parallel sweep search trajectory

Since R2026a

Description

refSignals = Aero.trajectory.parallelSweepTrajectory(Name=Value) generates reference signals for a parallel sweep search trajectory. Use name-value arguments to define the search pattern. For more information, see Algorithms.

example

Examples

collapse all

This example shows how to generate reference signals for a parallel sweep trajectory.

refSignals = Aero.trajectory.parallelSweepTrajectory(InitialPosition = [0, 0], ...
Speed = 100,DatumPoint = [10, 10],FieldLength = 5000, ...
FieldWidth = 2000,TrackSpacing = 1000,Bearing = pi/4, ...
Altitude = 5000,OutputFormat = 'timetable')
refSignals = 3×7 timetable
         timestamps         WaypointIndex    xNorth(m)    yEast(m)    Speed(m/s)    Altitude(m)    Heading(rad)    FlightPathAngle(rad)
    ____________________    _____________    _________    ________    __________    ___________    ____________    ____________________

    06-Jul-2026 10:48:16          1                 0           0        100              0           3.6803               0.01        
    06-Jul-2026 10:49:10          2           -1757.8     -1050.7        100           5000           0.7854               0.01        
    06-Jul-2026 10:49:50          3            1070.7      1777.8        100           5000           0.7854               0.01        

	Get insights using Copilot

Name-Value Arguments

collapse all

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: InitialPosition = [0,0]

Initial position of trajectory, specified as a 1-by-2 or 2-by-1 vector in the units specified in Units.

Example: InitialPosition = [0,0]

Data Types: double

Speed of trajectory, specified as a finite real double scalar in the units specified in Units.

Example: Speed = 10

Data Types: double

Altitude of the vehicle trajectory, specified as a finite real scalar double in the units specified in Units. This value is constant throughout the vehicle path.

Example: Altitude = 10

Data Types: double

Initial heading of trajectory, specified as a finite real double scalar between 0 and 2*pi, in radians. Specify one each of InitialHeading and FinalHeading.

Example: InitialHeading = pi

Data Types: double

Output format of reference signals data, specified as a timeseries or timetable object.

Example: OutputFormat = timeseries

Input and output units, specified as one of these values.

Units

Position

Altitude

Speed

Metric (MKS)

Meters

Meters

Meters per second

English (Velocity in ft/s)

Feet

Feet

Feet per second

English (Velocity in kts)

Nautical miles

Feet

Knots

Example: Units = 'Metric (MKS)'

Initial time of trajectory operation, specified as a datetime object.

Example: StartTime = datetime('now')

Bearing, specified as a finite real scalar double between 0 and 2*pi.

Example: Bearing = pi/4

Data Types: double

Field center, specified as a 1-by-2 or 2-by-1 vector of finite real doubles in the units specified in Units.

Data Types: double

Field length, specified as a scalar.

Example: FieldLength = 12

Data Types: double

Field width, specified as a positive scalar in the units specified in Units.

Example: FieldWidth = 12

Data Types: double

Initial altitude of trajectory, specified as a scalar in the units specified in Units.

Example: InitialAltitude = 10

Data Types: double

Prior trajectory tracking data, specified as a timeseries or timetable object. These objects must contain these fields:

  • Altitude

  • Heading

  • Speed

  • WaypointIndex

  • xNorth

  • yEast

  • LateralAcceleraion/Turnrate

Spacing between tracks, specified as a scalar.

Example: TrackSpacing = 10

Data Types: double

Vertical velocity component of vehicle during ascent, specified as a finite real double scalar less than the vehicle speed in the units specified in Units.

Example: ClimbRate = 10

Data Types: double

Vertical velocity component of vehicle during ascent, specified as a finite real double scalar less than the vehicle speed in the units specified in Units.

Example: DescentRate = 10

Data Types: double

Coordinates that define vertices of polygonal no-fly zone, specified as a N-by-2 numeric array, where N is equal to or greater than 3. Each row of the array contains an [x, y] boundary point. The function computes a closed polygon from the supplied points and uses it to detect and avoid restricted airspace.

Example: DescentRate = 10

Data Types: double

Maximum altitude of the no-fly zone, specified as a scalar numeric. You use this value with the NFZ boundary to determine whether obstacle avoidance is required. If the aircraft altitude is above the specified no-fly-zone altitude bound, the aircraft is permitted to pass through the NFZ without rerouting.

Example: DescentRate = 10

Data Types: double

Datum point is a positional coordinate, specified as a 1-by-2 or 2-by-1 vector in the range finite real double, in the units specified in Units.

Example: DatumPoint = [10, 10]

Data Types: double

Output Arguments

collapse all

Trajectory reference signals, returned as a timeseries struct or timetable object.

Algorithms

Use Aero.trajectory.parallelSweepTrajectory to define the parameters of a parallel sweep trajectory, where S is specified by TrackSpacing.

Version History

Introduced in R2026a

expand all