Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' of github.com:ghostop14/sparrow-wifi
  • Loading branch information
ghostop14 committed Mar 18, 2021
2 parents 8a8d3a0 + ad95f2e commit 30467da
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -270,7 +270,7 @@ optional arguments:
```

## Drone / Rover Operations
Being able to "war fly" (the drone equivilent of "wardriving" popular in the wifi world) was another goal of the project. As a result, being able to have a lightweight agent that could be run on a small platform such as a Raspberry Pi that could be mounted on a drone was incorporated into the design requirements. The agent has been flown successfully on a Solo 3DR drone (keeping the overall weight under the 350 g payload weight).
Being able to "war fly" (the drone equivalent of "wardriving" popular in the wifi world) was another goal of the project. As a result, being able to have a lightweight agent that could be run on a small platform such as a Raspberry Pi that could be mounted on a drone was incorporated into the design requirements. The agent has been flown successfully on a Solo 3DR drone (keeping the overall weight under the 350 g payload weight).

The Solo was a perfect choice for the project because the controller acts as a wifi access point and communicates with the drone over a traditional IP network using the mavlink protocol. This allows other devices such as laptops, tablets, and the Raspberry Pi to simply join the controller wifi network and have IP connectivity. This was important for field operations as it kept the operational complexity down.

Expand Down
2 changes: 1 addition & 1 deletion sparrow-elastic.py
Expand Up @@ -205,7 +205,7 @@ def writeDataToIndex(es, es_index, entries, es_doc_type='_doc'):
try:
helpers.bulk(es, es_entries, refresh=True, request_timeout=60)
except Exception as e:
# This can happen if the server is restarted or the connection becomes unavilable
# This can happen if the server is restarted or the connection becomes unavailable
print(str(e))

# ------------------- Bluetooth routines ------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions sparrow-wifi.py
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright 2017 ghostop14
#
Expand Down Expand Up @@ -41,7 +41,7 @@
from PyQt5.QtGui import QIcon, QRegion
from PyQt5 import QtCore

# from PyQt5.QtCore import QCoreApplication # programatic quit
# from PyQt5.QtCore import QCoreApplication # programmatic quit
from wirelessengine import WirelessEngine, WirelessNetwork
from sparrowcommon import BaseThreadClass, portOpen, stringtobool
from sparrowgps import GPSEngine, GPSStatus, SparrowGPS
Expand Down
2 changes: 1 addition & 1 deletion sparrowbluetooth.py
Expand Up @@ -1080,7 +1080,7 @@ def testSpectrum():
print('Spectrum Size: ' + str(len(bt.spectrum)))

if bt.scanInitializing():
print('Scan intializing...')
print('Scan initializing...')

sleep(1)

Expand Down
2 changes: 1 addition & 1 deletion wirelessengine.py
Expand Up @@ -708,7 +708,7 @@ def parseIWoutput(iwOutput):
# I did see incomplete output from iw where not all the data was there
retVal[curNetwork.getKey()] = curNetwork

# Create a new netowrk. BSSID will be the header for each network
# Create a new network. BSSID will be the header for each network
curNetwork = WirelessNetwork()
curNetwork.lastSeen = now
curNetwork.firstSeen = now
Expand Down

0 comments on commit 30467da

Please sign in to comment.