3 compare two MAVLink parameter files 6 from pymavlink
import mavparm
8 from argparse
import ArgumentParser
9 parser = ArgumentParser(description=__doc__)
10 parser.add_argument(
"file1", metavar=
"FILE1")
11 parser.add_argument(
"file2", metavar=
"FILE2")
12 parser.add_argument(
"--full-diff",
13 help=
"include volatile and similar parameters",
17 args = parser.parse_args()
24 p1.load(file2, use_excludes=args.use_excludes)
25 p1.diff(file1, use_excludes=args.use_excludes)