Main Content

readParameters

Read parameter values from ArduPilot® log file

Since R2024a

Description

Tbl = readParameters(arduObj) reads all parameters from the specified ardupilotreader object and returns a timetable that contains parameter name and value.

Tbl = readParameters(arduObj,Name=Value) reads specific parameters based on the specified name-value pairs.

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

Parameter information, returned as a timetable with the columns:

  • TimeUS — Parameter timestamp

  • Name — Parameter name

  • Value — Parameter value

Version History

Introduced in R2024a