From 76bb081d60f16d84bc6b6080b2b73d8d8f025c5b Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Tue, 21 Feb 2017 18:32:26 +0100 Subject: [PATCH] Tools: autotest: add python headers to scripts Tools: arduplane.py add python header Tools: apmrover2.py add python header Tools: arducopter.py add python header Tools: ardusub.py add python header Tools: quadplane.py add python header --- Tools/autotest/apmrover2.py | 4 +++- Tools/autotest/arducopter.py | 11 +++-------- Tools/autotest/arduplane.py | 2 ++ Tools/autotest/ardusub.py | 4 +++- Tools/autotest/quadplane.py | 4 +++- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/Tools/autotest/apmrover2.py b/Tools/autotest/apmrover2.py index 9693dda9b0..10550f49d3 100644 --- a/Tools/autotest/apmrover2.py +++ b/Tools/autotest/apmrover2.py @@ -1,4 +1,6 @@ -# drive APMrover2 in SITL +#!/usr/bin/env python + +# Drive APMrover2 in SITL from __future__ import print_function import os import shutil diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 8afd973748..1cd2950763 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -1,11 +1,6 @@ -# fly ArduCopter in SITL -# Flight mode switch positions are set-up in arducopter.param to be -# switch 1 = Circle -# switch 2 = Land -# switch 3 = RTL -# switch 4 = Auto -# switch 5 = Loiter -# switch 6 = Stabilize +#!/usr/bin/env python + +# Fly ArduCopter in SITL from __future__ import print_function import math import os diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index d7502b493a..f809a369c0 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + # Fly ArduPlane in SITL from __future__ import print_function import math diff --git a/Tools/autotest/ardusub.py b/Tools/autotest/ardusub.py index a80a485ace..2107d8b40e 100644 --- a/Tools/autotest/ardusub.py +++ b/Tools/autotest/ardusub.py @@ -1,4 +1,6 @@ -# drive APMrover2 in SITL +#!/usr/bin/env python + +# Dive ArduSub in SITL from __future__ import print_function import os import shutil diff --git a/Tools/autotest/quadplane.py b/Tools/autotest/quadplane.py index e53b243d8d..818ff65e6f 100644 --- a/Tools/autotest/quadplane.py +++ b/Tools/autotest/quadplane.py @@ -1,4 +1,6 @@ -# fly ArduPlane QuadPlane in SITL +#!/usr/bin/env python + +# Fly ArduPlane QuadPlane in SITL from __future__ import print_function import os import pexpect