A real-time system based on a neural network model to control hexacopter trajectories