Skip to content
Snippets Groups Projects
Commit 4abd00a9 authored by abeinder's avatar abeinder
Browse files

commit changes

parent a80e237a
No related branches found
No related tags found
3 merge requests!104adding cflib to this branch,!94Merge cflib adapter into main,!84Pycrocart
...@@ -89,6 +89,7 @@ class CrazyflieProtoConnection: ...@@ -89,6 +89,7 @@ class CrazyflieProtoConnection:
try: try:
if self.scf.is_link_open(): if self.scf.is_link_open():
return self.scf.cf.param.values[group][name] return self.scf.cf.param.values[group][name]
except AttributeError: except AttributeError:
pass pass
return -1.234567890 # 1234567890 should be pretty obvious that return -1.234567890 # 1234567890 should be pretty obvious that
......
...@@ -61,7 +61,7 @@ if __name__ == '__main__': ...@@ -61,7 +61,7 @@ if __name__ == '__main__':
app = QApplication(sys.argv) app = QApplication(sys.argv)
cf1 = CrazyflieProtoConnection() cf1 = CrazyflieProtoConnection()
uri = 'radio://0/20/2M/E7E7E7E7E7' uri = 'radio://0/0/2M/E7E7E7E7E7'
cf1.connect(uri) cf1.connect(uri)
cf1.scf.cf.commander = uCartCommander.Commander(cf1.scf.cf) cf1.scf.cf.commander = uCartCommander.Commander(cf1.scf.cf)
......
...@@ -21,6 +21,10 @@ the TCP connection example that bitcraze offers in order to connect to ...@@ -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 FlyPi as well. This will be easier to implement than connecting to
the MicroCART backend, which should be the ultimate end goal. 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 Requirements
------------ ------------
Developed with Python 3.10 64-bit on Windows 10 in Pycharm 2022. Developed with Python 3.10 64-bit on Windows 10 in Pycharm 2022.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment