Main Content


Signal mapping and plot information for UAV log signal mapping

Since R2020b


signalTable = info(mapper,"Signal") generates a table of information for the Predefined Signals available and the signals mapped in the flight log signal mapping object. The table contains a list of signal names, field names, units, and whether the signal has a value function mapped to it (IsMapped column).

signalTable = info(mapper,"Signal",signalNames) generates the signal table for the specified signal names.

plotTable = info(mapper,"Plot") generates a table of information for the Predefined Plots and custom plots available in the flight log signal mapping object. The table contains plots names, required signals, missing signals, and whether the plot is ready to plot.

signalTable = info(mapper,"Plot",plotNames) generates the plot table for the specified plot names.

Input Arguments

collapse all

Flight log signal mapping object, specified as a flightLogSignalMapping object.

Signal names, specified as a string array.

Plot names, specified as a string array.

Output Arguments

collapse all

Table of available signals, returned as a table. This table includes preconfigured signals and any signals you added to the flight log signal mapping object using mapSignal. The table has these fields:

  • SignalName –– String scalar of the name of the signal.

  • IsMapped –– Logical indicating if the signal is properly mapped. To update signal mapping, see mapSignal.

  • SignalFields –– String scalar that lists the fields of the signal.

  • FieldUnits –– String scalar that lists the units of each field.

Table of available plots, returned as a table. This table includes preconfigured plots and any plots you added to the flight log signal mapping object using updatePlot. The table has these fields:

  • PlotName –– String scalar of the name of the plot.

  • ReadyToPlot –– Logical indicating if the plot is configured properly. To update the plot, see updatePlot.

  • MissingSignals –– String scalar that lists the signals that need to be mapped using mapSignal.

  • RequiredSignals –– String scalar that lists all required signals for a specific plot name.

More About

collapse all

Predefined Signals

A set of predefined signals and plots are configured in the flightLogSignalMapping object. Depending on your log file type, you can map specific signals to the provided signal names using mapSignal. You can also call info to view the table for your log type and see whether you have already mapped a signal to that plot type.

Specify the SignalName as the input to mapSignal. Signals with the format SignalName# support mapping multiple signals of the same type. Replace # with incremental integers for each signal name when calling mapSignal.

The predefined signals have specific names and required fields when mapping the signal.

Predefined Signals

Signal NameDescriptionFieldsUnits
Accel#Raw accelerometer reading from IMU sensor[ax ay az]m/s2
Airspeed#Airspeed reading of pressure differential, indicated air speed, and temperature[PressDiff, AirSpeed, Temp]Pa, m/s, ℃
AttitudeEulerAttitude of UAV in Euler (ZYX) form[Roll, Pitch, Yaw]radians
AttitudeRateAngular velocity along each body axis[xRotRate, yRotRate, zRotRate]rad/s
AttitudeTargetEulerTarget attitude of UAV in Euler (ZYX) form[TargetRoll, TargetPitch, TargetYaw]radians
Barometer#Barometer readings for absolute pressure, relative pressure, and temperature[PressAbs, PressAltitude, Temp]Pa, m, ℃
BatteryVoltage readings for battery and remaining battery capacity (%)[Volt1,Volt2, ... Volt16, RemainingCapacityV, %
GPS#GPS readings for latitude, longitude, altitude, ground speed, course angle, and number of satellites visible[lat, long, alt, groundspeed, courseAngle, satellites]degree, degree, m, m/s, degree, n/a
Gyro#Raw body angular velocity readings from IMU sensor[GyroX, GyroY, GyroZ]rad/s
LocalNEDLocal NED coordinates estimated by the UAV[xNED, yNED, zNED]meters
LocalNEDTargetTarget location in local NED coordinates[xTarget, yTarget, zTarget]meters
LocalNEDVelLocal NED velocity estimated by the UAV[vx vy vz]m/s
LocalNEDVelTargetTarget velocity in local NED coordinates[vxTarget, vyTarget, vzTarget]m/s
Mag#Raw magnetometer reading from IMU sensor[x y z]Gs

Predefined Plots

After mapping signals to the list of predefined signals using mapSignal, specific plots are made available when calling show. To view a list of available plots and their associated signals for your specific object, call info(mapper,"Plot"). If you want to define custom plots based on signals, use updatePlot.

Each predefined plot has a set of required signals that must be mapped.

Predefined Plots



Attitude lot with roll, pitch, yaw, and body rotation rates versus time for a specific flight log

Stacked plot of roll, pitch, yaw angles and body rotation ratesAttitudeEuler, AttitudeRate, Gyro#


Roll, pitch, yaw, and corresponding target values versus time for a specific flight log

Estimated attitude of UAV and the attitude target set pointAttitudeEuler, AttitudeTargetEuler


Battery consumption plotBattery


Yaw, MagX, MagY, and MagZ plots versus time of a sample flight log plot

Estimated yaw and magnetometer readingsAttitudeEuler, Mag#, GPS#


Lat-long plot using a sample GPS trajectory as lines in a map

Raw Lat-Lon plot for GPS sensor readings.GPS#


GPS and Barometer readings, and fused height plots versus time

Stacked plots of barometer reading, GPS altitude reading, and fused height estimateBarometer#, GPS#, LocalNED


Ground speed and air speed plots versus time

Stacked plot of ground velocity and air speedGPS#, Airspeed#


North East Up plot for a 3D trajectory in space

Trajectory in local coordinates versus target set pointsLocalNED, LocalNEDTarget


Difference between x, y, z versus time in a stacked plot

Error between desired and actual position in NED coordinatesLocalNED, LocalNEDTarget


Difference between vx, vy, vz versus time in a stacked plot

Error between desired and actual velocity in NED coordinatesLocalNEDVel, LocalNEDVelTarget

Version History

Introduced in R2020b