Main Content

readParameters

R2026b

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,Time=time) reads specific parameters in the time interval specified by time.

Example: readParameters(ardReader,Time=[d1 d2])

Input Arguments

collapse all

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

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: readParameters(ardReader,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