The high-gain antenna in the GPS-Compass Pro from DJI is used by the A2 Flight Control System to connect to GPS satellites. In addition, there is a compass to provide heading info. Together they enable autonomous flying features such as Intelligent Orientation Control (IOC) and automatic return to home.