I discovered the mystery!
Meanwhile, I have verified that, with the added lines of code that we talked about before, the autopilot is inserted into the commands of the aircraft and works properly.
The thing that is still missing is the possibility, for Heinkel, to receive the commands of the autopilot and to implement them.
If you open the Heinkel file concerning the "flight_control" (flight_control.xlml), in particular, in the <channel name = "Roll"> you read this code:
<summer name = "Roll Trim Sum">
<Input> FCS / aileron-cmd-norm </ input>
<Input> FCS / roll-trim-cmd-norm </ input>
<Clipto>
<min> -1 </min>
<max> 1 </max>
</ Clipto>
</ Summer> In the corresponding Cessna file (c172r.xml), in the "flight_control" section, you will find this:
<summer name = "Roll Trim Sum">
<Input> ap / roll-cmd-norm-output </ input>
<Input> FCS / aileron-cmd-norm </ input>
<Input> FCS / roll-trim-cmd-norm </ input>
<Clipto>
<Min> -1 </ min>
<Max> 1 </ Max>
</ Clipto>
</ Summer>You will immediately notice the missing line, in the Heinkel file, which refers to the possibility of input also of the results of the autopilot calculations.
It is therefore sufficient to add this line of code and the autopilot will be able to influence the stability of the aircraft (I checked: It works!)
I no longer have much time to devote myself to Outerra, but I am happy to follow the developments of the work of the fans who publish on the forum.
I must congratulate you on the results obtained.
I wish you good work and good fun again