Main Content

Flight Log Analyzer

分析无人机自动驾驶飞行日志

Description

Flight Log Analyzerapp enables you to load and analyze UAV autopilot flight log data, as well as create a customized series of plots.

使用这个应用程序:

点击New Sessionto create a new session.

you can open saved app sessions by clicking开放会议

您可以将进度保存到垫子(。mat) by clicking保存会话

To load a ULOG file (。ulg) or MAT-file containing aulogreader对象,选择进口>From ULOG

To load a TLOG file (.tlog) or MAT-file containing amavlinktlog对象,选择进口>来自tlog

Select进口>从工作区to load aulogreaderobject,mavlinktlog对象或自定义日志数据和flightLogSignalMappingobject from the workspace.

点击添加图to add a new figure for plotting.

you can add one or more predefined or custom plots to a figure from the plot gallery. To see all available plots in the plot gallery, click the down arrow on the right side of the gallery.

预定义图

  • 态度- 添加了滚动,音高,偏航角以及身体旋转速率的图

  • IMU— Adds plots for an accelerometer and gyroscope

  • 弹道— Adds a 3-D plot for the UAV trajectory and reference trajectory

  • Velocity— Adds plots for velocity in theX- ,,y-, 和z-directions, as well as groundspeed and airspeed

  • Compass— Adds plots for a magnetometer, estimated yaw, and course angle

  • Height-增加GPS的阴谋,一个晴雨表,估计altitude

自定义图

  • 时间序列- 添加了时间剧集数据的空白图

  • Xy— Adds a blank plot for 2-D data

  • xyz— Adds a blank plot for 3-D data

您可以通过单击删除所选的图或绘图删除

点击地图视图to view or hide the satellite image map with logged GPS data.

笔记

这app requires internet access to retrieve satellite imagery.

SelectExport>Export Figureto export the currently selected figure as a。图file.

SelectExport>Export Signalto export the signals as timetable to the MATLAB®workspace or a MAT-file (。mat)。

打开飞行日志分析仪应用程序

  • MATLAB工具条:在Apps标签,下Control System Design and Analysis,,,,点击Flight Log Analyzer

  • MATLAB命令提示:输入Flightloganalyzer

Examples

expand all

使用Flight Log Analyzer应用程序从ULOG文件加载和分析UAV Autopilot飞行日志数据。

打开飞行日志分析仪应用程序

在里面Apps标签,下Control System Design and Analysis,点击Flight Log Analyzer

Alternatively, you can use theFlightloganalyzerMATLAB命令提示符的功能:

Flightloganalyzer

进口a ULOG File

Select进口>From ULOG从ULOG加载UAV飞行日志数据(。ulg) file.

进口ULOG file

默认情况下,该应用显示带有已记录GPS数据的卫星图和飞行模式作为表。飞行模式以及相应的开始和结束时间在飞行模式窗格。

带有记录的GPS数据和飞行模式表的卫星图

创建数字和图

  1. 要创建一个用于绘图的新图形,请单击添加图。该应用在绘图窗格中添加一个空的图。

    创建图形

    您可以使用此过程继续添加其他数字。

  2. 该应用在列表中添加了与新图相对应的图形项Figures窗格。Select the check box to the left of the listed figure item to show all plots in the figure. Clear the check box to hide them.

  3. 要重命名数字,请在该图中选择关联的图表Figurespane, click theNamebox in theDetailspane, and type a new name.

  4. To delete a figure, select the figure item in theFigurespane and click删除在应用程序工具条上。删除图将删除图中的所有图。

Creating a figure enables the plot gallery. You can add one or more predefined plots or custom plots to a figure from the plot gallery.

添加预定义的图

  1. 要在图中添加预定义的图,请从绘图库中选择六个预定义的地块之一。

    预定义的情节库

  2. For example, click态度to add plots for rotation angles and rotation rates to the figure.

    态度情节

    you can continue adding additional plots to a figure using this process.

  3. 该应用添加了与关联图中的新图相对应的绘图项Figures窗格。Select the check box to the left of the listed plot item to show the plot in the figure. Clear the check box to hide the plot.

  4. 要重命名图,请在该图中选择关联的情节项Figurespane, click theNamebox in theDetailspane, and type a new name.

  5. Select the展示传奇check box in theDetails窗格在情节上展示传奇。清除复选框以隐藏传奇。

  6. To rename the axis labels, double-click on the predefined labels and type a new name.

  7. To delete a plot, select the plot item in theFigurespane and click删除在应用程序工具条上。

