Browse Source

autotest: default to mavlink10

mission-4.1.18
Andrew Tridgell 13 years ago
parent
commit
076d1616ba
  1. 4
      Tools/autotest/autotest.py

4
Tools/autotest/autotest.py

@ -103,11 +103,11 @@ parser.add_option("--skip", type='string', default='', help='list of steps to sk @@ -103,11 +103,11 @@ parser.add_option("--skip", type='string', default='', help='list of steps to sk
parser.add_option("--list", action='store_true', default=False, help='list the available steps')
parser.add_option("--viewerip", default=None, help='IP address to send MAVLink and fg packets to')
parser.add_option("--experimental", default=False, action='store_true', help='enable experimental tests')
parser.add_option("--mav10", action='store_true', default=False, help="Use MAVLink protocol 1.0")
parser.add_option("--mav09", action='store_true', default=False, help="Use MAVLink protocol 0.9")
opts, args = parser.parse_args()
if opts.mav10 or os.getenv('MAVLINK10'):
if not opts.mav09:
os.environ['MAVLINK10'] = '1'
import mavlinkv10 as mavlink
else:

Loading…
Cancel
Save