Safe and accurate landing is crucial for Unmanned Aerial Vehicles (UAVs). However, it is a challenging task especially when the altitude of landing target is different from the ground and when the UAV is working in adverse weather conditions, such as coasts where winds are usually strong and changing rapidly. This invention is an autonomous docking function for drones on a small size of ground robot in adverse weather conditions. It can achieve a robust landing accuracy and deal with complex turbulence arising during the docking process, attributed to variations in altitudes among components on the docking platform. This innovative solution provides a versatile application across a range of UAVs, including small and medium size drones.