Command Line Reference

The tool outputs a brief command line summary when you enter dronekit-la or dronekit-la -h on a command prompt.

Command Syntax

dronekit-la [OPTIONS] [FILE LIST]

Multiple options can be specified.

One or more files can be specified in the list and you can also specify a wildcard character (*) to select multiple files.

Options

-c FILEPATH

Specify path to a config file for specifying fail/warning trigger levels. See Use a config file.

-m MODELTYPE

Specify vehicle type/model as one of: copter | plane | rover.

This overrides any existing setting in the log. This argument should be set if the Vehicle Definition test fails. For more information see Specifying frame and model type.

-f FRAME

Set vehicle frame type as one of: QUAD | Y6.

This overrides any existing setting in the log. This argument may be required if the Vehicle Definition test fails. For more information see Specifying frame and model type.

-s STYLE

Specify output format/style as one of: plain-text | json | brief. The default value is json.

For more information see Interpreting the output.

-h

Display help/usage information.

-l

List analyzers.

For more information see: Selecting analyzers.

-a

Specify analyzers to run in a comma-separated list.

dronekit-la -a "Ever Flew, Battery" 1.solo.tlog

For more information see: Selecting analyzers.

-i FORMAT

Specify log format as one of: tlog | df | log.

Tip

This is generally not required as DroneKit-LA will infer the log type from the log file extension. It is needed if you are analyzing a file input from STDIN.

-p

Pure output.

This option removes deprecated fields from the output. Use this to verify that you don’t have a dependency on output fields that will be removed in a future version.

-V

Display version information.

-

Analyze input from STDIN.

When using input from STDIN you will also need to specify the log type with the -i flag:

dronekit-la -i tlog -

For more information see: Taking input from STDIN.