Setting up olympe

Hi everyone. I apologize in advance for asking some probably basic questions. I’ve genuinely put days in finding the answer myself but there is not much documentation unfortunately. My goal is to develop an AI-model running on a PC or mobile device that can detect close-by objects in the streamed video and then to implement object avoidance on a parrot anafi. I have quite some experience with python and AI, and a bit of Kotlin, but I am new to programming drones.

I am running into problems setting up olympe to control the drone. I have tried 2 things, but I am not sure which is the right thing to do:

I have installed parrot-olympe in a environment on ubuntu with pip.
If i do this, I can run in a python script
import olympe
but what gives me import errors is:
from olympe.messages.ardrone3.Piloting import TakeOff
And I don’t see how to fix it

I have installed olympe from source following the official installation guide. Is the Olympe environment required for this import? I can activate the olympe environment in the terminal. But then what? Will this fix the import errors? How do I go from this to connecting and controlling an actual drone?

Thanks a lot in advance!

This topic was automatically closed after 30 days. New replies are no longer allowed.