Skip to content

Commit 7cb4a40

Browse files
authored
Merge pull request #804 from mavlink/pr-shebang-chmod
examples: use consistent shebang, set exe flag
2 parents a25cae8 + d1cce19 commit 7cb4a40

File tree

8 files changed

+9
-3
lines changed

8 files changed

+9
-3
lines changed

examples/do_orbit.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import asyncio
24
from mavsdk import System
35
from mavsdk.action import OrbitYawBehavior

examples/gripper.py

100644100755
File mode changed.

examples/highres_imu.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import asyncio
24
from mavsdk import System
35

examples/offboard_from_csv/offboard_from_csv.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
"""
24
Script: offboard_from_csv.py
35
Author: Alireza Ghaderi

examples/px4_ev_automation.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
"""
44
This example can be used to switch between External Vision or

examples/px4_ev_automation_keyboard.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
"""
44
This example can be used to switch between External Vision or MOCAP (EV)

examples/upload_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
import asyncio
44
import argparse

examples/winch.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)