I want to get a photo with Anafi’s Olympe. I am running it on the real device, using the take_photo function in here:
with olympe.Drone("192.168.42.1") as drone: drone.connection() drone(TakeOff()).wait() try: drone(take_photo(cam_id=0)).wait() except Exception as e: # Catches any possible streaming error and ensure the drone lands afterwards print(traceback.format_exc(), file=sys.stderr) print("\n") sleep(4) drone(Landing()).wait() drone.disconnection()
But it doesn’t take any photo, or at least I cannot find it neither in the built-in SD nor in my PC. How should I take a photo?
Thanks in advance!