diff --git a/docs/quickstartminidrone.rst b/docs/quickstartminidrone.rst index 574b388..3140654 100644 --- a/docs/quickstartminidrone.rst +++ b/docs/quickstartminidrone.rst @@ -32,7 +32,7 @@ To run this, from the bin directory for your python installation, type: This will identify all BLE devices within hearing of the Pi. The Minidrone's specific address will be printed at the end. Save the address and use it in your connection code (discussed below). If findMinidrone does not -report "FOUND A MAMBO!" or "FOUND A SWING!", then be sure your minidrone is turned on when you run the findMambo code and that your Pi +report "FOUND A MAMBO!" or "FOUND A SWING!", then be sure your minidrone is turned on when you run the findMinidrone code and that your Pi (or other linux box) has its BLE interface turned on. The output should look something like this. I removed my own BLE addresses from my network for security but I am @@ -40,7 +40,7 @@ showing the address of the mambo that I use for all the demo scripts. .. code-block:: console - ~/miniconda3/bin $ sudo ./find_mambo + ~/miniconda3/bin $ sudo ./find_minidrone Discovered device
Discovered device Discovered device diff --git a/pyparrot/Minidrone.py b/pyparrot/Minidrone.py index f9ecf9a..06ae46b 100644 --- a/pyparrot/Minidrone.py +++ b/pyparrot/Minidrone.py @@ -309,7 +309,7 @@ def _delete_file(self, filename): class Minidrone: def __init__(self, address="", use_wifi=False): """ - If you need BLE: Initialize with its BLE address - if you don't know the address, call findMambo + If you need BLE: Initialize with its BLE address - if you don't know the address, call findMinidrone and that will discover it for you. You can also connect to the wifi on the FPV camera. Do not use this if the camera is not connected. Also, ensure you have connected your machine to the wifi on the camera before attempting this or it will not work. diff --git a/pyparrot/scripts/findMinidrone.py b/pyparrot/scripts/findMinidrone.py index c42dbd9..b7a9878 100644 --- a/pyparrot/scripts/findMinidrone.py +++ b/pyparrot/scripts/findMinidrone.py @@ -1,7 +1,7 @@ """ -Find the BLE address for a mambo. To run this, +Find the BLE address for a drone (Mambo or Swing). To run this, -sudo python findMambo.py +sudo python findMinidrone.py Note that the sudo is necessary for BLE permissions on linux. It is only needed on this program and nothing else. diff --git a/setup.py b/setup.py index 1af01f5..51ea54e 100644 --- a/setup.py +++ b/setup.py @@ -181,7 +181,7 @@ # executes the function `main` from this package when invoked: entry_points={ # Optional 'console_scripts': [ - 'find_mambo=pyparrot.scripts.findMambo:main', + 'find_minidrone=pyparrot.scripts.findMinidrone:main', ], },