From a7955e5ebfd97ff7da88a2e7b872fd6b4ea02ed4 Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Tue, 22 Feb 2022 17:14:03 -0500 Subject: [PATCH] update --- software/raspberry pi/hexapod.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/software/raspberry pi/hexapod.py b/software/raspberry pi/hexapod.py index 56bc266..dbc7ac3 100644 --- a/software/raspberry pi/hexapod.py +++ b/software/raspberry pi/hexapod.py @@ -49,8 +49,6 @@ from threading import Thread from tcpserver import TCPServer from btserver import BluetoothServer -import os - class Hexapod(Thread): @@ -380,13 +378,6 @@ class Hexapod(Thread): def main(): - stream = os.popen('hciconfig hci0') - output = stream.read() - device_id = "hci0" - bt_mac = output.split("{}:".format(device_id))[1].split("BD Address: ")[1].split(" ")[0].strip() - - print(bt_mac) - q = Queue() tcp_server = TCPServer(q) tcp_server.start()