This work proposes an adaptive dynamic controller to guide an unmanned aerial vehicle (UAV) when accomplishing trajectory tracking tasks. The controller structure consists of a kinematic controller that generates reference commands to a dynamic compensator in charge of changing the reference commands according to the system dynamics. The final control actions thus generated are then sent to the UAV to make it to track an arbitrary trajectory in the 3D space. The parameters of the dynamic compensator are directly updated during navigation, configuring a directly updated self-tuning regulator with input error, aiming at reducing the tracking errors, thus improving the system performance in task accomplishment. After describing the control sys...