Signal mapping and plot information for UAV log signal mapping
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
signalTable = info(
generates the signal table for the specified signal names.
signalTable = info(
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.
plotTable = info(
generates the plot table for the specified plot names.
signalTable = info(
mapper — Flight log signal mapping
Flight log signal mapping object, specified as a
signalNames — Signal names
Signal names, specified as a string array.
plotNames — Plot names
Plot names, specified as a string array.
signalTable — Table of available signals
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
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
SignalFields–– String scalar that lists the fields of the signal.
FieldUnits–– String scalar that lists the units of each field.
plotTable — Table of available plots
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
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
MissingSignals–– String scalar that lists the signals that need to be mapped using
RequiredSignals–– String scalar that lists all required signals for a specific plot name.
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
can also call
info to view the
table for your log type and see whether you have already mapped a signal to that plot
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
The predefined signals have specific names and required fields when mapping the signal.
|Raw magnetometer reading from IMU sensor||m/s2|
|Airspeed reading of pressure differential, indicated air speed, and temperature||Pa, m/s, ℃|
|Attitude of UAV in Euler (ZYX) form||radians|
|Angular velocity along each body axis||rad/s|
|Target attitude of UAV in Euler (ZYX) form||radians|
|Barometer readings for absolute pressure, relative pressure, and temperature||Pa, m, ℃|
|Voltage readings for battery and remaining battery capacity (%)||V, %|
|GPS readings for latitude, longitude, altitude, ground speed, course angle, and number of satellites visible||degree, degree, m, m/s, degree, n/a|
|Raw body angular velocity readings from IMU sensor||rad/s|
|Local NED coordinates estimated by the UAV||meters|
|Target location in local NED coordinates||meters|
|Local NED velocity estimated by the UAV||m/s|
|Target velocity in NED in local NED||m/s|
|Raw magnetometer reading from IMU sensor||Gs|
After mapping signals to the list of predefined signals using
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
Each predefined plot has a set of required signals that must be mapped.
|Stacked plot of roll, pitch, yaw angles and body rotation rates|
|Estimated attitude of UAV and the attitude target set point|
|Battery consumption plot|
|Estimated yaw and magnetometer readings|
|Raw Lat-Lon plot for GPS sensor readings.|
|Stacked plots of barometer reading, GPS altitude reading, and fused height estimate|
|Stacked plot of ground velocity and air speed|
|Trajectory in local coordinates versus target set points|
|Error between desired and actual position in NED coordinates|
|Error between desired and actual velocity in NED coordinates|
Introduced in R2020b