Is there anyway I can program my drone using pyton to take photos along a route on it's own?
- User
Human: Is there anyway I can program my drone using pyton to take photos along a route on it's own?
- Assistant
What kind of route would you like it to follow?
- User
A route that zig zags over a forest.
- Assistant
Could you be more specific? What kind of zig zags? Do they have to be exact right angles? Should they be fairly large? Should they be fairly small? Do they need to be consistent, or can they vary?
- User
They are fairly large and they vary
- Assistant
OK, I think you'll need to write some code for it to follow that kind of route. You can write a program that sits on the drone and controls it, and cause it to fly a certain path. You might want to have it fly in straight lines at times, and at others it will want it to fly to the left or right, or up and down. You can have it fly in different directions based on conditions.
- User
What language should I use to program it?
- Assistant
You might want to use either Python or C++, depending on whether you want a very lightweight program that can run on the drone, or a program that you want to write that can also run on your computer. I recommend Python, as it's very popular right now, and it has an open-source community where you can find lots of resources and help. If you want to program it on the drone itself, you'll want to use C++. The drone has a Raspberry Pi running C++ code.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.