编辑绘图信号

  1. 信号pane displays the signals in the selected plot as a table. TheSignal Namecolumn contains the names of the signals. The subsequent columns each contain the data associated with that signal for a specific axis.

  2. Select the check box in front of a signal item to show that signal in the plot, and clear the check box to hide the signal. The color around the check box is the color of the signal in the plot.

  3. To add a new signal to the selected plot, clickAdd Signal

    Signal pane

    要重命名信号,请双击信号Signal Namecolumn and type a new name.

  4. To add or update the signal data, double-click the data field for the desired signal in the corresponding column to enable theSignal Browser窗格。从可用的信号中选择。

  5. Select one of the signals from theSignal Browserpane and clickUpdate

    信号浏览器窗格

  6. 要删除信号,请从该信号中选择一个信号信号pane and click删除Signal

使用Panner更改情节焦点

  1. 对于时间表,请使用Pannerto focus on data segments in theX- 轴范围。这Panner是主要情节下方的带状图。要专注于主图的一部分,请将红色和蓝色手柄分别拖到所需数据段的开始和终端位置。

    Panner Pane

  2. you can also move the handles by typing new values in the剩下and正确的boxes, beneath the strip plot. To reset the handles to their default values, clickReset Limits

  3. 在科罗拉多州r next to each flight mode in the飞行模式pane represents that flight mode in the color bar under the strip plot in thePanner窗格。

添加自定义图

  1. 要在图中添加自定义图,请从绘图库中选择三个自定义图之一。您可以将新图添加到先前创建的图形或新图形中。

    Custom plot gallery

  2. For example, clickxyz为3-D数据添加空白图。

    Custom XYZ plot

  3. 要向图中添加信号,请单击Add Signalin the信号窗格。

  4. 要重命名信号,请双击信号Signal Namecolumn and type a new name.

  5. To add signal data to theX轴,,,,y-Axis, 和z轴列,双击相应列中所需信号的数据字段,以启用Signal Browser窗格。从可用的信号中选择。

  6. 例如,在当地的东北部(ENU)笛卡尔坐标中创建轨迹图:

    1. 双击X轴所需信号的数据字段,找到localenusignal group in theSignal Browser窗格。

    2. 扩展组并选择信号X

    3. 点击Updateto update the signal withX轴数据。

    4. Repeat these steps to update they-Axisandz轴fields withyandzdata, respectively, to create a 3-D trajectory plot.

    Custom 3-D trajectory plot

Export Figure

  1. SelectExport>Export Figureto export the current figure to a。图file.

    Export

  2. 在当前图中选择一个或多个图以进行导出,指定一个文件名。图文件,然后单击浏览到选择目标文件夹。点击Export将选定的图导出到。图file. The app opens a figure containing the selected plots in a new figure window.

    Export Figure

  3. 要导出每个图作为单个图形,请选择Export each plot as individual figure。指定文件名。图files, and click浏览到选择目标文件夹。点击Exportto export the selected plots as individual。图files. The app adds the plot names as the suffixes of the specified file name prefix for the exported。图files. The app opens each exported plot in individual figure window.

Export Signal

  1. SelectExport>Export Signalto export the signals as a timetable to the MATLAB workspace or a MAT file (。mat)。

  2. 选择要导出的信号。要将它们导出到垫子文件中,请选择To MAT-fileand specify a file name for the MAT file. To select a destination folder for the MAT file, click浏览and navigate to the folder to which you want to export.

    Export signal

  3. To export the signals to the MATLAB workspace, select到Matlab工作区并指定输出工作区变量的名称。

保存和开放会议

您可以保存Flight Log Analyzerapp session by clicking保存会话。该应用将应用程序的当前状态写入。matfile that you can load by clicking开放会议

相关示例

程序化使用

expand all

Flightloganalyzeropens theFlight Log Analyzerapp, which enables you to analyze UAV autopilot flight logs.

更多关于

expand all

版本历史记录

在R2020b中引入