As the title states, is there any way to make a following drone that tracks a GPS unit, and follows/orients camera to that? Similar to this
I assume that you will have GPS on your drone in addition to the GPS unit you will want to track.
You will make heavy use of the Haversine formula, which will tell you the bearing between 2 lat/lon (GPS) coordinates. This will come in handy in the following ways:
- Using the current and previous coordinates from the target's GPS, you know what direction the target is moving.
- Using the drone's coordinates and target's coordinates, you know what direction to aim the camera.
Once you know where the target is and what your orientation should be to it, you can calculate the drone's desired position based on the desired following distance.