parse

Parses a MAVLink file into a list of legacy commands.

Any malformed command is simply ignored. If the given file is not properly formatted, this method returns an empty list.

Return

the legacy command list extracted from the file

Parameters

file

source file path