Mapping with Script using STEM Bundle
Posted: Fri Nov 19, 2021 6:39 pm
Hello, I had a question about the script in crazyflie-lib-python/examples/multiranger/multiranger_pointcloud.py
Are we able to map the drones points its generating with this script with autonomous flight? For example, if I just write a simple set of directions for it to move forward and back. From my understanding, when we launch the window to view the mapping performed, it essentially halts us in that logging block and we can't leave it until the program is terminated.
The lines in question are
Which is in the main, this allows the program to open the window for that specific URI address and start logging. I want to be able to send actions after that to tell the drone to move forward, backward, or any directions. Is it possible? Or can this mapping behavior only be done specifically for one drone that has opened this window.
Thanks
Are we able to map the drones points its generating with this script with autonomous flight? For example, if I just write a simple set of directions for it to move forward and back. From my understanding, when we launch the window to view the mapping performed, it essentially halts us in that logging block and we can't leave it until the program is terminated.
The lines in question are
Code: Select all
appQt = QtWidgets.QApplication(sys.argv)
win = MainWindow(URI)
win.show()
appQt.exec_()
Thanks