From 4abd00a91297f1c0536024d77f726041b1088157 Mon Sep 17 00:00:00 2001 From: abeinder <abeinder@iastate.edu> Date: Fri, 28 Apr 2023 11:05:11 -0500 Subject: [PATCH] commit changes --- pycrocart/CrazyflieProtoConnection.py | 1 + pycrocart/PyCroCart.py | 2 +- pycrocart/ReadMe.md | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pycrocart/CrazyflieProtoConnection.py b/pycrocart/CrazyflieProtoConnection.py index cdb898145..f5a400773 100644 --- a/pycrocart/CrazyflieProtoConnection.py +++ b/pycrocart/CrazyflieProtoConnection.py @@ -89,6 +89,7 @@ class CrazyflieProtoConnection: try: if self.scf.is_link_open(): return self.scf.cf.param.values[group][name] + except AttributeError: pass return -1.234567890 # 1234567890 should be pretty obvious that diff --git a/pycrocart/PyCroCart.py b/pycrocart/PyCroCart.py index 49e40fd72..442810f88 100644 --- a/pycrocart/PyCroCart.py +++ b/pycrocart/PyCroCart.py @@ -61,7 +61,7 @@ if __name__ == '__main__': app = QApplication(sys.argv) cf1 = CrazyflieProtoConnection() - uri = 'radio://0/20/2M/E7E7E7E7E7' + uri = 'radio://0/0/2M/E7E7E7E7E7' cf1.connect(uri) cf1.scf.cf.commander = uCartCommander.Commander(cf1.scf.cf) diff --git a/pycrocart/ReadMe.md b/pycrocart/ReadMe.md index b0d3e93af..96b6d14ad 100644 --- a/pycrocart/ReadMe.md +++ b/pycrocart/ReadMe.md @@ -21,6 +21,10 @@ the TCP connection example that bitcraze offers in order to connect to the FlyPi as well. This will be easier to implement than connecting to the MicroCART backend, which should be the ultimate end goal. +Furthermore, while the bitcraze vm is nice, this GUI runs 100 million times +faster and silky smooth when not on a VM. Whether this is a linux issue or a VM +issue I'm not sure yet, but I'd highly recommend not running it on the VM. + Requirements ------------ Developed with Python 3.10 64-bit on Windows 10 in Pycharm 2022. -- GitLab