title: How to implement control of the aircraft by the camera?
body: <p>To begin with, this is a completely unknown topic to me. I'm not even sure that I should ask this question on this site from all the Stack Exchange sites. But we are creating small unmanned aircraft. And I want to develop a piloting system for him. I use ros with the rosplane package as a platform for this project. In rosplane, the flight over control points has already been implemented, which is quite convenient. But we are developing this project to participate in a competition where we must pursue other planes and "shoot them" down. A <strong>stable</strong> camera is installed on the plane (this is the condition of a competition that is stable) and rotates ahead.
  <a href="https://i.stack.imgur.com/2WCak.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2WCak.png" alt="enter image description here"></a></p>
  
  <p>Something similar is in the arcade flight simulators where the player directs the plane with the mouse. I can’t figure out how to make the ailerons in a real plane (And other details of the plane) move so that the plane turns to our target along this blue arrow.
  Perhaps there is some kind of literature or article about it, but I can’t find it because I don’t know the topic and don’t know how to search.</p>