projects
/
SaveMySugar
/
python3-savemysugar.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CallDistanceTransceiver.py: remove a leftover print() statement
[SaveMySugar/python3-savemysugar.git]
/
src
/
savemysugar
/
CallDistanceTransceiver.py
diff --git
a/src/savemysugar/CallDistanceTransceiver.py
b/src/savemysugar/CallDistanceTransceiver.py
index
d29b302
..
7662b68
100755
(executable)
--- a/
src/savemysugar/CallDistanceTransceiver.py
+++ b/
src/savemysugar/CallDistanceTransceiver.py
@@
-50,7
+50,6
@@
class CallDistanceTransceiver(object):
fine.
Plus, supporting communications between analog modems is cool :)
fine.
Plus, supporting communications between analog modems is cool :)
-
"""
def __init__(self, modem,
"""
def __init__(self, modem,
@@
-103,23
+102,28
@@
class CallDistanceTransceiver(object):
self.ring_uncertainty = ring_uncertainty
self.symbol_uncertainty = symbol_distance / 2.
self.ring_uncertainty = ring_uncertainty
self.symbol_uncertainty = symbol_distance / 2.
- logging.debug("dot time: transmit: %.2f receive: (%.2f, %.2f)",
+ logging.debug("dot ---------> transmit time: %.2f "
+ "receive time: between %.2f and %.2f",
self.dot_time,
(self.dot_time - self.symbol_uncertainty),
(self.dot_time + self.symbol_uncertainty))
self.dot_time,
(self.dot_time - self.symbol_uncertainty),
(self.dot_time + self.symbol_uncertainty))
- logging.debug("dash time: transmit: %.2f receive: (%.2f, %.2f)",
+ logging.debug("dash --------> transmit time: %.2f "
+ "receive time: between %.2f and %.2f",
self.dash_time,
(self.dash_time - self.symbol_uncertainty),
(self.dash_time + self.symbol_uncertainty))
self.dash_time,
(self.dash_time - self.symbol_uncertainty),
(self.dash_time + self.symbol_uncertainty))
- logging.debug("signalspace time: transmit: %.2f receive: (%.2f, %.2f)",
+ logging.debug("singalspace -> transmit time: %.2f "
+ "receive time: between %.2f and %.2f",
self.signalspace_time,
(self.signalspace_time - self.symbol_uncertainty),
(self.signalspace_time + self.symbol_uncertainty))
self.signalspace_time,
(self.signalspace_time - self.symbol_uncertainty),
(self.signalspace_time + self.symbol_uncertainty))
- logging.debug("wordspace time: transmit: %.2f receive: (%.2f, %.2f)",
+ logging.debug("wordspace ---> transmit time: %.2f "
+ "receive time: between %.2f and %.2f",
self.wordspace_time,
(self.wordspace_time - self.symbol_uncertainty),
(self.wordspace_time + self.symbol_uncertainty))
self.wordspace_time,
(self.wordspace_time - self.symbol_uncertainty),
(self.wordspace_time + self.symbol_uncertainty))
- logging.debug("EOM time: transmit: %.2f receive: (%.2f, +inf)",
+ logging.debug("EOM ---------> transmit time: %.2f "
+ "receive time: between %.2f and inf",
self.eom_time,
(self.eom_time - self.symbol_uncertainty))
self.eom_time,
(self.eom_time - self.symbol_uncertainty))
@@
-244,7
+248,6
@@
class CallDistanceTransceiver(object):
morse_message = self.translator.text_to_morse(message)
signals = morse_message.split()
morse_message = self.translator.text_to_morse(message)
signals = morse_message.split()
- print(signals)
logging.debug("Starting the transmission")
for i, signal in enumerate(signals):
logging.debug("Starting the transmission")
for i, signal in enumerate(signals):