We performed a red detection with OpenCV. Before we do it, we gave it a location where it can go with “vehicle.simple_goto()”.
The drone will take the current location when we show something red on the webcam while it is going to that location. After it arrives, it will return to its own location when it sees red.
In short, when you see red, it will take the current location and then go to that location.
How can we do this?