Skip to content

Commit

Permalink
Merge branch 'master' of github.com:SamwelOpiyo/SiK into SamwelOpiyo-…
Browse files Browse the repository at this point in the history
…master

Merge ArduPilot#51
  • Loading branch information
kaklik committed Nov 6, 2022
2 parents df4e760 + e0c260b commit 613b409
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 8 deletions.
1 change: 1 addition & 0 deletions Firmware/tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
To install script dependencies, run `pip install -r requirements.txt`.
3 changes: 2 additions & 1 deletion Firmware/tools/atcommander.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
#

# Modules used by the class
import serial, sys, time, fdpexpect
import serial, sys, argparse, time, pexpect
from pexpect import fdpexpect

class ATCommandSet(object):
''' Interface to the AT command set '''
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/console.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# a trivial serial console

import serial, sys, optparse, fdpexpect
import serial, sys, optparse, pexpect
from pexpect import fdpexpect

parser = optparse.OptionParser("console")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
11 changes: 11 additions & 0 deletions Firmware/tools/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
future==0.17.1
iso8601==0.1.12
lxml==4.3.1
pexpect==4.6.0
ptyprocess==0.6.0
pycairo==1.18.0
PyGObject==3.30.4
pymavlink==2.3.4
pyserial==3.4
PyYAML==3.13
serial==0.0.97
3 changes: 2 additions & 1 deletion Firmware/tools/rssi.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# RSSI production test

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time, pexpect
from pexpect import fdpexpect

parser = optparse.OptionParser("update_mode")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/set_speed.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# set air data rate

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time, pexpect
from pexpect import fdpexpect

parser = optparse.OptionParser("set_speed")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/set_sreg.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# set air data rate

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time, pexpect
from pexpect import fdpexpect

parser = optparse.OptionParser("set_speed")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/show_regs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# set air data rate

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time, pexpect
from pexpect import fdpexpect

parser = optparse.OptionParser("show_regs")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/show_rssi.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# set air data rate

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time, pexpect
from pexpect import fdpexpect

parser = optparse.OptionParser("show_rssi")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down
3 changes: 2 additions & 1 deletion Firmware/tools/update_mode.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# put a HopeRF into update mode

import serial, sys, optparse, time, fdpexpect
import serial, sys, optparse, time, pexpect
from pexpect import fdpexpect

parser = optparse.OptionParser("update_mode")
parser.add_option("--baudrate", type='int', default=57600, help='baud rate')
Expand Down

0 comments on commit 613b409

Please sign in to comment.