C++ UAV programming