I have downloaded the master branch from git and include the latest version of the KAP 140 (copied from my local PA28).
If you also have it copied from the PA28, there are 2 filters inside 'kap140-proprules.xml' with tests against 'options/autopilot'.
This tests make sure that the KAP 140 is selected in the PA28 configuration. You dont need this tests on the C172p.
The first filter in that file has the comment '<!-- reset if KAP 140 is not choosen -->'.
You can delete this filter completely.
Another filter has the comment '<!-- start the Pre-Flight-Test if the AP receive enough powered -->'.
In the enable condition you will find:
- Code: Select all
<equals>
<property>options/autopilot</property>
<value>KAP140</value>
</equals>
Remove this 4 lines.
Other things:
The KAP140 make use of the autopilot-helper that will normally be loaded as 'autopilot n="1"'.
I see that this default file will be overwritten (c172p-set.xml).
I'm sure the KAP 140 doesn't need all of that, but some values are needed.
You can reactivate the helper or copy the needed filter from the helper to the kap140-autopilot.xml.
I have add a second altimeter (with number 1) inside 'Systems/instruments.xml' so that the KAP 140 is not tied to the steam gauge.
As the C172p has the sound configuration file in the main directory, you must add 'Sounds/' in front of the path to the sound file.