Main Content

readLoggedOutput

Read logged output messages from ArduPilot® log file

Since R2024a

Description

Tbl = readLoggedOutput(arduObj) reads all logged output from the specified ardupilotreader object and returns a timetable that contains logged output messages.

Tbl = readLoggedOutput(arduObj,Name=Value) reads specific logged output messages based on the specified name-value pairs.

Example: readLoggedOutput(arduObj,'Time'=[d1 d2])

Input Arguments

collapse all

ArduPilot dataflash log file reader, specified as a ardupilotreader object.

Name-Value Arguments

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: 'Time'=[d1 d2]

Time interval between which to select parameters, specified as a two-element vector of duration, or a double array. The duration array is specified in the 'hh:mm:ss.SSSSSS' format. The double array is specified in microseconds.

Example: 'Time'=[d1 d2]

Output Arguments

collapse all

Logged output messages, returned as a timetable with the columns:

  • TimeUS — Message timestamp

  • Message — Logged message

Version History

Introduced in R2024a