在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Georacer/ardupilog开源软件地址(OpenSource Url):https://github.com/Georacer/ardupilog开源编程语言(OpenSource Language):MATLAB 100.0%开源软件介绍(OpenSource Introduction):ardupilogAn Ardupilot log to MATLAB converter. Primarily intended to facilitate processing of logs under MATLAB environment. It is very efficient: The time required to parse large logs is in the order of seconds. Supported log formatsCurrently, only Dataflash logs (.bin files) are supported. UsageAdd the log = Ardupilog() will open a file browser, where you can select the log file you want to decode. Alternatively, the path can be passed directly as a string: log = Ardupilog('<path-to-log-string>') The variable struct Each
PlottingTo plot a specific numerical data field from a specific message, you can enter: log.plot('<msgName>/<fieldName>'); The full command allows for passnig a Matlab-style line style and an existing Axes Handle to plot in. Additionally, it always returns the Axes Handles it plots in: ah = log.plot('<msgName>/<fieldName>',<lineStyle>,<axesHandle>) For example, to plot the log.plot('AHR2/Pitch', 'r'); Message FilterYou can optionally filter the log file for specific message types: log_filtered = log.filterMsgs(<msgFilter>)
log_filtered = Ardupilog('<path-to-log', <msgFilter>)
SlicingTypically, only a small portion of the flight log is of interest. Ardupilog supports slicing logs to a specific start-end interval with: sliced_log = log.getSlice([<start_value>, <end_vlaue>], <slice_type>)
Example log_during_cruise = log.getSlice([t_begin_cruise, t_end_cruise], 'TimeS') Exporting to plain structTo parse and use the log = Ardupilog('<path-to-log>') requires the Creating a more basic struct file, free of the log_struct = log.getStruct();
Supported log versionsLogs from the following versions are been tested for Continuous Integration:
LICENSEThis work is distributed under the GNU GPLv3 license. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论