Getting started with your own Python script [Noob question]
Posted: Mon Apr 20, 2020 6:20 am
Okay, so a total noob here. Doing a project using the Crazyflie for a university class. This project requires writing your own script in Python. (The goal is autonomous flight with object avoidance, so we're using loco node, multi-ranger deck and possibly even flow deck - if we can figure out how to put three decks on the drone at once.)
I have been looking at the repository for cflib on Github. Reading documentation and looking at the examples and I understand just about NOTHING, except the command to connect to the Crazyflie, in the code of the examples. (Yes, I know. I'm a noob.) And I can't find any documentation that lists the functions made available by cflib. I tried to look on the Wiki too, but no luck there either.
Is there a document anywhere that lists the functions that are provided in cflib and what these do? Or do I just have to start modifying example code randomly, hoping to gain some insight?
I can't see how I could possibly hope to write a script of my own when I understand as little of the code as I do now.
Any advice is welcome!
I have been looking at the repository for cflib on Github. Reading documentation and looking at the examples and I understand just about NOTHING, except the command to connect to the Crazyflie, in the code of the examples. (Yes, I know. I'm a noob.) And I can't find any documentation that lists the functions made available by cflib. I tried to look on the Wiki too, but no luck there either.
Is there a document anywhere that lists the functions that are provided in cflib and what these do? Or do I just have to start modifying example code randomly, hoping to gain some insight?
I can't see how I could possibly hope to write a script of my own when I understand as little of the code as I do now.
Any advice is welcome!