Difference between revisions of "Conf.xml"
Jump to navigation
Jump to search
m (→Syntax) |
m |
||
Line 1: | Line 1: | ||
The <tt><b>conf/conf.xml</b></tt> | The <tt><b>conf/conf.xml</b></tt> document associates the flight plan and various hardware/software configuration files with a partticular aircraft, identified by <tt>name</tt> and <tt>ac_id</tt>. The values in this document are set and handled by the [[Paparazzi_Center|Paparazzi Center]] so it is usually not needed to edit the configuration document manually. | ||
Revision as of 10:29, 2 September 2008
The conf/conf.xml document associates the flight plan and various hardware/software configuration files with a partticular aircraft, identified by name and ac_id. The values in this document are set and handled by the Paparazzi Center so it is usually not needed to edit the configuration document manually.
Syntax
<aircraft name="Plaster" ac_id="7" airframe="airframes/plaster1.xml" radio="radios/cockpitMM.xml" flight_plan="flight_plans/generic.xml" telemetry="telemetry/default.xml" settings="settings/basic.xml" gui_color="red" />
where:
- name is the name of the aircraft which will appear in different places in the GCS
- ac_id is a unique integer (between 1 and 255) identifying the aircraft (especially needed in the communication messages)
- airframe is the file name containing the parameters of the aircraft
- radio is the file name containing the description of the RC transmitter
- flight_plan is the sequence of actions and waypoints describing the desired trajectory
- telemetry is the file name containing the set of messages sent over the telemetry link
- settings is the file name containing the set of parameters that can be configured through the telemetry link
- gui_color is the color assigned to this aircraft in the GCS
All these attributes are required except the last two (settings and gui_color) which are optional.
The following sections describe these xml documents: