mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
autotest: default to mavlink10
This commit is contained in:
parent
8d28cb51fc
commit
6260437818
@ -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…
Reference in New Issue
Block a user