Skip to content

Commit

Permalink
Merge branch 'iss-examples' into 'master'
Browse files Browse the repository at this point in the history
Cascade updates in `examples/`

See merge request pioneer/pioneer_sdk!28
  • Loading branch information
Dmitriy Murashov committed Nov 29, 2022
2 parents 7a1b73f + d9c714e commit 1222175
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions examples/ftp.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,13 @@
from pioneer_sdk import Pioneer


def list_directory(mavlink_connection):
ftp_wrapper = mavftp.FtpWrapper(mavlink_connection)
print(ftp_wrapper.list_directory("/dev/"))


def main():
drone = Pioneer(logger=True)
list_directory(drone.mavlink_socket)
drone.lua_script_upload("pioneer_led_blink.lua")
drone.lua_script_control("Start")
time.sleep(2)
drone.lua_script_control("Stop")

drone.close_connection()
del drone


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
name='pioneer_sdk',
packages=['pioneer_sdk', 'pioneer_sdk.mavsub', 'pioneer_sdk.tools'],
include_package_data=True,
version='0.4.3',
version='0.4.4',
license='MIT',
description='Programming tools for programming geoscan pioneer drone',
long_description=long_description,
Expand Down

0 comments on commit 1222175

Please sign in to comment.