<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.paparazziuav.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Corybarton</id>
	<title>PaparazziUAV - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.paparazziuav.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Corybarton"/>
	<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/wiki/Special:Contributions/Corybarton"/>
	<updated>2026-04-29T02:25:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4133</id>
		<title>Modems</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Modems&amp;diff=4133"/>
		<updated>2008-10-30T03:26:04Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: /* Maxstream XBee Pro 2.4GHz (802.15.4, &amp;quot;Series 1&amp;quot;) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Paparazzi autopilot features a 5V tolerant 3V TTL serial port to interface with any common radio modem.  The bidirectional link provides real-time telemetry and in-flight tuning and navigation commands.  The system is also capable overlaying the appropriate protocols to communicate thru non-transparent devices such as the Coronis Wavecard or Maxstream API-enabled products, allowing for hardware addressing for multiple aircraft or future enhancements such as data-relaying, inter-aircraft communication, RSSI signal monitoring and automatic in-flight modem power adjustment.  Below is a list of some of the common modems used with Paparazzi, for details on configuring your modem see the [[Airframe_Configuration#Modem|Airframe Configuration]] page.&lt;br /&gt;
&lt;br /&gt;
== Maxstream XBee Pro 2.4GHz (802.15.4, &amp;quot;Series 1&amp;quot;) ==&lt;br /&gt;
&lt;br /&gt;
These relatively cheap and light modules implement the [http://www.zigbee.org/en/index.asp ZigBee/IEEE 802.15.4] norm. They allow up to 1.6km (1 mile) range (Paparazzi tested to 2.5km (1.5 miles)). The main drawback of using such 2.4Ghz modules for datalink is that it will interfere with the 2.4Ghz analog video transmitters and a inevitable decrease in range when in proximity to any wifi devices. For the plane, get the whip antenna version if you are not planning to build a custom antenna.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:Xbee_Pro_USB_RF_Modem.jpg|thumb|left|XBee Pro USB Stand-alone Modem (XBP24-PKC-001-UA)]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 2.4Ghz&lt;br /&gt;
* Output Power 100mW (Xbee Pro)&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* RF Data Rate Up to 250 Kbps&lt;br /&gt;
* Interface data rate Up to 115.2 Kbps&lt;br /&gt;
* Power Draw (typical) 214 mA TX / 55 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1500m line-of-sight &lt;br /&gt;
* Dimensions 24 x 33mm&lt;br /&gt;
* Weight 4 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Chip antenna, ¼ monopole integrated whip antenna or a U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~32$&lt;br /&gt;
|&lt;br /&gt;
[[Image:XBee_pro.jpg|thumb|left|XBee Pro OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_Xbee_pinout.jpg|left|thumb|Maxstream XBee pinout]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||''Xbee 20-pin Header''||''Name''||''Notes''||''Suggested Color''||&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
| +3.3v&lt;br /&gt;
| Power&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|DOUT&lt;br /&gt;
|Tx output - connect to Autopilot Rx&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|DIN&lt;br /&gt;
|Rx input - connect to Autopilot Tx&lt;br /&gt;
|Blue&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|GND&lt;br /&gt;
| Ground&lt;br /&gt;
|Black&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The image view is from above, top, thus NOT at the side where the connector pins come out&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/xbee-pro-oem-rf-module-zigbee.php  product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/datasheet_XBee_OEM_RF-Modules.pdf  datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xbee/product-manual_XBee_OEM_RF-Modules.pdf  user manual]&lt;br /&gt;
&lt;br /&gt;
== Maxstream XBee Pro XSC 900Mhz ==&lt;br /&gt;
&lt;br /&gt;
Maxstream has recently announced a promising new line of modems combining the small size and low cost of their popular Xbee line with the long range and 2.4Ghz video compatibility of their high end 900Mhz models.  Sounds like the perfect modem for anyone who can use 900Mhz.  Give them a try and post your results here!&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[Image:xbeeproxsc-rpsma.jpg|thumb|left|Maxstream XBee Pro XSC]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz&lt;br /&gt;
* Output Power 100mW&lt;br /&gt;
* Sensitivity  -100 dBm &lt;br /&gt;
* Data Rate: 9600 bps&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 24km (15 miles) line-of-sight &lt;br /&gt;
* Interface 20-pin mini connector (Xbee compatible pinout)&lt;br /&gt;
* RPSMA, integrated whip antenna or U.FL antenna connector (3 versions)&lt;br /&gt;
* price : ~75 USD&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp http://www.digi.com/products/wireless/point-multipoint/xbee-pro-xsc.jsp]&lt;br /&gt;
&lt;br /&gt;
== Maxstream 9XTend ==&lt;br /&gt;
&lt;br /&gt;
These larger units have been tested on the 900Mhz band, but are also available in 2.4Ghz.  They are a bit on the heavy side, about 20 grams, but give good performance at range.  They have adjustable power settings from 100mW to 1W.  Testing has shown range up to 3.2km (2 miles) with 100mW.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
[[Image:XTend_USB_RF_Modem.jpg|frame|left|9XTend USB Modem]]&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 900Mhz and 2.4Ghz (2 versions)&lt;br /&gt;
* Output Power 1mW to 1W software selectable&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* RF Data Rate 9.6 or 115.2 Kbps&lt;br /&gt;
* Interface data rate up to 230.4 Kbps&lt;br /&gt;
* Power Draw (typical) 730 mA TX / 80 mA RX &lt;br /&gt;
* Supply Voltage 2.8 to 5.5v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 64km line-of-sight &lt;br /&gt;
* Dimensions 36 x 60 x 5mm&lt;br /&gt;
* Weight 18 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* RF connector RPSMA (Reverse-polarity SMA) or MMCX (2 versions)&lt;br /&gt;
* price : ~179 USD&lt;br /&gt;
|&lt;br /&gt;
[[Image:Xtend_module.jpg|frame|left|9XTend OEM Modem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Maxstream_9XTend_Pinout.gif|thumb|left|Maxstream 9XTend Pinout]]&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''9XTend 20-pin Header'''''||'''''Name'''''||'''''Tiny Serial-1 Header'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||1||GND||1 (GND)||Ground &lt;br /&gt;
|-&lt;br /&gt;
||2||VCC||N/A (requires 5V)||5V power (150mA - 730mA Supplied from servo bus or other 5V source)&lt;br /&gt;
|-&lt;br /&gt;
||5||RX||8 (TX)||3-5V TTL data input - connect to Tiny TX&lt;br /&gt;
|-&lt;br /&gt;
||6||TX||7 (RX)||5V TTL data output - connect to Tiny RX&lt;br /&gt;
|-&lt;br /&gt;
||7||Shutdown||N/A (requires 5V)||Permanently connect this pin to the 5V bus for normal operation&lt;br /&gt;
|}&lt;br /&gt;
Notes:&amp;lt;br&amp;gt;&lt;br /&gt;
* 9XTend can run on voltages as low as 2.8V but users are strongly advised against connecting any modem (especially high power models) to the sensitive 3.3V bus supplying the autopilot processor and sensors.&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/oem-rf-module.php product page]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/datasheet_XTend_OEM_RF-Module.pdf datasheet]&lt;br /&gt;
* [http://www.maxstream.net/products/xtend/product-manual_XTend_OEM_RF-Module.pdf user manual]&lt;br /&gt;
&lt;br /&gt;
== Aerocomm ==&lt;br /&gt;
Aerocomm's API mode is not yet implemented. Therefore they are used in transparent mode. Users are reporting these modems cause more interference with GPS reception then the Maxstream modem.&lt;br /&gt;
&lt;br /&gt;
How to use this modem on ground station side? [http://paparazzi.enac.fr/wiki/index.php/User:SilaS#SDK-AC4868-250_ground_modem_part]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== AC4868-250 ===&lt;br /&gt;
* Frequency Band 868MHz (For Europe).&lt;br /&gt;
* Output Power (w/ 2dBi antenna) 250 mW &lt;br /&gt;
* Sensitivity (@ full RF data rate) -103 dB &lt;br /&gt;
* RF Data Rate Up to 28.8 Kbps &lt;br /&gt;
* INterface Data Rate Up to 57.6 Kbps &lt;br /&gt;
* Power Draw (typical) 240 mA TX / 36 mA RX &lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5V or 3.3v only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 15 kilometers line-of-sight &lt;br /&gt;
* Dimensions 49 x 42 x 5mm &lt;br /&gt;
* Weight &amp;lt; 21 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector &lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ConnexLink_USB_RF_Modem.jpg|thumb|Aerocomm USB Stand-alone Modem]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-200 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-200mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -110dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 68 mA&lt;br /&gt;
* Supply Voltage 3.3v &amp;amp; 5.5V&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 6.4 kilometers line-of-sight &lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector or internal&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|&lt;br /&gt;
[[Image:ac4868_transceiver.jpg|thumb|left|AC4868 OEM Modem]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== AC4790-1000 ===&lt;br /&gt;
* Frequency 902-928MHz (North America, Australia, etc).&lt;br /&gt;
* Output Power 5-1000mW&lt;br /&gt;
* Sensitivity (@ full RF data rate) -99dB&lt;br /&gt;
* RF Data Rate up to 76.8 Kbps&lt;br /&gt;
* INterface Data Rate Up to Up to 115.2 Kbps &lt;br /&gt;
* Power Draw (typical) 650 mA&lt;br /&gt;
* Supply Voltage 3.3V only&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 32 kilometers with high-gain antenna&lt;br /&gt;
* Dimensions 42 x 48 x 5mm &lt;br /&gt;
* Weight &amp;lt; 20 grams&lt;br /&gt;
* Interface 20-pin mini connector  &lt;br /&gt;
* Antenna MMCX jack Connector&lt;br /&gt;
* price : ~80$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Aerocomm_AC4868_pinout.jpg|thumb|left|Aerocomm AC4868 modem pinout]]&lt;br /&gt;
[[Image:Aerocomm_AC4490-200_wired.jpg|thumb|left|Aerocomm AC4490 wiring example]]&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the Aerocomm AC4868 to the Tiny&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''AC4868 20-pin Header'''''||'''''Name'''''||'''''Color'''''||'''''Tiny Serial-1'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||2||Tx||green||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||3||Rx||blue||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||GND||black||1|| - &lt;br /&gt;
|-&lt;br /&gt;
||10+11||VCC||red||2||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||17||C/D||white||3||Low = Command High = Data&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the AEROCOMM module''&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4790_mesh-ready_transceiver.htm AC4790 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4790_HI.pdf AC4790 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4790.pdf AC4790 Manual]&lt;br /&gt;
* [http://www.aerocomm.com/rf_transceiver_modules/ac4868_868mhz_rf_transceiver.htm AC4848 product page]&lt;br /&gt;
* [http://www.aerocomm.com/docs/Datasheet_AC4868_HI.pdf AC4868 Datasheet]&lt;br /&gt;
* [http://www.aerocomm.com/docs/User_Manual_AC4868.pdf AC4868 user manual]&lt;br /&gt;
&lt;br /&gt;
== Radiotronix ==&lt;br /&gt;
These Radiotronix modems are used in transparent mode. Use the WI232EUR Evaluation Software for configuring the modems for the set speed. Connect /CMD and CTS for programming. The DTS version for the US market might cause severe interference with GPS reception, it is not recommended. For a nice ground station modem just add a FTDI232 USB-&amp;gt;serial cable, a 3.3V regulator with 100nF capacitors from supplies to ground, solder a SMA cable/connector and put it in a nice case. Make sure you only connect RTS to /CMD if you want to reprogram the modem with the Evaluation software (see the open jumper connection in the picture, green wire) and leave it floating otherwise. The ANT-GXD105-FME/F from [http://www.roundsolutions.com Roundsolutions] was used as a ground station antenna at many competitions.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== WI232EUR ===&lt;br /&gt;
* Frequency Band 868MHz (for Europe)&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate Up to 76.8 kbps &lt;br /&gt;
* Interface Data Rate up to 115.2 kbps &lt;br /&gt;
* Power Draw (typical) 65 mA TX / 20 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 500 meters line-of-sight &lt;br /&gt;
* Dimensions 24 x 21 x 4mm &lt;br /&gt;
* Weight ~2 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* Antenna solder connector &lt;br /&gt;
* price : ~25$&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_wiring.jpg|thumb|WI232EUR Modem]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
=== Pinout ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ Wiring the WI232EUR to the Tiny&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
||'''''WI232 pins'''''||'''''Name'''''||'''''Tiny Serial-1'''''||'''''Notes'''''&lt;br /&gt;
|-&lt;br /&gt;
||6||TxD||7||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||5||RxD||8||''(Note 1)''&lt;br /&gt;
|-&lt;br /&gt;
||15-18||GND||1|| - &lt;br /&gt;
|-&lt;br /&gt;
||19||VCC||2||+3.3v&lt;br /&gt;
|-&lt;br /&gt;
||4||/CMD||-||''(Note 2)''&lt;br /&gt;
|-&lt;br /&gt;
||7||CTS||-||''(Note 3)''&lt;br /&gt;
|}&lt;br /&gt;
''Note 1 : names are specified with respect to the Radiotronix module''&lt;br /&gt;
&lt;br /&gt;
''Note 2 : connect to RTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
''Note 3 : connect to CTS to program device with Evaluation software''&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[Image:Wi232eur_bopla.jpg|thumb|WI232EUR Modem in BOPLA case]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/eur_um.pdf WI232EUR data sheet]&lt;br /&gt;
* [http://www.radiotronix.com/datasheets/new/rk-eur_um.pdf WI232EUR user's manual]&lt;br /&gt;
* [http://www.radiotronix.com/downloads/software/EUR/setup.exe Evaluation software]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
These modems do not give you a great range but Bluetooth can be found in a lot of recent laptops built-in. Maybe not useful for fixed wing aircrafts it might be used for in-the-shop testing or quadcopters. Make sure you get a recent Class 1 EDR 2.0 stick if you buy one for your computer.&lt;br /&gt;
{|&lt;br /&gt;
|&lt;br /&gt;
=== &amp;quot;Sparkfun&amp;quot; Roving Networks (WRL-08497) ===&lt;br /&gt;
* Frequency Band 2.4GHz&lt;br /&gt;
* Output Power 32 mW &lt;br /&gt;
* RF Data Rate up to ~300 kbps in SPP&lt;br /&gt;
* Interface Data Rate up to 921 kbps &lt;br /&gt;
* Power Draw (typical) 50 mA TX / 40 mA RX &lt;br /&gt;
* Supply Voltage 3.3v&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) 100 meters line-of-sight &lt;br /&gt;
* Dimensions 26 x 13 x 2mm &lt;br /&gt;
* Weight ~1.5 grams&lt;br /&gt;
* Interface solder connector  &lt;br /&gt;
* price : ~45$&lt;br /&gt;
|&lt;br /&gt;
[[Image:roving_nw_wiring.jpg|thumb|Roving Networks modem wiring]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
To connect to it, get the MAC address of the bluetooth modem&lt;br /&gt;
&lt;br /&gt;
 me@mybox:~$ hcitool scan&lt;br /&gt;
 Scanning ...&lt;br /&gt;
        00:06:66:00:53:AD       FireFly-53AD&lt;br /&gt;
&lt;br /&gt;
and make a virtual connection to a Bluetooth serial port&lt;br /&gt;
&lt;br /&gt;
 sudo rfcomm bind 0  00:06:66:00:53:AD&lt;br /&gt;
&lt;br /&gt;
now you can use Bluetooth as /dev/rfcomm0 with the Paparazzi 'link'. You might need to restart 'link' in case you get out of range and it disconnects (tbd). Set the Tiny serial speed to 115200 as the modules come preconfigured to that.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Coronis WaveCard ==&lt;br /&gt;
&lt;br /&gt;
These relatively inexpensive and light modules implement a Coronis proprietary protocol. Low power consumption - high latency - I would not recommend these modules mostly because of the low quality of the distribution and support. The documentation is rather poor and not easily available.&lt;br /&gt;
&lt;br /&gt;
'''Suport for these modems has been removed from the airborne code on Dec 10th, 2007.'''&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
* Frequency Band 400MHz, 868Mhz and 915MHz (3 versions)&lt;br /&gt;
* Output Power 25mW and 500mW (2 versions)&lt;br /&gt;
* Sensitivity  -110 dBm (@ 9600 bps)&lt;br /&gt;
* Data Rate 100 Kbps&lt;br /&gt;
* Power Draw (typical) 45mA (25mW), 450mA (500mW) TX / 15 mA RX &lt;br /&gt;
* Supply Voltage ...&lt;br /&gt;
* Range (typical, depends on antenna &amp;amp; environment) Up to 1km (25mW) , 5km (500mW) line-of-sight &lt;br /&gt;
* Dimensions 30 x 28 x 7mm (25mW), 37 x 30 x 7mm (500mW)&lt;br /&gt;
* 50 ohm RF port for antenna connection&lt;br /&gt;
|&lt;br /&gt;
[[Image:wavecard.jpg|Coronis Wavecard]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.coronis-systems.com/produit.php?lang=EN&amp;amp;id=WCA  www.coronis-systems.com]&lt;br /&gt;
* [[Media:CS-COM-SPRD-WAVECARD-E03B.pdf|Wavecard datasheet]]&lt;br /&gt;
&lt;br /&gt;
== Video Transmitter Telemetry ==&lt;br /&gt;
&lt;br /&gt;
[[Image:video_tx_small.jpg|thumb|2.4GHz Video Transmitter]]&lt;br /&gt;
In order for the UAV to transmit video from an onboard camera, a video transmitter is needed.  The paparazzi AP sends all telemetry data down with the video on the audio channel portion of the transmitter.  This means that the transmitter must have an audio channel.  These vary in power, and thus range, and run normally on 2.4Ghz.  Small UAVs can get about 600m of range from the 50mW version, and extended range can be achieved using units up to 1W.  Weight for these units varies from a couple grams to about 30 for the 1W with shielding.  Please check for your countries regulations on 2.4Ghz transmission, as each is different.  &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Antennas ==&lt;br /&gt;
&lt;br /&gt;
Here are some examples of lightweight and efficient 868MHz antennas developped by the RF laboratory at ENAC.&lt;br /&gt;
[[Image:868mhz_twinstar_antenna_1.jpg|thumb|left|868MHz copper foil antenna attached to the aircraft tail]] &lt;br /&gt;
[[Image:868mhz_twinstar_antenna_2.jpg|thumb|left|868MHz copper foil antenna bottom view]] &lt;br /&gt;
[[Image:868mhz_ground_antenna.jpg|thumb|left|868MHz ground antenna]] &lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=DevGuide/DesignOverview&amp;diff=4116</id>
		<title>DevGuide/DesignOverview</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=DevGuide/DesignOverview&amp;diff=4116"/>
		<updated>2008-10-21T14:53:43Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: /* Generating Doxygen Code Documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Airborne Functional Diagram ==&lt;br /&gt;
[[Image:functional_diagram.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Design Goals ==&lt;br /&gt;
 -Static approach&lt;br /&gt;
 -Modularity&lt;br /&gt;
 -Hardware absraction&lt;br /&gt;
 -Runtime efficiency&lt;br /&gt;
&lt;br /&gt;
=== Static Approach ===&lt;br /&gt;
  -only &amp;quot;things that needs to be changed during flight are changeable&lt;br /&gt;
  -maximise compilation time resolutions&lt;br /&gt;
&lt;br /&gt;
  advantages&lt;br /&gt;
    Error checking&lt;br /&gt;
    Efficiency&lt;br /&gt;
    Safety/Robustness&lt;br /&gt;
&lt;br /&gt;
=== Modularity ===&lt;br /&gt;
&lt;br /&gt;
[[Image:modularity.png]]&lt;br /&gt;
&lt;br /&gt;
  -Separation of concerns&lt;br /&gt;
  -Maintenability&lt;br /&gt;
  -Interface&lt;br /&gt;
  -C provide no dedicated mechanism for modularity&lt;br /&gt;
  -Main issues with modularity are configuration and dependancies&lt;br /&gt;
&lt;br /&gt;
[[Image:dependancies_example.png]]&lt;br /&gt;
&lt;br /&gt;
=== Hardware abstraction ===&lt;br /&gt;
&lt;br /&gt;
  -Segregate hardware dependant modules&lt;br /&gt;
&lt;br /&gt;
[[Image:hardware_abstraction.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Runtime Efficiency ===&lt;br /&gt;
  It's very unlikely that we will change the serial port on which we connected our modem inflight.&lt;br /&gt;
&lt;br /&gt;
  bad :&lt;br /&gt;
 switch(UART) {&lt;br /&gt;
  case UART0 : UARTO_write(...); break;&lt;br /&gt;
  case UART1 : UART1_write(...); break;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
  good :&lt;br /&gt;
 #define UartWrite(x) UART ## _write(x)&lt;br /&gt;
 UartWrite(...);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Design Solutions ==&lt;br /&gt;
&lt;br /&gt;
 * Heavy pre-processor usage&lt;br /&gt;
 * C code generation&lt;br /&gt;
 * Heavy Makefile usage&lt;br /&gt;
 * Conventions to define our own module layer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== pre-processor ===&lt;br /&gt;
&lt;br /&gt;
==== header selection ====&lt;br /&gt;
&lt;br /&gt;
conf/airframes/funjet1.xml&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;makefile&amp;gt;&lt;br /&gt;
 ap.CFLAGS += -DACTUATORS=\&amp;quot;servos_4017_hw.h\&amp;quot;&lt;br /&gt;
 &amp;lt;/makefile&amp;gt;&lt;br /&gt;
&lt;br /&gt;
generated var/FJ1/Makefile.ac&lt;br /&gt;
&lt;br /&gt;
 ap.CFLAGS += -DACTUATORS=\&amp;quot;servos_4017_hw.h\&amp;quot;&lt;br /&gt;
&lt;br /&gt;
sw/airborne/actuators.h&lt;br /&gt;
 #include ACTUATORS&lt;br /&gt;
&lt;br /&gt;
expanded by pre-processor to&lt;br /&gt;
&lt;br /&gt;
 #include &amp;quot;servos_4017_hw.h&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
==== macros ====&lt;br /&gt;
&lt;br /&gt;
conf/airframes/funjet1.xml&lt;br /&gt;
  ap.CFLAGS += -DXBEE_UART=Uart1&lt;br /&gt;
&lt;br /&gt;
sw/airborne/xbee.h&lt;br /&gt;
  #define __XBeeLink(dev, _x) dev##_x&lt;br /&gt;
  #define _XBeeLink(dev, _x) __XBeeLink(dev, _x)&lt;br /&gt;
  #define XBeeLink(_x) _XBeeLink(XBEE_UART, _x)&lt;br /&gt;
  #define XBeeBuffer() XBeeLink(ChAvailable())&lt;br /&gt;
&lt;br /&gt;
expanded by pre-processor to&lt;br /&gt;
 &lt;br /&gt;
 Uart1ChAvailable()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== C code generation ===&lt;br /&gt;
&lt;br /&gt;
For problems too complex to solve with the pre processor, we use custom compilers to generate code from a description in xml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== example 1 : command laws, aka mixers ====&lt;br /&gt;
conf/airframes/funjet1.xml&lt;br /&gt;
 &amp;lt;command_laws&amp;gt;&lt;br /&gt;
  &amp;lt;let var=&amp;quot;aileron&amp;quot; value=&amp;quot;@ROLL * AILEVON_AILERON_RATE&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;let var=&amp;quot;elevator&amp;quot; value=&amp;quot;@PITCH * AILEVON_ELEVATOR_RATE&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;set servo=&amp;quot;AILEVON_LEFT&amp;quot; value=&amp;quot;$elevator + $aileron&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;set servo=&amp;quot;AILEVON_RIGHT&amp;quot; value=&amp;quot;$elevator - $aileron&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/command_laws&amp;gt;&lt;br /&gt;
&lt;br /&gt;
generated var/FJ1/airframe.h&lt;br /&gt;
 #define SetActuatorsFromCommands(values) { \&lt;br /&gt;
   uint16_t servo_value;\&lt;br /&gt;
   float command_value;\&lt;br /&gt;
   int16_t _var_aileron = values[COMMAND_ROLL] * AILEVON_AILERON_RATE;\&lt;br /&gt;
   int16_t _var_elevator = values[COMMAND_PITCH] * AILEVON_ELEVATOR_RATE;\&lt;br /&gt;
 [....]&lt;br /&gt;
   command_value = _var_elevator + _var_aileron;\&lt;br /&gt;
   command_value *= command_value&amp;gt;0 ? SERVO_AILEVON_LEFT_TRAVEL_UP :   SERVO_AILEVON_LEFT_TRAVEL_DOWN;\&lt;br /&gt;
   servo_value = SERVO_AILEVON_LEFT_NEUTRAL + (int16_t)(command_value);\&lt;br /&gt;
   actuators[SERVO_AILEVON_LEFT] = ChopServo(servo_value, SERVO_AILEVON_LEFT_MIN, SERVO_AILEVON_LEFT_MAX);\&lt;br /&gt;
   Actuator(SERVO_AILEVON_LEFT) = SERVOS_TICS_OF_USEC(actuators[SERVO_AILEVON_LEFT]);\&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== example 2 : flight plan ====&lt;br /&gt;
&lt;br /&gt;
conf/flight plans/example.xml&lt;br /&gt;
   &amp;lt;block name=&amp;quot;For loop (circles wp 1)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;for from=&amp;quot;0&amp;quot; to=&amp;quot;3&amp;quot; var=&amp;quot;i&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;circle radius=&amp;quot;DEFAULT_CIRCLE_RADIUS+ $i*10&amp;quot; wp=&amp;quot;1&amp;quot; until=&amp;quot;NavCircleCount() &amp;gt; 1&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/for&amp;gt;&lt;br /&gt;
      &amp;lt;deroute block=&amp;quot;Standby&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/block&amp;gt;&lt;br /&gt;
generated var/flight plan.h&lt;br /&gt;
  Block(29) // For loop (circles wp 1)&lt;br /&gt;
    switch(nav_stage) {&lt;br /&gt;
      static int8_t _var_i;&lt;br /&gt;
      static int8_t _var_i_to;&lt;br /&gt;
      Stage(0)&lt;br /&gt;
        _var_i = 0 - 1;&lt;br /&gt;
        _var_i_to = 3;&lt;br /&gt;
      Label(for_11)&lt;br /&gt;
      Stage(1)&lt;br /&gt;
        if (++_var_i &amp;gt; _var_i_to) Goto(endfor_12) else NextStageAndBreak();&lt;br /&gt;
        Stage(2)&lt;br /&gt;
          NavVerticalAutoThrottleMode(RadOfDeg(0.000000));&lt;br /&gt;
          NavVerticalAltitudeMode(WaypointAlt(3), 0.);&lt;br /&gt;
          NavCircleWaypoint(3, (DEFAULT_CIRCLE_RADIUS+(_var_i*10)));&lt;br /&gt;
          if ((NavCircleCount()&amp;gt;1)) NextStageAndBreak();&lt;br /&gt;
          break;&lt;br /&gt;
        Stage(3)&lt;br /&gt;
          Goto(for_11)&lt;br /&gt;
        Label(endfor_12)&lt;br /&gt;
      Stage(5)&lt;br /&gt;
        NextBlock();&lt;br /&gt;
        break;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
=== Makefile ===&lt;br /&gt;
&lt;br /&gt;
==== Connecting and configuring modules ====&lt;br /&gt;
&lt;br /&gt;
  ap.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=XBeeTransport -DXBEE_UART=Uart1&lt;br /&gt;
  ap.srcs += downlink.c xbee.c&lt;br /&gt;
  ap.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B9600&lt;br /&gt;
  ap.srcs += \$(SRC_ARCH)/uart_hw.c&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Modules configuration ====&lt;br /&gt;
&lt;br /&gt;
3 sources of configuration:&lt;br /&gt;
  * airframe configuration file ( airframe.xml ) which &amp;quot;compiled&amp;quot; to C files and Makefile&lt;br /&gt;
  * specific per module configuration file ( eg radio.xml, flightplan.xml) compiled to C code to allow factorization between airframes.&lt;br /&gt;
  * specific per board configuration file ( eg tiny.h ) to describe modules configuration imposed by board routing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:modules_configuration.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Conventions ===&lt;br /&gt;
&lt;br /&gt;
== Generating Doxygen Code Documentation ==&lt;br /&gt;
&lt;br /&gt;
A way to look at the includes and dependencies is to use the graphs generated with doxygen. After installing Paparazzi, install Doxygen:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install doxygen graphviz&lt;br /&gt;
&lt;br /&gt;
run the generation tool from the paparazzi3/ directory:&lt;br /&gt;
&lt;br /&gt;
 make doxygen&lt;br /&gt;
&lt;br /&gt;
Now Doxygen will have generated html documentation(open this with any web browser) in your paparazzi3/dox/html folder.&lt;br /&gt;
&lt;br /&gt;
To look at a list of all of the files used by the airborne software:&lt;br /&gt;
 paparazzi3/dox/html/files.html&lt;br /&gt;
The main_ap.c will also interest you.&lt;br /&gt;
 paparazzi3/dox/html/main__ap_8c.html&lt;br /&gt;
&lt;br /&gt;
This is a sample of a Doxygen Graph:&lt;br /&gt;
[[Image:Autopilot_8h_incl.png|Include dependency graph for autopilot.h]]&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Autopilot_8h_incl.png&amp;diff=4115</id>
		<title>File:Autopilot 8h incl.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Autopilot_8h_incl.png&amp;diff=4115"/>
		<updated>2008-10-21T14:50:25Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Telemetry&amp;diff=4110</id>
		<title>Telemetry</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Telemetry&amp;diff=4110"/>
		<updated>2008-10-16T22:08:02Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: /* GPS_SOL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Messages ==&lt;br /&gt;
The set of periodic messages sent over the downlink channel by an aircraft to the ground station is configurable&lt;br /&gt;
with the help of one XML file, located in the &amp;lt;tt&amp;gt;conf/telemetry&amp;lt;/tt&amp;gt; directory. This file is called by &amp;lt;tt&amp;gt;conf/conf.xml&amp;lt;/tt&amp;gt; and must follow the&lt;br /&gt;
&amp;lt;tt&amp;gt;telemetry.dtd&amp;lt;/tt&amp;gt; syntax. The &amp;lt;tt&amp;gt;default.xml&amp;lt;/tt&amp;gt; is provided as an example and should be suitable for most users:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;!DOCTYPE telemetry SYSTEM &amp;quot;telemetry.dtd&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;telemetry&amp;gt;&lt;br /&gt;
  &amp;lt;process name=&amp;quot;Ap&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;mode name=&amp;quot;default&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;message name=&amp;quot;ATTITUDE&amp;quot; period=&amp;quot;0.5&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;message name=&amp;quot;PPRZ_MODE&amp;quot; period=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;/mode&amp;gt;&lt;br /&gt;
    &amp;lt;mode name=&amp;quot;fast attitude&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;message name=&amp;quot;ATTITUDE&amp;quot; period=&amp;quot;0.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/mode&amp;gt;&lt;br /&gt;
 &amp;lt;/process&amp;gt;&lt;br /&gt;
  &amp;lt;process name=&amp;quot;Fbw&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;mode name=&amp;quot;default&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;message name=&amp;quot;COMMANDS&amp;quot; period=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
      ...&lt;br /&gt;
    &amp;lt;/mode&amp;gt;&lt;br /&gt;
    &amp;lt;mode name=&amp;quot;debug&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;message name=&amp;quot;PPM&amp;quot; period=&amp;quot;0.5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/mode&amp;gt;&lt;br /&gt;
  &amp;lt;/process&amp;gt;&lt;br /&gt;
 &amp;lt;/telemetry&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Specific Messages===&lt;br /&gt;
&lt;br /&gt;
====GPS_SOL====&lt;br /&gt;
Specification in telemetry file&lt;br /&gt;
 &amp;lt;message name=&amp;quot;GPS_SOL&amp;quot;        period=&amp;quot;2.0&amp;quot;/&amp;gt;&lt;br /&gt;
Example from logfile(.data):&lt;br /&gt;
 6.742 1 GPS_SOL 232 43 198 8&lt;br /&gt;
&lt;br /&gt;
Meaning of tokens:&lt;br /&gt;
 Timestamp, Aircraft-Number, GPS_SOL, Pacc, Sacc, PDOP, numSV&lt;br /&gt;
*Pacc = Position accuracy (units: CM)&lt;br /&gt;
*Sacc = Speed accuracy (units: CM/sec ?)&lt;br /&gt;
*PDOP = ?&lt;br /&gt;
*numSV = number of satellites detected&lt;br /&gt;
&lt;br /&gt;
====PPRZ_MODE====&lt;br /&gt;
Specification in telemetry file&lt;br /&gt;
 &amp;lt;message name=&amp;quot;PPRZ_MODE&amp;quot;      period=&amp;quot;5.&amp;quot;/&amp;gt;&lt;br /&gt;
Example from logfile(.data):&lt;br /&gt;
 20.433 2 PPRZ_MODE 0 1 2 0 0 1&lt;br /&gt;
&lt;br /&gt;
Meaning of tokens:&lt;br /&gt;
 Timestamp, Aircraft-Number, PPRZ_MODE, ap_mode, ap_gaz, ap_horizontal, if_calib_mode, mcul_status&lt;br /&gt;
*ap_mode = (0 = MANUAL, 1 = AUTO1, 2 = AUTO2, 3 = HOME mode (Circle Home waypoint), 4 = NO_GPS (GPS not working), 5 = NB (?)&lt;br /&gt;
*ap_gaz = ?&lt;br /&gt;
*ap_horizontal = ?&lt;br /&gt;
*if_calib_mode = ?&lt;br /&gt;
*mcul_status = ?&lt;br /&gt;
&lt;br /&gt;
===Configuring the Downlink Data Rate===&lt;br /&gt;
&lt;br /&gt;
The limited throughput of our RF modems results in a need to carefully choose which data to send, as well as the frequency at which to send it.  A sophisticated set of files and parameters have been developed in order to tailor the data downlink behavior automatically, manually, temporarily, or permanently according to any desired parameter.  This allows the user to create an almost unlimited possibility of downlink configurations.  For example:&lt;br /&gt;
* Tailor the data rate to work with very slow modems (9600 baud or slower)&lt;br /&gt;
* Reduce the data rate of some messages so that others can be increased:&lt;br /&gt;
*: Automatically send GPS data at a very high rate by sacrificing navigation data when not flying (to help GPS/RFI troubleshooting) then automatically reduce the GPS data rate and send normal navigation data when the launch is initiated.&lt;br /&gt;
*: Automatically switch to sending only position data upon landing to conserve power and increase the chance of the operator receiving a position packet when recovering a distant aircraft.&lt;br /&gt;
*: Manually send selected sensor data at very high speeds (60Hz) for real time tuning.&lt;br /&gt;
* Maintain independent telemetry configurations for aircraft with different modems, sensors, or mission profiles.&lt;br /&gt;
&lt;br /&gt;
Any number of configuration files can be created in the &amp;lt;tt&amp;gt;conf/telemetry&amp;lt;/tt&amp;gt; directory and selected from the &amp;lt;tt&amp;gt;conf/conf.xml&amp;lt;/tt&amp;gt; file.  The telemetry downlink is divided into two processes, '''Ap''' and '''Fbw''' each with a possible &amp;lt;tt&amp;gt;mode&amp;lt;/tt&amp;gt; option.  Any number of modes could be created, the default is the first in the sequence. A mode contains the list of messages to be sent as well as the period of each message in seconds. In this example, the '''ATTITUDE''' message will be sent by the '''Ap''' process at 2Hz in the default mode and at 10Hz in the '''fast attitude''' mode. The maximum allowed frequency is 60Hz (0.017s) and the maximum period is 1092s.&lt;br /&gt;
&lt;br /&gt;
The mode can be chosen in the airframe file by setting the '''TELEMETRY_MODE_FBW''' constant:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;define name=&amp;quot;TELEMETRY_MODE_FBW&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
where the (default) first mode is numbered '''0'''.&lt;br /&gt;
&lt;br /&gt;
This mode can also be changed dynamically with a datalink [[#Settings|setting]] or with a [[Flight_Plans#set|set]] stage in the flight plan.&lt;br /&gt;
&lt;br /&gt;
Note that an (undocumented!) subset of the messages is required to be able to use ground station properly. So it is not advisable to completely remove messages for the '''Ap''' process listed in the default mode.&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;settings&amp;lt;/tt&amp;gt; attribute in the description of the aircraft in &amp;lt;tt&amp;gt;conf.xml&amp;lt;/tt&amp;gt; allows the user to specify a list of variables for which values can be changed in-flight:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;aircraft &lt;br /&gt;
  name=&amp;quot;Microjet&amp;quot;&lt;br /&gt;
  ...&lt;br /&gt;
  settings=&amp;quot;settings/basic.xml&amp;quot;&lt;br /&gt;
  ...&lt;br /&gt;
 /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with the &amp;lt;tt&amp;gt;basic.xml&amp;lt;/tt&amp;gt; file located in &amp;lt;tt&amp;gt;conf/settings/&amp;lt;/tt&amp;gt;. A &amp;lt;tt&amp;gt;dl_setting&amp;lt;/tt&amp;gt; element in this file associates [[GCS#Settings|buttons or sliders in the GCS interface]] to autopilot variables:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;!DOCTYPE settings SYSTEM &amp;quot;settings.dtd&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;settings&amp;gt;&lt;br /&gt;
  &amp;lt;dl_settings&amp;gt;&lt;br /&gt;
    &amp;lt;dl_settings NAME=&amp;quot;flight params&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;dl_setting MAX=&amp;quot;1000&amp;quot; MIN=&amp;quot;-50&amp;quot; STEP=&amp;quot;10&amp;quot; VAR=&amp;quot;altitude_shift&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/dl_settings&amp;gt;&lt;br /&gt;
    &amp;lt;dl_settings NAME=&amp;quot;mode&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;dl_setting MAX=&amp;quot;2&amp;quot; MIN=&amp;quot;0&amp;quot; STEP=&amp;quot;1&amp;quot; VAR=&amp;quot;pprz_mode&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;strip_button name=&amp;quot;AUTO2&amp;quot; value=&amp;quot;2&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/dl_setting&amp;gt;&lt;br /&gt;
      &amp;lt;dl_setting MAX=&amp;quot;1&amp;quot; MIN=&amp;quot;0&amp;quot; STEP=&amp;quot;1&amp;quot; VAR=&amp;quot;launch&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;strip_button name=&amp;quot;Launch&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/dl_setting&amp;gt;&lt;br /&gt;
      &amp;lt;dl_setting MAX=&amp;quot;1&amp;quot; MIN=&amp;quot;0&amp;quot; STEP=&amp;quot;1&amp;quot; VAR=&amp;quot;kill_throttle&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/dl_settings&amp;gt;&lt;br /&gt;
  &amp;lt;/dl_settings&amp;gt;&lt;br /&gt;
 &amp;lt;/settings&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
where &amp;lt;tt&amp;gt;dl_settings&amp;lt;/tt&amp;gt; elements can be nested at any depth. A &amp;lt;tt&amp;gt;dl_setting&amp;lt;/tt&amp;gt; element just specifies the name of the variable, the allowed range for the setting (&amp;lt;tt&amp;gt;min&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;max&amp;lt;/tt&amp;gt; attributes) and the minimal &amp;lt;tt&amp;gt;step&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A notebook page will be associated in the GUI to each &amp;lt;tt&amp;gt;dl_settings&amp;lt;/tt&amp;gt; element. A slider will be associated to each &amp;lt;tt&amp;gt;dl_setting&amp;lt;/tt&amp;gt; entry except if the range is small (typically less than 3) and discrete (step=1): in the latter case, a set of radio buttons will be displayed.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;strip_button&amp;lt;/tt&amp;gt; element adds a button to the [[GCS#Strip|GCS strip]] for commonly used tasks like &amp;quot;Launch&amp;quot; or &amp;quot;Circle&amp;quot;. Multiple buttons can be used to assign different values to the same variable.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;param&amp;lt;/tt&amp;gt; attribute of a &amp;lt;tt&amp;gt;dl_setting&amp;lt;/tt&amp;gt; element allows to specify the corresponding parameter in the airframe file in order to save a tuned value:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;dl_setting max=&amp;quot;0.3&amp;quot; min=&amp;quot;-0.3&amp;quot; step=&amp;quot;0.01&amp;quot; var=&amp;quot;ir_roll_neutral&amp;quot; param=&amp;quot;IR_ROLL_NEUTRAL_DEFAULT&amp;quot; unit=&amp;quot;rad&amp;quot;/&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
where the &amp;lt;tt&amp;gt;unit&amp;lt;/tt&amp;gt; attribute is required for the parameters which do not use the same unit than the corresponding variable (currently only for some angle parameters in degrees in the airframe file and in radians for the variable).&lt;br /&gt;
&lt;br /&gt;
== R/C Transmitter Data Uplink (Obsolete) ==&lt;br /&gt;
&lt;br /&gt;
With the advent of small modems such as the popular Zigbee-based models, the value of the R/C transmitter based data-link is substantially reduced and the audio-based downlink has also been removed from current hardware designs.  Nevertheless, this feature may still prove useful for extremely minimal hardware configurations.&lt;br /&gt;
The &amp;lt;tt&amp;gt;tuning_rc.xml&amp;lt;/tt&amp;gt; file is located in &amp;lt;tt&amp;gt;conf/settings&amp;lt;/tt&amp;gt;.&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;aircraft &lt;br /&gt;
  name=&amp;quot;Microjet&amp;quot;&lt;br /&gt;
  ...&lt;br /&gt;
  settings=&amp;quot;settings/tuning_rc.xml&amp;quot;&lt;br /&gt;
  ...&lt;br /&gt;
 /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
A &amp;lt;tt&amp;gt;rc_settings&amp;lt;/tt&amp;gt; element in this file associates switches and sliders of the RC to airborne variables:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;!DOCTYPE settings SYSTEM &amp;quot;settings.dtd&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;!-- A conf to use to tune an A/C using only the rc --&amp;gt;&lt;br /&gt;
 &amp;lt;settings&amp;gt;&lt;br /&gt;
  &amp;lt;rc_settings&amp;gt;&lt;br /&gt;
    &amp;lt;rc_mode NAME=&amp;quot;AUTO1&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;rc_setting VAR=&amp;quot;ir_pitch_neutral&amp;quot; RANGE=&amp;quot;2&amp;quot; RC=&amp;quot;gain_1_up&amp;quot; TYPE=&amp;quot;float&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;rc_setting VAR=&amp;quot;ir_roll_neutral&amp;quot; RANGE=&amp;quot;-2&amp;quot; RC=&amp;quot;gain_1_down&amp;quot; TYPE=&amp;quot;float&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/rc_mode&amp;gt;&lt;br /&gt;
    &amp;lt;rc_mode NAME=&amp;quot;AUTO2&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;rc_setting VAR=&amp;quot;course_pgain&amp;quot; RANGE=&amp;quot;0.1&amp;quot; RC=&amp;quot;gain_1_up&amp;quot; TYPE=&amp;quot;float&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;rc_setting VAR=&amp;quot;pitch_of_roll&amp;quot; RANGE=&amp;quot;.2&amp;quot; RC=&amp;quot;gain_1_down&amp;quot; TYPE=&amp;quot;float&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/rc_mode&amp;gt;&lt;br /&gt;
  &amp;lt;/rc_settings&amp;gt;&lt;br /&gt;
 &amp;lt;/settings&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
First, settings are sorted by mode (&amp;lt;tt&amp;gt;AUTO1&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;AUTO2&amp;lt;/tt&amp;gt;). Then a setting is composed of a &amp;lt;tt&amp;gt;var&amp;lt;/tt&amp;gt;iable name, a &amp;lt;tt&amp;gt;range&amp;lt;/tt&amp;gt; (corresponding to the range of the RC slider) and a &amp;lt;tt&amp;gt;RC&amp;lt;/tt&amp;gt; name. The RC name prefix can be ''gain_1'' or ''gain_2'', which corresponds to the &amp;lt;tt&amp;gt;GAIN1&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;GAIN2&amp;lt;/tt&amp;gt; channels of your RC transmitter [[Radio_Control|configuration]]. The RC name suffix can be ''up'' or ''down'', which is related to the position of the &amp;lt;tt&amp;gt;CALIB&amp;lt;/tt&amp;gt; switch on the RC transmitter.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Get_Hardware&amp;diff=4081</id>
		<title>Get Hardware</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Get_Hardware&amp;diff=4081"/>
		<updated>2008-10-07T18:11:26Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: link to comlaint thread fixed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As an open-source project, all source code and hardware plans are [http://cvs.savannah.gnu.org/viewvc/paparazzi/paparazzi3/hw/ freely available on the CVS Server] for anyone to produce, use, modify, and redistribute in accordance with the [http://www.gnu.org/licenses/gpl.txt GPL License Agreement] which requires only that the open-source nature of the project be maintained by all who redistribute it.&lt;br /&gt;
&lt;br /&gt;
We encourage the distribution of hardware for profit or otherwise and invite any users with paparazzi-related hardware to post links and purchasing information on this page.  Please use the [[Talk:Get_Hardware&amp;amp;action=edit|Discussion Tab]] to describe your experiences with any of these vendors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
= [http://www.fmadirect.com FMA Direct] =&lt;br /&gt;
[[image:1888.gif|thumb|400px|FMA Direct]]&lt;br /&gt;
FMA is a good source of low cost IR sensors.&lt;br /&gt;
* [http://www.fmadirect.com/Detail.htm?item=1778&amp;amp;section=20 X-Y Sensor]&lt;br /&gt;
* [http://www.fmadirect.com/Detail.htm?item=1888&amp;amp;section=47 Z-Sensor]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
= HALFBASE removed by Anton on 10/07/2008. Multiple people have claimed fraud. No delivery of product confirmed yet =&lt;br /&gt;
 Some people have had problems with Halfbase. For more information see [http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=%22Order+from+HALFBASE%22&amp;amp;submit=Search&amp;amp;idxname=paparazzi-devel this thread] in the mailing list.&lt;br /&gt;
 '''PLEASE READ BEFORE ORDERING'''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= [http://mantiselec.com/paparazzi.html Mantis Electronics] =&lt;br /&gt;
[[image:lot1.jpg|thumb|400px|Mantis Electronics]]&lt;br /&gt;
Mantis Electronics is pleased to offer assembled Tiny 2.11, IR boards, GPS modules, USB-TTL interface boards, 3-Axis I2C/SPI accelerometer boards, and accessories for immediate order.&lt;br /&gt;
Our boards are solder paste stencilled, reflow soldered and 100% tested.&lt;br /&gt;
&amp;lt;h3&amp;gt;Our Items:&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Tiny 2.11 assembled with LEA-4P and GPS antenna: &amp;lt;b&amp;gt;$250&amp;lt;/b&amp;gt; ($260 with Molex Picoblade connectors)&lt;br /&gt;
&amp;lt;li&amp;gt;2-Axis IR board with IR sensors: &amp;lt;b&amp;gt;$75&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;1-Axis IR board with IR sensors: &amp;lt;b&amp;gt;$55&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;u-blox LEA-4P GPS module: &amp;lt;b&amp;gt;$75&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;USB&amp;lt;-&amp;gt;TTL Serial board: &amp;lt;b&amp;gt;$15&amp;lt;/b&amp;gt; (useful for programming and telemetry)&lt;br /&gt;
&amp;lt;li&amp;gt;3-Axis I2C/SPI accelerometer board: &amp;lt;b&amp;gt;$35&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;MLX90247 IR sensors: &amp;lt;b&amp;gt;$12&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Tiny 2.11 bare PCB: &amp;lt;b&amp;gt;$10&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;2-Axis IR bare PCB: &amp;lt;b&amp;gt;$5&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;1-Axis IR bare PCB: &amp;lt;b&amp;gt;$5&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
Current lead time for orders is 3 weeks.  USA shipping is $6. International shipping is $15.&lt;br /&gt;
&amp;lt;br&amp;gt;Please see our website [http://mantiselec.com/paparazzi.html http://mantiselec.com/paparazzi.html] to order.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
= [http://www.olimex.com/pcb/ Olimex] =&lt;br /&gt;
[[image:pcb-green.jpg|thumb|400px|Olimex PCBs]]&lt;br /&gt;
Fast PCB Prototypes&lt;br /&gt;
[http://www.olimex.com/pcb/ www.olimex.com/pcb]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
= [http://www.ppzuav.com/ PPZUAV] Get it now without issues. =&lt;br /&gt;
[[image:BUNDLE2BASIC.jpg|thumb|400px|PPZUAV]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;NEW: IN-STOCK READY TO PROGRAM AND SHIP: '''''Tiny2.11/TWOG now available now in stock ready to ship.'''''&amp;lt;br&amp;gt;&lt;br /&gt;
NEW: '''''[http://ppzuav.com/osc/catalog/product_info.php?cPath=4_2&amp;amp;products_id=67 Bundles] that include the parts you need are now available.'''''&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;We know it can be daunting to discover Paparazzi and wonder what to do first. So we take care of the basics for you before shipping. Each [http://ppzuav.com/osc/catalog/product_info.php?cPath=4_2&amp;amp;products_id=35 Fully Assembled Tiny2.11] ready to program another feature the competition is just now starting to offer. How we do this: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;We load the bootloader&lt;br /&gt;
&amp;lt;li&amp;gt;configure the GPS module (LEA-5H Tiny2.11 we also update the GPS Firmware to the latest from u-blox)&lt;br /&gt;
&amp;lt;li&amp;gt;We load a sample tiny2.11 program into it. &lt;br /&gt;
&amp;lt;li&amp;gt;We verify it runs the program (LED1/RED flashes) &lt;br /&gt;
&amp;lt;li&amp;gt;Then acquires a 3D fix (LED2/GREEN flashes).&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For TWOG orders we load the USB Boot Loader for you before shipping. This means you can use the USB programming cable as soon as you receive your TWOG to program it.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This means when you order a TWOG or Tiny Autopilot you receive a tested, working, ready to configure for your aircraft Paparazzi Autopilot Assembly. Quite often new users will wonder if the Autopilot working so knowing it was configured and tested will help you focus on the real issue(s) and get flying faster.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Please eMail '''sales@ppzuav.com''' with any questions or special requests before you place your orders. We return emails as quickly as possible. If it's an easy question within hours. More complex or longer explanation requests may take some time to read then write your answer so be patient.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;'''''Coming Soon: Paparazzi Designed (CVS) GPS external assembly (v1.3) for TWOG'''''&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
[http://www.ppzuav.com/osc/catalog Visit the PPZUAV WebStore]&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/product_info.php?cPath=4_2&amp;amp;products_id=72 TWOG Bundle5]&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/product_info.php?cPath=4_2&amp;amp;products_id=67 Tiny2.11 Bundle1]&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/product_info.php?cPath=4_2&amp;amp;products_id=59 Assembled Tiny2.11 &amp;quot;LEA-5H GPS&amp;quot;] ('''latest u-blox GPS module''')&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/index.php?cPath=7 GPS Antenna]&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/index.php?cPath=4_2 Autopilots] '''TWOG''', '''Tiny2.11 (In Stock Now)'''&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/index.php?cPath=6 Cables]&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/index.php?cPath=8 GPS modules]&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/index.php?cPath=5 IR Sensors] &lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/product_info.php?products_id=29 Tiny2.11 bare PCB]&lt;br /&gt;
&amp;lt;li&amp;gt;...and more...visit site for latest items added&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;'''''ABOUT US:'''''&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;We are Paparazzi Project users ourselves. However we are also business people and know how to take care of our customers.  Since our customers are University Faculty, students and Paparazzi Members our pricing includes an Academic discount. Since we do charge for the service we make sure you get the best service possible at a competative price. No issues, no hassles, shipped promptly and reliably. What you can expect:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;We reply to all emails promptly. You can call us if you need to. We return all phone calls the same day. &lt;br /&gt;
&amp;lt;li&amp;gt;We keep most items in stock. If not it's something we can get in only a day or two.&lt;br /&gt;
&amp;lt;li&amp;gt;We spend a lot of time making sure your order is filled and shipped quickly&lt;br /&gt;
&amp;lt;li&amp;gt;Ask us questions, we will gladly either answer it or help you to contact the right people to get that answer&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For the latest product offerings please visit the Web Store [http://www.ppzuav.com/osc/catalog PPZUAV]&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Important Information about [[PPZUAV_SHIPPING]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
= [http://www.sparkfun.com Sparkfun] =&lt;br /&gt;
[[image:P1030095.jpg|thumb|400px|Sparkfun]]&lt;br /&gt;
Sparkfun is a great source of miscelaneous electronics like:&lt;br /&gt;
* Gyros&lt;br /&gt;
* Accelerometers&lt;br /&gt;
* Pressure sensors&lt;br /&gt;
* Ultrasonic distance sensors&lt;br /&gt;
* Temperature/humidity sensors&lt;br /&gt;
* USB to Serial converters&lt;br /&gt;
* LEDs&lt;br /&gt;
* Etc.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Telemetry&amp;diff=4071</id>
		<title>Telemetry</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Telemetry&amp;diff=4071"/>
		<updated>2008-09-29T03:22:51Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: /* Messages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Messages ==&lt;br /&gt;
The set of periodic messages sent over the downlink channel by an aircraft to the ground station is configurable&lt;br /&gt;
with the help of one XML file, located in the &amp;lt;tt&amp;gt;conf/telemetry&amp;lt;/tt&amp;gt; directory. This file is called by &amp;lt;tt&amp;gt;conf/conf.xml&amp;lt;/tt&amp;gt; and must follow the&lt;br /&gt;
&amp;lt;tt&amp;gt;telemetry.dtd&amp;lt;/tt&amp;gt; syntax. The &amp;lt;tt&amp;gt;default.xml&amp;lt;/tt&amp;gt; is provided as an example and should be suitable for most users:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;!DOCTYPE telemetry SYSTEM &amp;quot;telemetry.dtd&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;telemetry&amp;gt;&lt;br /&gt;
  &amp;lt;process name=&amp;quot;Ap&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;mode name=&amp;quot;default&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;message name=&amp;quot;ATTITUDE&amp;quot; period=&amp;quot;0.5&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;message name=&amp;quot;PPRZ_MODE&amp;quot; period=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;/mode&amp;gt;&lt;br /&gt;
    &amp;lt;mode name=&amp;quot;fast attitude&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;message name=&amp;quot;ATTITUDE&amp;quot; period=&amp;quot;0.1&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/mode&amp;gt;&lt;br /&gt;
 &amp;lt;/process&amp;gt;&lt;br /&gt;
  &amp;lt;process name=&amp;quot;Fbw&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;mode name=&amp;quot;default&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;message name=&amp;quot;COMMANDS&amp;quot; period=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
      ...&lt;br /&gt;
    &amp;lt;/mode&amp;gt;&lt;br /&gt;
    &amp;lt;mode name=&amp;quot;debug&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;message name=&amp;quot;PPM&amp;quot; period=&amp;quot;0.5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/mode&amp;gt;&lt;br /&gt;
  &amp;lt;/process&amp;gt;&lt;br /&gt;
 &amp;lt;/telemetry&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Specific Messages===&lt;br /&gt;
&lt;br /&gt;
====GPS_SOL====&lt;br /&gt;
Specification in telemetry file&lt;br /&gt;
 &amp;lt;message name=&amp;quot;GPS_SOL&amp;quot;        period=&amp;quot;2.0&amp;quot;/&amp;gt;&lt;br /&gt;
Example from logfile(.data):&lt;br /&gt;
 6.742 1 GPS_SOL 232 43 198 8&lt;br /&gt;
&lt;br /&gt;
Meaning of tokens:&lt;br /&gt;
 Timestamp, Aircraft-Number, GPS_SOL, Pacc, Sacc, PDOP, numSV&lt;br /&gt;
*Pacc = Position accuracy (units: CM)&lt;br /&gt;
*Sacc = Speed accuracy (units: CM/sec ?)&lt;br /&gt;
*PDOP = ?&lt;br /&gt;
*numSV = number of satellites detected&lt;br /&gt;
&lt;br /&gt;
===Configuring the Downlink Data Rate===&lt;br /&gt;
&lt;br /&gt;
The limited throughput of our RF modems results in a need to carefully choose which data to send, as well as the frequency at which to send it.  A sophisticated set of files and parameters have been developed in order to tailor the data downlink behavior automatically, manually, temporarily, or permanently according to any desired parameter.  This allows the user to create an almost unlimited possibility of downlink configurations.  For example:&lt;br /&gt;
* Tailor the data rate to work with very slow modems (9600 baud or slower)&lt;br /&gt;
* Reduce the data rate of some messages so that others can be increased:&lt;br /&gt;
*: Automatically send GPS data at a very high rate by sacrificing navigation data when not flying (to help GPS/RFI troubleshooting) then automatically reduce the GPS data rate and send normal navigation data when the launch is initiated.&lt;br /&gt;
*: Automatically switch to sending only position data upon landing to conserve power and increase the chance of the operator receiving a position packet when recovering a distant aircraft.&lt;br /&gt;
*: Manually send selected sensor data at very high speeds (60Hz) for real time tuning.&lt;br /&gt;
* Maintain independent telemetry configurations for aircraft with different modems, sensors, or mission profiles.&lt;br /&gt;
&lt;br /&gt;
Any number of configuration files can be created in the &amp;lt;tt&amp;gt;conf/telemetry&amp;lt;/tt&amp;gt; directory and selected from the &amp;lt;tt&amp;gt;conf/conf.xml&amp;lt;/tt&amp;gt; file.  The telemetry downlink is divided into two processes, '''Ap''' and '''Fbw''' each with a possible &amp;lt;tt&amp;gt;mode&amp;lt;/tt&amp;gt; option.  Any number of modes could be created, the default is the first in the sequence. A mode contains the list of messages to be sent as well as the period of each message in seconds. In this example, the '''ATTITUDE''' message will be sent by the '''Ap''' process at 2Hz in the default mode and at 10Hz in the '''fast attitude''' mode. The maximum allowed frequency is 60Hz (0.017s) and the maximum period is 1092s.&lt;br /&gt;
&lt;br /&gt;
The mode can be chosen in the airframe file by setting the '''TELEMETRY_MODE_FBW''' constant:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;define name=&amp;quot;TELEMETRY_MODE_FBW&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
where the (default) first mode is numbered '''0'''.&lt;br /&gt;
&lt;br /&gt;
This mode can also be changed dynamically with a datalink [[#Settings|setting]] or with a [[Flight_Plans#set|set]] stage in the flight plan.&lt;br /&gt;
&lt;br /&gt;
Note that an (undocumented!) subset of the messages is required to be able to use ground station properly. So it is not advisable to completely remove messages for the '''Ap''' process listed in the default mode.&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;settings&amp;lt;/tt&amp;gt; attribute in the description of the aircraft in &amp;lt;tt&amp;gt;conf.xml&amp;lt;/tt&amp;gt; allows the user to specify a list of variables for which values can be changed in-flight:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;aircraft &lt;br /&gt;
  name=&amp;quot;Microjet&amp;quot;&lt;br /&gt;
  ...&lt;br /&gt;
  settings=&amp;quot;settings/basic.xml&amp;quot;&lt;br /&gt;
  ...&lt;br /&gt;
 /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with the &amp;lt;tt&amp;gt;basic.xml&amp;lt;/tt&amp;gt; file located in &amp;lt;tt&amp;gt;conf/settings/&amp;lt;/tt&amp;gt;. A &amp;lt;tt&amp;gt;dl_setting&amp;lt;/tt&amp;gt; element in this file associates [[GCS#Settings|buttons or sliders in the GCS interface]] to autopilot variables:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;!DOCTYPE settings SYSTEM &amp;quot;settings.dtd&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;settings&amp;gt;&lt;br /&gt;
  &amp;lt;dl_settings&amp;gt;&lt;br /&gt;
    &amp;lt;dl_settings NAME=&amp;quot;flight params&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;dl_setting MAX=&amp;quot;1000&amp;quot; MIN=&amp;quot;-50&amp;quot; STEP=&amp;quot;10&amp;quot; VAR=&amp;quot;altitude_shift&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/dl_settings&amp;gt;&lt;br /&gt;
    &amp;lt;dl_settings NAME=&amp;quot;mode&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;dl_setting MAX=&amp;quot;2&amp;quot; MIN=&amp;quot;0&amp;quot; STEP=&amp;quot;1&amp;quot; VAR=&amp;quot;pprz_mode&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;strip_button name=&amp;quot;AUTO2&amp;quot; value=&amp;quot;2&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/dl_setting&amp;gt;&lt;br /&gt;
      &amp;lt;dl_setting MAX=&amp;quot;1&amp;quot; MIN=&amp;quot;0&amp;quot; STEP=&amp;quot;1&amp;quot; VAR=&amp;quot;launch&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;strip_button name=&amp;quot;Launch&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/dl_setting&amp;gt;&lt;br /&gt;
      &amp;lt;dl_setting MAX=&amp;quot;1&amp;quot; MIN=&amp;quot;0&amp;quot; STEP=&amp;quot;1&amp;quot; VAR=&amp;quot;kill_throttle&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/dl_settings&amp;gt;&lt;br /&gt;
  &amp;lt;/dl_settings&amp;gt;&lt;br /&gt;
 &amp;lt;/settings&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
where &amp;lt;tt&amp;gt;dl_settings&amp;lt;/tt&amp;gt; elements can be nested at any depth. A &amp;lt;tt&amp;gt;dl_setting&amp;lt;/tt&amp;gt; element just specifies the name of the variable, the allowed range for the setting (&amp;lt;tt&amp;gt;min&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;max&amp;lt;/tt&amp;gt; attributes) and the minimal &amp;lt;tt&amp;gt;step&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A notebook page will be associated in the GUI to each &amp;lt;tt&amp;gt;dl_settings&amp;lt;/tt&amp;gt; element. A slider will be associated to each &amp;lt;tt&amp;gt;dl_setting&amp;lt;/tt&amp;gt; entry except if the range is small (typically less than 3) and discrete (step=1): in the latter case, a set of radio buttons will be displayed.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;strip_button&amp;lt;/tt&amp;gt; element adds a button to the [[GCS#Strip|GCS strip]] for commonly used tasks like &amp;quot;Launch&amp;quot; or &amp;quot;Circle&amp;quot;. Multiple buttons can be used to assign different values to the same variable.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;param&amp;lt;/tt&amp;gt; attribute of a &amp;lt;tt&amp;gt;dl_setting&amp;lt;/tt&amp;gt; element allows to specify the corresponding parameter in the airframe file in order to save a tuned value:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;dl_setting max=&amp;quot;0.3&amp;quot; min=&amp;quot;-0.3&amp;quot; step=&amp;quot;0.01&amp;quot; var=&amp;quot;ir_roll_neutral&amp;quot; param=&amp;quot;IR_ROLL_NEUTRAL_DEFAULT&amp;quot; unit=&amp;quot;rad&amp;quot;/&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
where the &amp;lt;tt&amp;gt;unit&amp;lt;/tt&amp;gt; attribute is required for the parameters which do not use the same unit than the corresponding variable (currently only for some angle parameters in degrees in the airframe file and in radians for the variable).&lt;br /&gt;
&lt;br /&gt;
== R/C Transmitter Data Uplink (Obsolete) ==&lt;br /&gt;
&lt;br /&gt;
With the advent of small modems such as the popular Zigbee-based models, the value of the R/C transmitter based data-link is substantially reduced and the audio-based downlink has also been removed from current hardware designs.  Nevertheless, this feature may still prove useful for extremely minimal hardware configurations.&lt;br /&gt;
The &amp;lt;tt&amp;gt;tuning_rc.xml&amp;lt;/tt&amp;gt; file is located in &amp;lt;tt&amp;gt;conf/settings&amp;lt;/tt&amp;gt;.&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;aircraft &lt;br /&gt;
  name=&amp;quot;Microjet&amp;quot;&lt;br /&gt;
  ...&lt;br /&gt;
  settings=&amp;quot;settings/tuning_rc.xml&amp;quot;&lt;br /&gt;
  ...&lt;br /&gt;
 /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
A &amp;lt;tt&amp;gt;rc_settings&amp;lt;/tt&amp;gt; element in this file associates switches and sliders of the RC to airborne variables:&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;!DOCTYPE settings SYSTEM &amp;quot;settings.dtd&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;!-- A conf to use to tune an A/C using only the rc --&amp;gt;&lt;br /&gt;
 &amp;lt;settings&amp;gt;&lt;br /&gt;
  &amp;lt;rc_settings&amp;gt;&lt;br /&gt;
    &amp;lt;rc_mode NAME=&amp;quot;AUTO1&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;rc_setting VAR=&amp;quot;ir_pitch_neutral&amp;quot; RANGE=&amp;quot;2&amp;quot; RC=&amp;quot;gain_1_up&amp;quot; TYPE=&amp;quot;float&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;rc_setting VAR=&amp;quot;ir_roll_neutral&amp;quot; RANGE=&amp;quot;-2&amp;quot; RC=&amp;quot;gain_1_down&amp;quot; TYPE=&amp;quot;float&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/rc_mode&amp;gt;&lt;br /&gt;
    &amp;lt;rc_mode NAME=&amp;quot;AUTO2&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;rc_setting VAR=&amp;quot;course_pgain&amp;quot; RANGE=&amp;quot;0.1&amp;quot; RC=&amp;quot;gain_1_up&amp;quot; TYPE=&amp;quot;float&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;rc_setting VAR=&amp;quot;pitch_of_roll&amp;quot; RANGE=&amp;quot;.2&amp;quot; RC=&amp;quot;gain_1_down&amp;quot; TYPE=&amp;quot;float&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/rc_mode&amp;gt;&lt;br /&gt;
  &amp;lt;/rc_settings&amp;gt;&lt;br /&gt;
 &amp;lt;/settings&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
First, settings are sorted by mode (&amp;lt;tt&amp;gt;AUTO1&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;AUTO2&amp;lt;/tt&amp;gt;). Then a setting is composed of a &amp;lt;tt&amp;gt;var&amp;lt;/tt&amp;gt;iable name, a &amp;lt;tt&amp;gt;range&amp;lt;/tt&amp;gt; (corresponding to the range of the RC slider) and a &amp;lt;tt&amp;gt;RC&amp;lt;/tt&amp;gt; name. The RC name prefix can be ''gain_1'' or ''gain_2'', which corresponds to the &amp;lt;tt&amp;gt;GAIN1&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;GAIN2&amp;lt;/tt&amp;gt; channels of your RC transmitter [[Radio_Control|configuration]]. The RC name suffix can be ''up'' or ''down'', which is related to the position of the &amp;lt;tt&amp;gt;CALIB&amp;lt;/tt&amp;gt; switch on the RC transmitter.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Tuning&amp;diff=3979</id>
		<title>Tuning</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Tuning&amp;diff=3979"/>
		<updated>2008-08-20T14:19:01Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page provides some tips and guidelines for tuning a new aircraft.  Be sure to familiarize yourself with the theory of [[Theory_of_Operation#PID|PID Controllers]] before you begin. Use of the [[RTPlotter|real time plotter]] may help to visualize and understand the behavior of the control loops. Review [http://paparazzi.enac.fr/wiki/index.php/Image:Users_manual.pdf User Manual] as well.&lt;br /&gt;
&lt;br /&gt;
== Sensors ==&lt;br /&gt;
&lt;br /&gt;
=== Neutrals ===&lt;br /&gt;
* Put the aircraft in a styrofoam container or completely seal the IR sensors with styrofoam or similar blocks and get a reading of the neutrals for each axis.  Also take the gyro neutrals at this time.  Update your airframe file, flash the AP and re-check the neutrals.&lt;br /&gt;
&lt;br /&gt;
Using the roll gyro as a worked example: Run up your GCS and ensure it &lt;br /&gt;
is communicating with your airframe. Make sure your airframe is roughly &lt;br /&gt;
level and that it cannot move. Now run the Messages Tool and the [[RTPlotter|real time plotter]] tool. The messages tool will have lots of flashing lights &lt;br /&gt;
indicating when it receives various telemetry packets.  In the Messages &lt;br /&gt;
tool, Click on Gyro Rates and you should see a list of variables.  Click &lt;br /&gt;
on Roll_ADC and drag and drop in onto the main window of the Real Time plotter.  Now give it a while to build a stable graph.&lt;br /&gt;
&lt;br /&gt;
Once things have been running this way for a while, in the Real Time &lt;br /&gt;
Plotter, click on Curves in the menu and select the &lt;br /&gt;
1:telemetry:GYRO_RATES:Roll_ADC entry.  As you select it, you should see &lt;br /&gt;
the average and standard deviation values.  We need the average value.  &lt;br /&gt;
Jot down the number you have.  I have -24.536.&lt;br /&gt;
&lt;br /&gt;
Now go edit your airframe file and look for the ADC_ROLL_NEUTRAL value. &lt;br /&gt;
In my airframe file the value is 520.  As my average value from the Plotter is a &lt;br /&gt;
negative figure, it indicates that the roll Neutral is too high, subtract the average value from the present setting. So I edited my airframe file to be 495.464 (520-24.536).&lt;br /&gt;
&lt;br /&gt;
Recompile and reflash (Don't worry about restarting the GCS, The &lt;br /&gt;
messages program or the other running processes - they will catch up just &lt;br /&gt;
fine after flashing).  Once the Board is back up and the plotter continues, reset it from the menu to get rid of the average. Watch it for a while and check that the line and acculmulated average is on or around 0. You are done.  Use the same process for the IR sensors!&lt;br /&gt;
&lt;br /&gt;
=== Directions ===&lt;br /&gt;
* Reverse any servos and make sure no mechanical binding occurs at the limits of travel in Manual mode.&lt;br /&gt;
* Take the plane outside and engage AUTO1.  Bank and pitch the plane and verify that the controls respond in the correct direction.  Note that your body will have a tremendous impact on the measured angles.&lt;br /&gt;
* Verify that AUTO1 stick movements respond in the correct direction - important!&lt;br /&gt;
* Move the plane rapidly to ensure the gyro response resists motion - increase the gain if needed for better visualization.&lt;br /&gt;
&lt;br /&gt;
== R/C, Modem, and GPS ==&lt;br /&gt;
Make sure the GPS signal is strong (outdoors) - you should have a 3-D fix in less than 1 minute and at least some satellite signals above 40dB. The plane should not drift on the map by more than 10 meters.  Perform a range test of R/C and modem signals.&lt;br /&gt;
&lt;br /&gt;
== Trim ==&lt;br /&gt;
&amp;lt;b&amp;gt;Important: You must never keep any trim, mixers, or rates in your R/C transmitter.&amp;lt;/b&amp;gt;  R/C trim can be applied in flight but must be corrected and removed on the ground before attempting autonomous flight.  Exponential can be useful and will not adversely affect AUTO1 flight but if &amp;quot;low rates&amp;quot; are needed they should be programmed on the same transmitter switch with AUTO1 so that you always have full travel in AUTO1.&lt;br /&gt;
* Fly the plane at what you feel is a suitable &amp;quot;cruise&amp;quot; throttle setting and set the trims.  Note that setting in the GCS and try to return to that exact setting in subsequent tests.  Enter that throttle setting in your airframe file.&lt;br /&gt;
* Check maximum pitch and roll response and adjust the mixer parameters or mechanical linkages after landing.&lt;br /&gt;
* Land and adjust the linkages.  If necessary, the PPM values can be read from the GCS and servo neutrals adjusted electronically, but manual adjustment will produce far better results.&lt;br /&gt;
* Fly again to verify trim and control response.  If satisfactory, check for any significant throttle-dependent roll.  Again, this is best to correct mechanically but can be addressed with the ''AILERON_OF_THROTTLE'' mixer in the autopilot.  Check also for any odd behavior at full throttle.&lt;br /&gt;
* Make sure that GPS and modem data is reliable during these test flights. Note particularly any tendency for the aircraft to appear to fly sideways on the map - this is an indication of weak GPS signals.&lt;br /&gt;
&lt;br /&gt;
== Auto 1 ==&lt;br /&gt;
* Engage Auto1 and ''immediately'' make sure you can turn both left and right!&lt;br /&gt;
* Fly at your &amp;quot;cruise&amp;quot; throttle and adjust the ''ROLL_PGAIN'' until the plane doesn't quite oscillate&lt;br /&gt;
* Adjust the IR roll neutral as needed&lt;br /&gt;
* Verify adequate pitch response and adjust PITCH_PGAIN as needed&lt;br /&gt;
* Experiment with different throttle settings and tune P and D gains as needed&lt;br /&gt;
&lt;br /&gt;
== Auto 2 ==&lt;br /&gt;
* Engage Auto2 and you're done!&lt;br /&gt;
&lt;br /&gt;
==Alternate Tuning Procedure==&lt;br /&gt;
Danstah wrote up a tuning procedure on this website http://www.engr.usu.edu/wiki/index.php/OSAMtuning&lt;br /&gt;
&lt;br /&gt;
==Other Misc things before flying==&lt;br /&gt;
It's very important to address the issue of low voltage cut-off before flying. There's a good chance that the LVC will kick in on the brushless ESC before the Paparazzi detects it. If this happens, the ESC cut's off throttle, and there's no way the autopilot knows this, the plane keeps loosing altitude, the autopilot tries to increase throttle, but the ESC does not respond, almost always leading to a mishap. To avoid this, either turn off the LVC on the ESC, OR, make sure the autopilot kills throttle first, by programming the CATASTROPHIC_BAT_LEVEL to something higher than the ESC LVC. For example, set CATASTROPHIC_BAT_LEVEL to 9.5V, and the ESC LVC at 9V. Don't ask how we know, it was a safe landing into a small tree :) No damage. BUT you cant get lucky always!&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:BU4051BCFchipConnections.JPG&amp;diff=3965</id>
		<title>File:BU4051BCFchipConnections.JPG</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:BU4051BCFchipConnections.JPG&amp;diff=3965"/>
		<updated>2008-08-07T00:20:50Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: This is a diagram of the connections to the BU4051BCF chip in a Futaba T6EXAP transmitter.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a diagram of the connections to the BU4051BCF chip in a Futaba T6EXAP transmitter.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:SwitchWiringDiagram.JPG&amp;diff=3963</id>
		<title>File:SwitchWiringDiagram.JPG</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:SwitchWiringDiagram.JPG&amp;diff=3963"/>
		<updated>2008-08-06T23:57:44Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: 3 position switch wiring for installation into Futaba T6EXAP&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;3 position switch wiring for installation into Futaba T6EXAP&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:3positionswitch.JPG&amp;diff=3962</id>
		<title>File:3positionswitch.JPG</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:3positionswitch.JPG&amp;diff=3962"/>
		<updated>2008-08-06T23:56:28Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: 3 position switch installed on channel 6 of Futaba T6EXAP transmitter.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;3 position switch installed on channel 6 of Futaba T6EXAP transmitter.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Get_Hardware&amp;diff=3961</id>
		<title>Get Hardware</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Get_Hardware&amp;diff=3961"/>
		<updated>2008-08-06T18:57:28Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: Added link to thread discussing Halfbase.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Paparazzi project began in 2003 with the goal of creating a free and open-source UAV guidance system which could be easily adapted to a wide variety of aircraft for a wide variety of applications.  The system has since proved to be extremely successful and Paparazzi-based aircraft have won all top positions in every [[Gallery|flight contest]] in which they competed.&lt;br /&gt;
&lt;br /&gt;
As an open-source project, all source code and hardware plans are freely available on the internet for anyone to produce, use, modify, and redistribute in accordance with the [http://www.gnu.org/licenses/gpl.txt GPL License Agreement] which requires only that the open-source nature of the project be maintained by all who redistribute it.&lt;br /&gt;
&lt;br /&gt;
Paparazzi is currently being developed by several universities and a team of enthusiast volunteers from around the world.  It is used by private corporations, universities and hobbyists for an ever-increasing number of applications.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;[http://www.ppzuav.com/ PPZUAV]  &amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;NEW: '''''Tiny2.11 available now in stock ready to ship. We have both LEA-4P and LEA-5H models available. TWOG will also arrive in the next few days.'''''&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;PPZUAV has been providing Paparazzi Based products longer than anyone. Our experience shows and you can be confident you are buying from a company that has been providing Paparazi Hardware long before the competition started to copy us down to our e-commerce software and product mix. If their Web Store looks similar consider it proof we started something worth imitating.&amp;lt;br&amp;gt;&lt;br /&gt;
PPZUAV firsts:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; first to offer Paparazzi Assemblies&lt;br /&gt;
&amp;lt;li&amp;gt; first to offer free USB programming cables with Assembled [http://ppzuav.com/osc/catalog/product_info.php?products_id=59 Tiny] Purchases&lt;br /&gt;
&amp;lt;li&amp;gt; first to offer free programming of the boot loader and GPS configuration with Assembled [http://ppzuav.com/osc/catalog/product_info.php?products_id=59 Tiny] Purchases&lt;br /&gt;
&amp;lt;li&amp;gt; first to stock inventory for assemblies&lt;br /&gt;
&amp;lt;li&amp;gt; first to use Lower Cost Offshore FAB and Assembly to pass on the savings to our customers&lt;br /&gt;
&amp;lt;li&amp;gt; first to offer educational discounts to Universities and Students&lt;br /&gt;
&amp;lt;li&amp;gt; first to offer WorldWide International Shipping using major carriers&lt;br /&gt;
&amp;lt;li&amp;gt; first to accept Major Credit cards as well as PayPal&lt;br /&gt;
&amp;lt;li&amp;gt; first to warranty our assemblies against manufacturing defects&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;At PPZUAV we are leaders and will continue to do so. When it comes to doing the extras that make your purchase easier we are the first to do it. So order with confidence that we have done this longer, offer more value and will continue to provide exceptional service to all of our customers. &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;We know it can be daunting to discover Paparazzi and wonder what to do first. So we take care of the basics for you before shipping. Each [http://ppzuav.com/osc/catalog/product_info.php?cPath=4_2&amp;amp;products_id=35 Fully Assembled Tiny2.11] ready to program another feature the competition is just now starting to offer. How we do this: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;We load the bootloader&lt;br /&gt;
&amp;lt;li&amp;gt;configure the GPS module &lt;br /&gt;
&amp;lt;li&amp;gt;We load a sample tiny2.11 program into it. &lt;br /&gt;
&amp;lt;li&amp;gt;We verify it runs the program (LED1/RED flashes) &lt;br /&gt;
&amp;lt;li&amp;gt;Then acquires a 3D fix (LED2/GREEN flashes).&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
What you get is a working ready to configure for your aircraft assembly. Please eMail '''sales@ppzuav.com''' with any questions or special requests. &lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
[http://www.ppzuav.com/osc/catalog Visit the PPZUAV WebStore]&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;'''''NEW'''''[http://ppzuav.com/osc/catalog/product_info.php?cPath=4_2&amp;amp;products_id=59 Assembled Tiny2.11 &amp;quot;LEA-5H GPS&amp;quot;] ('''latest u-blox GPS module''')&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/index.php?cPath=7 GPS Antenna]&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/index.php?cPath=4_2 Autopilots] '''TWOG''', '''Tiny2.11 (In Stock Now)'''&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/index.php?cPath=6 Cables]&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/index.php?cPath=8 GPS modules]&lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/index.php?cPath=5 IR Sensors] &lt;br /&gt;
&amp;lt;li&amp;gt;[http://ppzuav.com/osc/catalog/product_info.php?products_id=29 Tiny2.11 bare PCB]&lt;br /&gt;
&amp;lt;li&amp;gt;...and more...visit site for latest items added&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;'''''All Assemblies are factory assembled using robotic pick and place machines by [http://www.myropcb.com MyroPCB]. This assures all Products are exactly the same. Our lead time is now only 14 days! So if it's out of Stock We will have it quickly. The process is strictly controlled under ISO 9002 or ISO 9001 and IPC standards. The PCB Factory has been in operation since 1994 in ShenZhen China and the Assembly Factory has been in operation since 1998. Due to the low labor costs in China we are able to offer exceptional quality at an exceptional price.'''''&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;''Please check the [http://www.ppzuav.com/ PPZUAV website] often as we expand our product offering''. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Mantis Electronics [http://mantiselec.com (Website)]&amp;lt;/h2&amp;gt;&lt;br /&gt;
Mantis Electronics is pleased to offer assembled Tiny 2.11, IR boards, GPS modules, USB-TTL interface boards, 3-Axis I2C/SPI accelerometer boards, and accessories for immediate order.&lt;br /&gt;
Our boards are solder paste stencilled, reflow soldered and 100% tested.&lt;br /&gt;
&amp;lt;h3&amp;gt;Our Items:&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Tiny 2.11 assembled with LEA-4P and GPS antenna: &amp;lt;b&amp;gt;$250&amp;lt;/b&amp;gt; ($260 with Molex Picoblade connectors)&lt;br /&gt;
&amp;lt;li&amp;gt;2-Axis IR board with IR sensors: &amp;lt;b&amp;gt;$75&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;1-Axis IR board with IR sensors: &amp;lt;b&amp;gt;$55&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;u-blox LEA-4P GPS module: &amp;lt;b&amp;gt;$75&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;USB&amp;lt;-&amp;gt;TTL Serial board: &amp;lt;b&amp;gt;$15&amp;lt;/b&amp;gt; (useful for programming and telemetry)&lt;br /&gt;
&amp;lt;li&amp;gt;3-Axis I2C/SPI accelerometer board: &amp;lt;b&amp;gt;$35&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;MLX90247 IR sensors: &amp;lt;b&amp;gt;$12&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Tiny 2.11 bare PCB: &amp;lt;b&amp;gt;$10&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;2-Axis IR bare PCB: &amp;lt;b&amp;gt;$5&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;1-Axis IR bare PCB: &amp;lt;b&amp;gt;$5&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
Current lead time for orders is 3 weeks.  USA shipping is $6. International shipping is $15.&lt;br /&gt;
&amp;lt;br&amp;gt;Please see our website http://mantiselec.com/paparazzi.html to order.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;RCTECHNIX&amp;lt;/h2&amp;gt;&lt;br /&gt;
After numerous requests i am working on supplying all pcb's , parts , gps etc and will be fully supporting the paparazzi projects now and in the future , so please bear with Richard &amp;amp; Myself David (cncbasher), whilst we gather stocks and manufacture pcb's etc , enquirys can be made direct to paparazzi.pcb@rctechnix.com if you wish , a web site is in the process( now up and running see below ) of being put together which will incorporate sales of everything papparazzi , we will even help in getting your own built projects going if you are stuck so long as it's paparazzi based ! too , Bare PCB'S are now available for tiny13 v1.1 , classix v0.99 &amp;amp; dual_ir incl free 1st class postage ,whilst we work on getting the shop up and running if you need bare pcb's , they can be purchased using Paypal from our website http://www.rctechnix.com . we are currently assembling a few for testing and will announce availability shortly of assembled boards and complete kits , along with wiring harness's , usb lead's , gps , antennas &amp;amp; zigbee modules etc.&lt;br /&gt;
&lt;br /&gt;
Although the website is new , we hope to have stocks of almost everything you will need , and other rc supplies too .&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;&amp;quot;Halfbase&amp;quot;  Mass Produce - [http://shop.halfbase.com Your Benefit!]&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Some people have had problems with Halfbase. For more information see [http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=%22Order+from+HALFBASE%22&amp;amp;submit=Search&amp;amp;idxname=paparazzi-devel this thread] in the mailing list.&lt;br /&gt;
&lt;br /&gt;
Whats Aviation required? A Calm &amp;amp; experienced Pilot!  As for UAV, Realtime &amp;amp; Reliable System is essential!&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
Each '''Tiny is handmade''' by '''SMT master''', '''to withstand the most extreme environment in mind!'''&amp;lt;br&amp;gt;&lt;br /&gt;
Each connection is very strong, with extra solder on every Grounding &amp;amp; connector!  Whole available!&lt;br /&gt;
&lt;br /&gt;
'''All Assembled Tiny v2.11 / TWOG,  Now come standard 'ARTF'!'''&lt;br /&gt;
&lt;br /&gt;
* '''FREE Pre-programming ~''',&lt;br /&gt;
# Pre-load the bootloader + USB Tunnel&lt;br /&gt;
# Pre-configure latest GPS module ( LEA-5H )&lt;br /&gt;
# Programming using Paparazzi&lt;br /&gt;
# Testing if, Tiny v2.11 Running is OK&lt;br /&gt;
# Testing if, GPS success Locating in (4Hz)&lt;br /&gt;
&lt;br /&gt;
*'''FREE Cables''',&lt;br /&gt;
   &lt;br /&gt;
#      miniUSB- USB,  Programming Cable ( Sending 'Paparrazi Airframe setting' )&lt;br /&gt;
# miniUSB- Download,  Programming Cable ( Reflash 'Bootcode/GPS config' )&lt;br /&gt;
#       Power Cable,  (Male + Female + Cable) Detachable&lt;br /&gt;
#  3,4pins IR Cable,  Molex Picoblade type connector Cable, for your 1-asix &amp;amp; 2-asix IR sensor Boards.&lt;br /&gt;
&lt;br /&gt;
*'''FREE 14pcs Pre-crimped both end 1.25mm Pico-blade 'Male connector Cables with 30cm long ~ '''&lt;br /&gt;
&lt;br /&gt;
#  6pcs x 3 pins Cable  &lt;br /&gt;
#  4pcs x 5 pins Cable&lt;br /&gt;
#  2pcs x 7 pins Cable&lt;br /&gt;
#  2psc x 8 pins Cable&lt;br /&gt;
&lt;br /&gt;
*'''FREE Programming Adaptor:''' &lt;br /&gt;
#  1pcs x '''FTDI-chip FT232R 3.3v USB''' to Serial  (Manual Jumper available to 3.3v/5v setting) &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''Status:- ~ All PCB, Kits &amp;amp; Assembled ready to ship - Next day! [http://shop.halfbase.com/index.php Live Stock available Now!] ~'''&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''''''▪~[http://shop.halfbase.com/product_info.php/products_id/37 Tiny v2.11 whole Kits: included &amp;quot;GPS LEA-5H + PicoBlade + USB Cable &amp;quot;$185&amp;quot;]&amp;lt;br&amp;gt;'''&amp;lt;br&amp;gt;&lt;br /&gt;
'''▪~ [http://shop.halfbase.com/index.php/cPath/32 Tiny V.2.11 Fully Assembled:  GPS + PicoBlade + USB Cable:  USD $285 ~ ]     ▪ ''' &amp;lt;br&amp;gt;&lt;br /&gt;
▪       '''Now! ~  All Kit included &amp;quot;USB Programming Cable&amp;quot;!! ~ Class 3 Standard !  Wholesale availiable'''&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
▪         1-Axis IR board with IR sensors: $35       ▪ [http://shop.halfbase.com/product_info.php/products_id/46 1-Axis IR bare PCB: $0.5] &amp;lt;br&amp;gt;&lt;br /&gt;
▪	2-Axis IR board with IR sensors: $55       ▪  [http://shop.halfbase.com/product_info.php/products_id/47 2-Axis IR bare PCB: $0.6] &amp;lt;br&amp;gt;&lt;br /&gt;
▪	MLX90247 IR sensors:  $8,    Nippon, Japan IR sensors: $5     &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
▪         UltraSonic Senor Module:  $60,              ▪  &amp;quot;UltraSonic Sensor  (Transmitter/receiver) $10/pair&amp;quot;&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
▪	u-blox LEA-4P  / LEA-5H GPS [http://shop.halfbase.com/index.php/cPath/22 Module:] $55   ▪[http://shop.halfbase.com/product_info.php/products_id/38 GPS Ceramic Antenna - 25mm/18mm] $5.00&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
▪         USB Programming Cable $10&lt;br /&gt;
▪         '''~  Picoblade 1.25mm (3/4/5/7/8)Pins, Male/Famale x 10   ~~ &amp;quot;$1 Only!&amp;quot; ~~''' &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Fuselage :- &lt;br /&gt;
▪         [http://shop.halfbase.com/product_info.php/products_id/42 Discus 4m] Fiberglass + air-brake $360                     ▪  Scorpio 2.6m  $168              ▪ [http://shop.halfbase.com/product_info.php/products_id/40 Predator] - body only $120&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Our intention is fully on Education Institute, we provide great discount offer to Research &amp;amp; institute!&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Send your require order to sale@halfbase.com&lt;br /&gt;
or&lt;br /&gt;
Visit [http://uav.halfbase.com uav.halfbase.com]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''''All profit we made, fully goes into a Project base charity we currently establishing.''''&amp;lt;br&amp;gt;&lt;br /&gt;
'''Aims to provide learning platform for school &amp;amp; institute, recruit interesting voluntary party to take parts, &amp;lt;br&amp;gt;&lt;br /&gt;
in assisting &amp;amp; directing, Lecture &amp;amp; Engineer those project ideas into reality, wisely &amp;amp; openly.  &amp;lt;br&amp;gt; &lt;br /&gt;
We're working toward to a successful &amp;amp; sustainable establishment, and smooth project invention growing!''' evolve together!&lt;br /&gt;
&lt;br /&gt;
== Olimex ==&lt;br /&gt;
&lt;br /&gt;
Fast PCB Prototypes&lt;br /&gt;
[http://www.olimex.com/pcb/ olimex.com]&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Simulation&amp;diff=3951</id>
		<title>Simulation</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Simulation&amp;diff=3951"/>
		<updated>2008-07-31T15:34:23Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: /* Why is it night in Flight Gear, if my sim is flying during the day? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes the steps needed to run a flight simulation from a new install.&lt;br /&gt;
&lt;br /&gt;
== Initializing a New Installation == &lt;br /&gt;
 &amp;lt;tt&amp;gt;paparazzi-make init&amp;lt;/tt&amp;gt;&lt;br /&gt;
to initialize your configuration files (in the &amp;lt;tt&amp;gt;~/paparazzi&amp;lt;/tt&amp;gt; directory)&lt;br /&gt;
and then&lt;br /&gt;
 &amp;lt;tt&amp;gt;paparazzi-make demo&amp;lt;/tt&amp;gt;&lt;br /&gt;
If you are working in the &amp;lt;tt&amp;gt;paparazzi3&amp;lt;/tt&amp;gt; source code, just start with &amp;lt;tt&amp;gt;make demo&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A '''control panel''' window is opened. Under the '''Sessions''' menu, choose '''Muret Sim''' ([http://maps.google.com/maps?f=q&amp;amp;hl=en&amp;amp;q=Muret,+France&amp;amp;ie=UTF8&amp;amp;om=1&amp;amp;z=13&amp;amp;iwloc=A Muret] is a village near Toulouse, France). This spawns several programs :&lt;br /&gt;
* '''Aircraft MJ5''' is the interface of a simulator program. It runs the same code than the one for the autopilot processor plus a rudimentary flight dynamic model. it allows you to test the interactions with the UAV and the flight plan execution.&lt;br /&gt;
* '''cockpitMM MJ5''' is a representation of a radio control transmitter used with this aircraft. It allows you to test the interactions available through that device.&lt;br /&gt;
* '''GCS''' ([[GCS|Ground Control Station]]) is the main window. It displays the track of the aircraft, as well as informations about the execution of its flight plans. This program provide menus for the datalink functions and is able to edit a flight plan.&lt;br /&gt;
* '''Gaia''' is the interface of the world simulator. It will distribute time ticks to the aircrafts simulator and allow acces to global parameters like wind, temperature used by the infrared sensor, and GPS coverage.&lt;br /&gt;
&lt;br /&gt;
== Start the Simulation ==&lt;br /&gt;
&lt;br /&gt;
Click the '''Boot''' button on the aircraft window. This boots your aircraft, as if you were powering the autopilot. The aircraft starts to send messages to the ground station. Its position and its flight parameters are displayed in the GCS window.&lt;br /&gt;
&lt;br /&gt;
The map widget is able use many map formats and display them according to many projections. To make things simple, we start by using images from [http://maps.google.com Google]. Under the '''Maps''' menu in the GCS, choose '''GoogleMaps Fill'''. The program attempts to download the required satellite images from the Google servers. If it succeeds, you should now see the nice countryside of Muret. Navigation and other features of the map are described on the [[GCS#map|GCS]] page.&lt;br /&gt;
&lt;br /&gt;
The lower part of the GCS displays the flight plan in a tree view. You see that the current flight plan is composed of four ''blocks'':&lt;br /&gt;
* '''survey road 1'''&lt;br /&gt;
* '''survey road 2'''&lt;br /&gt;
* '''wait'''&lt;br /&gt;
* '''go too far'''&lt;br /&gt;
Open the active block: the active ''stage'' in the block is highlighted.&lt;br /&gt;
&lt;br /&gt;
== Fly ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;block name=&amp;quot;survey road 1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;go wp=&amp;quot;road_start&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;go wp=&amp;quot;road_end&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/block&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This block is about the simplest you can write. It flies the aircraft to waypoint '''road_start''', then to waypoint '''road_end'''. The vertical control mode is unspecified and defaults to '''altitude hold'''. Being unspecified, the target altitude is the waypoint's one (250m for these two waypoints).&lt;br /&gt;
&lt;br /&gt;
In the Simulator, press the '''Launch''' button to simulate a hand launch. The autopilot detects the launch by monitoring the groundspeed. The flight time (in the aircraft label on the GCS) then starts to count.&lt;br /&gt;
&lt;br /&gt;
Position of the aircraft is displayed on the map: the aircraft goes to the '''road_start''' waypoint (to the west) and then to the '''road_end''' waypoint (to the east). Current stage also changes accordingly in the flight plan display.&lt;br /&gt;
&lt;br /&gt;
The orange triangle (the carrot) on the map is the point that the aircraft is navigating toward. The aircraft proceeds through the two waypoints then proceeds on to the next block.&lt;br /&gt;
&lt;br /&gt;
== Fly forever ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;while cond=&amp;quot;TRUE&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;go wp=&amp;quot;road_start&amp;quot; from=&amp;quot;road_end&amp;quot; hmode=&amp;quot;route&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;go wp=&amp;quot;road_end&amp;quot; from=&amp;quot;road_start&amp;quot; hmode=&amp;quot;route&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/while&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This block is not much more complicated than the previous one. It shows another horizontal mode which is named '''route'''. The aircraft returns to waypoint '''road_start''' and then proceeds to '''road_end''' staying on the line between the waypoints. It is displayed on the map by a green line where the target point (the orange triangle) is moving along.&lt;br /&gt;
&lt;br /&gt;
The two &amp;lt;tt&amp;gt;go&amp;lt;/tt&amp;gt; stages are here inserted into a &amp;lt;tt&amp;gt;while&amp;lt;/tt&amp;gt; element with an ever-true condition: the aircraft loops forever between the two waypoints.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Circle ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;block name=&amp;quot;circle&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;circle wp=&amp;quot;road_end&amp;quot; ALT=&amp;quot;ground_alt+50&amp;quot; radius=&amp;quot;75&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/block&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jump to this block with double-click on the &amp;lt;tt&amp;gt;block&amp;lt;/tt&amp;gt; line (or using the '''MJ5''' aircraft menu, '''Datalink''', '''Jump to block''', '''circle'''). The aircraft circles clockwise around the '''road_end''' waypoint.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Fly too far ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;go wp=&amp;quot;too far&amp;quot;&lt;br /&gt;
 circle wp=&amp;quot;too far&amp;quot; radius=&amp;quot;50&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This block is here to demonstrate the ''home mode'' feature of the autopilot. The navigation system has a an allowed zone that it must not leave or it will enter an emergency navigation mode and circles the '''HOME''' waypoint until the further direction is received. This safety zone is displayed as a circle on the map.&lt;br /&gt;
&lt;br /&gt;
Jump to this block by double-cliking on it.&lt;br /&gt;
&lt;br /&gt;
The aircraft flies to the '''too far''' waypoint, cross the protection enveloppe and switches to ''home'' mode: the AP mode in the aircraft strip switches from '''AUTO2''' to '''HOME'''.&lt;br /&gt;
&lt;br /&gt;
To get out of this mode and switch back to the default '''AUTO2''', click on the '''AUTO2''' button in the aircraft strip. The aircraft then flies again towards '''too far''' and again swithes to '''HOME''' mode.&lt;br /&gt;
&lt;br /&gt;
== Move the waypoint ==&lt;br /&gt;
&lt;br /&gt;
Waypoints are moveable during flight: You can left-click and drag the '''too far''' waypoint inside the blue safety circle. Get out of the '''HOME''' mode ('''AUTO2''' button) and the aircraft will go circling around the now not '''too far''' waypoint.&lt;br /&gt;
&lt;br /&gt;
Click on the '''too far''' waypoint; A dialog box pops up. You can change the altitude of the waypoin by editing it with the keyboard or using the '''-10''' and '''+10''' buttons. CLick '''Ok''' and '''Send WPs'''. You can look at the altitude change in the aircraft strip.&lt;br /&gt;
&lt;br /&gt;
You now can survey the line you want with the '''survey road 2''' block by moving the two waypoints. You can move them while the aircraft is flying from one to the other and the line will be updated in real-time.&lt;br /&gt;
&lt;br /&gt;
== Change the environment ==&lt;br /&gt;
&lt;br /&gt;
The '''Gaia''' interface allows the user to change:&lt;br /&gt;
* The wind: Set up a wind speed of 5m/s and observe the trajectory and the speed evolution (in the aircraft strip and in the '''PFD''' page of the notebook).&lt;br /&gt;
* The GPS coverage: Shut down the GPS ('''GPS OFF''') and observe the resulting mode ('''NO_GPS''') and trajectory. In this mode, the autopilot uses the failsafe roll, pitch and throttle settings defined in the airframe file. Note that in a real flight, an aircraft without GPS won't be able to send its position ... The simulation is cheating here !&lt;br /&gt;
* The time scale: If you are in a hurry ... (bug: adjusting the time scale may affect the navigation behavior)&lt;br /&gt;
&lt;br /&gt;
== View the simulation in Flight Gear ==&lt;br /&gt;
&lt;br /&gt;
To view the simulation in Flight Gear, do the following:&lt;br /&gt;
* In Paparazzi Center, add the -fg option plus the IP address of the machine running flightgear:&lt;br /&gt;
 /home/your_username/paparazzi/paparazzi3/sw/simulator/launchsitl -a TJ1 -fg 127.0.0.1 -boot -norc&lt;br /&gt;
* Launch Flight Gear with the following command:&lt;br /&gt;
 fgfs --fdm=null --native-gui=socket,in,30,,5501,udp&lt;br /&gt;
&lt;br /&gt;
=== Why is it night in Flight Gear, if my sim is flying during the day? ===&lt;br /&gt;
The time that is sent to Flight Gear is hard coded into the code, so if you try to view the output of the simulation and your simulated flight is located far from France, in Flight Gear, everything may be dark. If your simulated flight is in France, then you will always have daylight in Flight Gear. To fix this, do the following (you will need to have paparazzi-dev installed to do this):&lt;br /&gt;
&lt;br /&gt;
* Get the Unix time during your '''local daylight hours''' by running the following command in your terminal:&lt;br /&gt;
 date +%s&lt;br /&gt;
* In the file: paparazzi3/sw/simulator/fg.c find the line(line 44):&lt;br /&gt;
 msg.cur_time = 3213092700ul;//time(NULL);&lt;br /&gt;
* Paste the output from &amp;quot;date +%s&amp;quot; in place of &amp;quot;3213092700&amp;quot;&lt;br /&gt;
* Now you will have to rebuild paparazzi, so in the terminal change to the paparazzi3 directory and run:&lt;br /&gt;
 make clean&lt;br /&gt;
 make&lt;br /&gt;
* In Paparazzi Center clean and rebuild your simulation&lt;br /&gt;
* Launch the simulation and Flight Gear, and Flight Gear should be flying in daylight.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Simulation&amp;diff=3950</id>
		<title>Simulation</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Simulation&amp;diff=3950"/>
		<updated>2008-07-31T15:32:59Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: /* Added information for linking to FLight Gear */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes the steps needed to run a flight simulation from a new install.&lt;br /&gt;
&lt;br /&gt;
== Initializing a New Installation == &lt;br /&gt;
 &amp;lt;tt&amp;gt;paparazzi-make init&amp;lt;/tt&amp;gt;&lt;br /&gt;
to initialize your configuration files (in the &amp;lt;tt&amp;gt;~/paparazzi&amp;lt;/tt&amp;gt; directory)&lt;br /&gt;
and then&lt;br /&gt;
 &amp;lt;tt&amp;gt;paparazzi-make demo&amp;lt;/tt&amp;gt;&lt;br /&gt;
If you are working in the &amp;lt;tt&amp;gt;paparazzi3&amp;lt;/tt&amp;gt; source code, just start with &amp;lt;tt&amp;gt;make demo&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A '''control panel''' window is opened. Under the '''Sessions''' menu, choose '''Muret Sim''' ([http://maps.google.com/maps?f=q&amp;amp;hl=en&amp;amp;q=Muret,+France&amp;amp;ie=UTF8&amp;amp;om=1&amp;amp;z=13&amp;amp;iwloc=A Muret] is a village near Toulouse, France). This spawns several programs :&lt;br /&gt;
* '''Aircraft MJ5''' is the interface of a simulator program. It runs the same code than the one for the autopilot processor plus a rudimentary flight dynamic model. it allows you to test the interactions with the UAV and the flight plan execution.&lt;br /&gt;
* '''cockpitMM MJ5''' is a representation of a radio control transmitter used with this aircraft. It allows you to test the interactions available through that device.&lt;br /&gt;
* '''GCS''' ([[GCS|Ground Control Station]]) is the main window. It displays the track of the aircraft, as well as informations about the execution of its flight plans. This program provide menus for the datalink functions and is able to edit a flight plan.&lt;br /&gt;
* '''Gaia''' is the interface of the world simulator. It will distribute time ticks to the aircrafts simulator and allow acces to global parameters like wind, temperature used by the infrared sensor, and GPS coverage.&lt;br /&gt;
&lt;br /&gt;
== Start the Simulation ==&lt;br /&gt;
&lt;br /&gt;
Click the '''Boot''' button on the aircraft window. This boots your aircraft, as if you were powering the autopilot. The aircraft starts to send messages to the ground station. Its position and its flight parameters are displayed in the GCS window.&lt;br /&gt;
&lt;br /&gt;
The map widget is able use many map formats and display them according to many projections. To make things simple, we start by using images from [http://maps.google.com Google]. Under the '''Maps''' menu in the GCS, choose '''GoogleMaps Fill'''. The program attempts to download the required satellite images from the Google servers. If it succeeds, you should now see the nice countryside of Muret. Navigation and other features of the map are described on the [[GCS#map|GCS]] page.&lt;br /&gt;
&lt;br /&gt;
The lower part of the GCS displays the flight plan in a tree view. You see that the current flight plan is composed of four ''blocks'':&lt;br /&gt;
* '''survey road 1'''&lt;br /&gt;
* '''survey road 2'''&lt;br /&gt;
* '''wait'''&lt;br /&gt;
* '''go too far'''&lt;br /&gt;
Open the active block: the active ''stage'' in the block is highlighted.&lt;br /&gt;
&lt;br /&gt;
== Fly ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;block name=&amp;quot;survey road 1&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;go wp=&amp;quot;road_start&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;go wp=&amp;quot;road_end&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/block&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This block is about the simplest you can write. It flies the aircraft to waypoint '''road_start''', then to waypoint '''road_end'''. The vertical control mode is unspecified and defaults to '''altitude hold'''. Being unspecified, the target altitude is the waypoint's one (250m for these two waypoints).&lt;br /&gt;
&lt;br /&gt;
In the Simulator, press the '''Launch''' button to simulate a hand launch. The autopilot detects the launch by monitoring the groundspeed. The flight time (in the aircraft label on the GCS) then starts to count.&lt;br /&gt;
&lt;br /&gt;
Position of the aircraft is displayed on the map: the aircraft goes to the '''road_start''' waypoint (to the west) and then to the '''road_end''' waypoint (to the east). Current stage also changes accordingly in the flight plan display.&lt;br /&gt;
&lt;br /&gt;
The orange triangle (the carrot) on the map is the point that the aircraft is navigating toward. The aircraft proceeds through the two waypoints then proceeds on to the next block.&lt;br /&gt;
&lt;br /&gt;
== Fly forever ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;while cond=&amp;quot;TRUE&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;go wp=&amp;quot;road_start&amp;quot; from=&amp;quot;road_end&amp;quot; hmode=&amp;quot;route&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;go wp=&amp;quot;road_end&amp;quot; from=&amp;quot;road_start&amp;quot; hmode=&amp;quot;route&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/while&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This block is not much more complicated than the previous one. It shows another horizontal mode which is named '''route'''. The aircraft returns to waypoint '''road_start''' and then proceeds to '''road_end''' staying on the line between the waypoints. It is displayed on the map by a green line where the target point (the orange triangle) is moving along.&lt;br /&gt;
&lt;br /&gt;
The two &amp;lt;tt&amp;gt;go&amp;lt;/tt&amp;gt; stages are here inserted into a &amp;lt;tt&amp;gt;while&amp;lt;/tt&amp;gt; element with an ever-true condition: the aircraft loops forever between the two waypoints.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Circle ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;&amp;lt;block name=&amp;quot;circle&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;circle wp=&amp;quot;road_end&amp;quot; ALT=&amp;quot;ground_alt+50&amp;quot; radius=&amp;quot;75&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/block&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jump to this block with double-click on the &amp;lt;tt&amp;gt;block&amp;lt;/tt&amp;gt; line (or using the '''MJ5''' aircraft menu, '''Datalink''', '''Jump to block''', '''circle'''). The aircraft circles clockwise around the '''road_end''' waypoint.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Fly too far ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;go wp=&amp;quot;too far&amp;quot;&lt;br /&gt;
 circle wp=&amp;quot;too far&amp;quot; radius=&amp;quot;50&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This block is here to demonstrate the ''home mode'' feature of the autopilot. The navigation system has a an allowed zone that it must not leave or it will enter an emergency navigation mode and circles the '''HOME''' waypoint until the further direction is received. This safety zone is displayed as a circle on the map.&lt;br /&gt;
&lt;br /&gt;
Jump to this block by double-cliking on it.&lt;br /&gt;
&lt;br /&gt;
The aircraft flies to the '''too far''' waypoint, cross the protection enveloppe and switches to ''home'' mode: the AP mode in the aircraft strip switches from '''AUTO2''' to '''HOME'''.&lt;br /&gt;
&lt;br /&gt;
To get out of this mode and switch back to the default '''AUTO2''', click on the '''AUTO2''' button in the aircraft strip. The aircraft then flies again towards '''too far''' and again swithes to '''HOME''' mode.&lt;br /&gt;
&lt;br /&gt;
== Move the waypoint ==&lt;br /&gt;
&lt;br /&gt;
Waypoints are moveable during flight: You can left-click and drag the '''too far''' waypoint inside the blue safety circle. Get out of the '''HOME''' mode ('''AUTO2''' button) and the aircraft will go circling around the now not '''too far''' waypoint.&lt;br /&gt;
&lt;br /&gt;
Click on the '''too far''' waypoint; A dialog box pops up. You can change the altitude of the waypoin by editing it with the keyboard or using the '''-10''' and '''+10''' buttons. CLick '''Ok''' and '''Send WPs'''. You can look at the altitude change in the aircraft strip.&lt;br /&gt;
&lt;br /&gt;
You now can survey the line you want with the '''survey road 2''' block by moving the two waypoints. You can move them while the aircraft is flying from one to the other and the line will be updated in real-time.&lt;br /&gt;
&lt;br /&gt;
== Change the environment ==&lt;br /&gt;
&lt;br /&gt;
The '''Gaia''' interface allows the user to change:&lt;br /&gt;
* The wind: Set up a wind speed of 5m/s and observe the trajectory and the speed evolution (in the aircraft strip and in the '''PFD''' page of the notebook).&lt;br /&gt;
* The GPS coverage: Shut down the GPS ('''GPS OFF''') and observe the resulting mode ('''NO_GPS''') and trajectory. In this mode, the autopilot uses the failsafe roll, pitch and throttle settings defined in the airframe file. Note that in a real flight, an aircraft without GPS won't be able to send its position ... The simulation is cheating here !&lt;br /&gt;
* The time scale: If you are in a hurry ... (bug: adjusting the time scale may affect the navigation behavior)&lt;br /&gt;
&lt;br /&gt;
== View the simulation in Flight Gear ==&lt;br /&gt;
&lt;br /&gt;
To view the simulation in Flight Gear, do the following:&lt;br /&gt;
* In Paparazzi Center, add the -fg option plus the IP address of the machine running flightgear:&lt;br /&gt;
 /home/your_username/paparazzi/paparazzi3/sw/simulator/launchsitl -a TJ1 -fg 127.0.0.1 -boot -norc&lt;br /&gt;
* Launch Flight Gear with the following command:&lt;br /&gt;
 fgfs --fdm=null --native-gui=socket,in,30,,5501,udp&lt;br /&gt;
&lt;br /&gt;
=== Why is it night in Flight Gear, if my sim is flying during the day? ===&lt;br /&gt;
The time that is sent to Flight Gear is hard coded into the code, so if you try to view the output of the simulation and your simulated flight is located far from France, in Flight Gear, everything may be dark. If your simulated flight is in France, then you will always have daylight in Flight Gear. To fix this, do the following (you will need to have paparazzi-dev installed to do this):&lt;br /&gt;
&lt;br /&gt;
* Get the Unix time during your '''local daylight hours''' by running the following command in your terminal:&lt;br /&gt;
 date +%s&lt;br /&gt;
* In the file: paparazzi3/sw/simulator/fg.c find the line(line 44): &amp;quot;msg.cur_time = 3213092700ul;//time(NULL);&amp;quot;&lt;br /&gt;
* Paste the output from &amp;quot;date +%s&amp;quot; in place of &amp;quot;3213092700&amp;quot;&lt;br /&gt;
* The terminal change to the paparazzi3 directory and run:&lt;br /&gt;
 make clean&lt;br /&gt;
 make&lt;br /&gt;
* In Paparazzi Center clean and rebuild your simulation&lt;br /&gt;
* Launch the simulation and Flight Gear, and Flight Gear should be flying in daylight.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Hardware_Installation&amp;diff=3949</id>
		<title>Hardware Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Hardware_Installation&amp;diff=3949"/>
		<updated>2008-07-30T21:40:59Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: /* Gyro */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Autopilot==&lt;br /&gt;
The image below shows a Tiny V2 installed in a funjet. The dual IR sensor is also visible.&lt;br /&gt;
[[Image:Tiny_v2_1_Funjet_install.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Sensors==&lt;br /&gt;
===Gyro===&lt;br /&gt;
&lt;br /&gt;
The gyro should be mounted with the PCB perpendicular to the X (roll) axis of the aircraft. So the PCB should be parallel to the YZ plane of the aircraft. The rotation about the X axis is not important.&lt;br /&gt;
&lt;br /&gt;
===IR===&lt;br /&gt;
The sensor FOV is typically around 60-100 deg, depending on brand.  Everything &lt;br /&gt;
emits heat, so you should try to keep the view as unobstructed as possible.  &lt;br /&gt;
There is of course no way to mount the sensors such that they are perfectly &lt;br /&gt;
unobstructed and a complex set of calibration factors exist in the code to deal &lt;br /&gt;
with this.  Just be sure to keep any obstructions symmetrical, particularly &lt;br /&gt;
difficult with pitch, and try to avoid having sun-heated surfaces in the FOV - &lt;br /&gt;
such as the top of a wing, tail, or fuselage.&lt;br /&gt;
&lt;br /&gt;
Avoid placing sensors in the exhaust stream since oil buildup will certainly cause trouble and you may even have problems with hot exhaust. It's important to note that you cannot cover the sensors with any commonly available material - only very special materials will allow LWIR to pass.&lt;br /&gt;
&lt;br /&gt;
Most importantly, keep any video/data transmitters away from the sensors and &lt;br /&gt;
their wires.&lt;br /&gt;
&lt;br /&gt;
====Dual IR====&lt;br /&gt;
The mounting procedure of the Dual IR sensor is explained by the [http://www.fmadirect.com/support_docs/item_1049.pdf FMA CPD4 Manual] on pages 6 and 7. &lt;br /&gt;
&lt;br /&gt;
Slightly different installation and setup procedures are explained on page 23 of the CPD4 Manual. For planes which:&lt;br /&gt;
*Have a low or mid wing, and exhaust flows under fuselage.&lt;br /&gt;
*Have a canopy.&lt;br /&gt;
&lt;br /&gt;
====Single IR====&lt;br /&gt;
Mount the single IR sensor so that it is vertical when the aircraft is in level flight, and has an unobstructed view of the sky and ground. Helicopter blades will not obstruct the sensor's view.&lt;br /&gt;
&lt;br /&gt;
===External GPS Antenna===&lt;br /&gt;
&lt;br /&gt;
==Modems==&lt;br /&gt;
The picture below shows a modem install on a funjet, and the Dual IR sensor.&lt;br /&gt;
&lt;br /&gt;
[[Image:PPZFJ01_install.JPG]]&lt;br /&gt;
&lt;br /&gt;
==General Electrical Advice==&lt;br /&gt;
===Wiring Suggestions===&lt;br /&gt;
====Common Ground====&lt;br /&gt;
We had immediate success by connecting the motor chassis, the motor&lt;br /&gt;
mounting bracket, the minus of the motor driver supply, the minus of&lt;br /&gt;
the servo battery, the minus (ground) of the receivers onto a common&lt;br /&gt;
ground wire which we laid through the whole plane body from  tip to&lt;br /&gt;
tail. &lt;br /&gt;
Actually we use a braid from a shielded cable. Remove the insulation,&lt;br /&gt;
then push the wire mesh shield ends together which makes it easy&lt;br /&gt;
to slide off the cable, then pull to full lenght again. Finally the&lt;br /&gt;
mesh was about 5 mm wide flat litz wire. Alternatively one could use&lt;br /&gt;
thin copper tape which is available from electronics suppliers.&lt;br /&gt;
High frequency currents run on the outer surface of the conductors,&lt;br /&gt;
therefore it is important to have as much surface as possible on the &lt;br /&gt;
ground wires. Connect each metal part to ground, e.g. motor mount.&lt;br /&gt;
&lt;br /&gt;
====Twisted Cables====&lt;br /&gt;
Twisting is almost as good as shielding.&lt;br /&gt;
Twisted cables normally do not have to be shielded in moderate&lt;br /&gt;
environments. How does twisting work?&lt;br /&gt;
&lt;br /&gt;
The electromagnetic field induces interference currents in the wires.&lt;br /&gt;
By twisting the wires we change the polarity of the &lt;br /&gt;
induced voltages every  twist, and so the&lt;br /&gt;
disturbances cancel each other.&lt;br /&gt;
&lt;br /&gt;
It is absolute necessary to twist the power cables&lt;br /&gt;
from the motor battery to the driver board, because&lt;br /&gt;
there run high pulsed currents and what is true for&lt;br /&gt;
reception, is also true for transmitting, and the&lt;br /&gt;
electric noise transmitted from the power cable will&lt;br /&gt;
cancel itself when run over twisted cables.&lt;br /&gt;
Needless to say, make the wires as short as possible,&lt;br /&gt;
from the battery to the driver to the motor.&lt;br /&gt;
Those components must be placed as near as possible,&lt;br /&gt;
especially the driver and the motor.&lt;br /&gt;
&lt;br /&gt;
Always use twisted servo cables and remove those&lt;br /&gt;
3 pole flat cables from your design if possible!&lt;br /&gt;
&lt;br /&gt;
====Ground Loops====&lt;br /&gt;
Grounding loops are not that much of concern as in audio&lt;br /&gt;
equipment or in microvolt sensors, but there is a general&lt;br /&gt;
simple rule to ground loops:  avoid them.&lt;br /&gt;
&lt;br /&gt;
====Ferrite Beads====&lt;br /&gt;
I do not recommend the use of ferrite beads, because if I need them,&lt;br /&gt;
my basic design is flawed. Sometimes ferrites help to overcome&lt;br /&gt;
problems, but I recommend to correctly design and install wirings and&lt;br /&gt;
shields the proper way. For example, I would lay out the interior of&lt;br /&gt;
a sensor compartment with thin copper foil or mesh or spray with&lt;br /&gt;
conductive paint to get a shielded chamber. Of course, I must take &lt;br /&gt;
care to connect all shields to ground on several places.&lt;br /&gt;
&lt;br /&gt;
====Preventing and Fixing Interference====&lt;br /&gt;
All small-signal cables should be shielded, power cables twisted.&lt;br /&gt;
Signal inputs should have small capacitors to ground for&lt;br /&gt;
HF filtering, or an inductor + cap or a resistor + cap.&lt;br /&gt;
Power cables must have HF capacitors on both ends!&lt;br /&gt;
Electrolytic caps are not HF qualified.&lt;br /&gt;
Cables could be connected via &amp;quot;feed through capacitors&amp;quot;&lt;br /&gt;
and loaded with  ferrite beads.&lt;br /&gt;
Ground connections between the boards should be short&lt;br /&gt;
and made of litz wires. Card cage should be lined  with&lt;br /&gt;
copper foil and connected to common ground on  many places.&lt;br /&gt;
And so on. Much to  be tried out experimentally.&lt;br /&gt;
&lt;br /&gt;
I would start to shield and filter the most sensitive circuitry.&lt;br /&gt;
Find the point of maximal sensitivity.&lt;br /&gt;
Switch off and on the various transmitters to identify the source.&lt;br /&gt;
&lt;br /&gt;
Wrap the boards in thin copper sheet, and so on.&lt;br /&gt;
Line the complete electronics compartment with thin copper&lt;br /&gt;
and connect to ground.&lt;br /&gt;
Put a conductive &amp;quot;ground plane&amp;quot; where the antennas are mounted.&lt;br /&gt;
Adhesive copper shielding tape is available but you must put&lt;br /&gt;
solder dots all over the tape joints. Conductive paint spray&lt;br /&gt;
is also available. Create a HF &amp;quot;zero reference&amp;quot; plane where all ground&lt;br /&gt;
connections meet. &amp;quot;Star&amp;quot; grounding configuration is less important &lt;br /&gt;
to HF designs, but we must avoid wire loops.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Hardware_Installation&amp;diff=3948</id>
		<title>Hardware Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Hardware_Installation&amp;diff=3948"/>
		<updated>2008-07-30T19:48:41Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: /* Dual IR */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Autopilot==&lt;br /&gt;
The image below shows a Tiny V2 installed in a funjet. The dual IR sensor is also visible.&lt;br /&gt;
[[Image:Tiny_v2_1_Funjet_install.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Sensors==&lt;br /&gt;
===Gyro===&lt;br /&gt;
&lt;br /&gt;
The gyro should be mounted with the PCB perpendicular to the X (roll) axis of the aircraft.&lt;br /&gt;
&lt;br /&gt;
===IR===&lt;br /&gt;
The sensor FOV is typically around 60-100 deg, depending on brand.  Everything &lt;br /&gt;
emits heat, so you should try to keep the view as unobstructed as possible.  &lt;br /&gt;
There is of course no way to mount the sensors such that they are perfectly &lt;br /&gt;
unobstructed and a complex set of calibration factors exist in the code to deal &lt;br /&gt;
with this.  Just be sure to keep any obstructions symmetrical, particularly &lt;br /&gt;
difficult with pitch, and try to avoid having sun-heated surfaces in the FOV - &lt;br /&gt;
such as the top of a wing, tail, or fuselage.&lt;br /&gt;
&lt;br /&gt;
Avoid placing sensors in the exhaust stream since oil buildup will certainly cause trouble and you may even have problems with hot exhaust. It's important to note that you cannot cover the sensors with any commonly available material - only very special materials will allow LWIR to pass.&lt;br /&gt;
&lt;br /&gt;
Most importantly, keep any video/data transmitters away from the sensors and &lt;br /&gt;
their wires.&lt;br /&gt;
&lt;br /&gt;
====Dual IR====&lt;br /&gt;
The mounting procedure of the Dual IR sensor is explained by the [http://www.fmadirect.com/support_docs/item_1049.pdf FMA CPD4 Manual] on pages 6 and 7. &lt;br /&gt;
&lt;br /&gt;
Slightly different installation and setup procedures are explained on page 23 of the CPD4 Manual. For planes which:&lt;br /&gt;
*Have a low or mid wing, and exhaust flows under fuselage.&lt;br /&gt;
*Have a canopy.&lt;br /&gt;
&lt;br /&gt;
====Single IR====&lt;br /&gt;
Mount the single IR sensor so that it is vertical when the aircraft is in level flight, and has an unobstructed view of the sky and ground. Helicopter blades will not obstruct the sensor's view.&lt;br /&gt;
&lt;br /&gt;
===External GPS Antenna===&lt;br /&gt;
&lt;br /&gt;
==Modems==&lt;br /&gt;
The picture below shows a modem install on a funjet, and the Dual IR sensor.&lt;br /&gt;
&lt;br /&gt;
[[Image:PPZFJ01_install.JPG]]&lt;br /&gt;
&lt;br /&gt;
==General Electrical Advice==&lt;br /&gt;
===Wiring Suggestions===&lt;br /&gt;
====Common Ground====&lt;br /&gt;
We had immediate success by connecting the motor chassis, the motor&lt;br /&gt;
mounting bracket, the minus of the motor driver supply, the minus of&lt;br /&gt;
the servo battery, the minus (ground) of the receivers onto a common&lt;br /&gt;
ground wire which we laid through the whole plane body from  tip to&lt;br /&gt;
tail. &lt;br /&gt;
Actually we use a braid from a shielded cable. Remove the insulation,&lt;br /&gt;
then push the wire mesh shield ends together which makes it easy&lt;br /&gt;
to slide off the cable, then pull to full lenght again. Finally the&lt;br /&gt;
mesh was about 5 mm wide flat litz wire. Alternatively one could use&lt;br /&gt;
thin copper tape which is available from electronics suppliers.&lt;br /&gt;
High frequency currents run on the outer surface of the conductors,&lt;br /&gt;
therefore it is important to have as much surface as possible on the &lt;br /&gt;
ground wires. Connect each metal part to ground, e.g. motor mount.&lt;br /&gt;
&lt;br /&gt;
====Twisted Cables====&lt;br /&gt;
Twisting is almost as good as shielding.&lt;br /&gt;
Twisted cables normally do not have to be shielded in moderate&lt;br /&gt;
environments. How does twisting work?&lt;br /&gt;
&lt;br /&gt;
The electromagnetic field induces interference currents in the wires.&lt;br /&gt;
By twisting the wires we change the polarity of the &lt;br /&gt;
induced voltages every  twist, and so the&lt;br /&gt;
disturbances cancel each other.&lt;br /&gt;
&lt;br /&gt;
It is absolute necessary to twist the power cables&lt;br /&gt;
from the motor battery to the driver board, because&lt;br /&gt;
there run high pulsed currents and what is true for&lt;br /&gt;
reception, is also true for transmitting, and the&lt;br /&gt;
electric noise transmitted from the power cable will&lt;br /&gt;
cancel itself when run over twisted cables.&lt;br /&gt;
Needless to say, make the wires as short as possible,&lt;br /&gt;
from the battery to the driver to the motor.&lt;br /&gt;
Those components must be placed as near as possible,&lt;br /&gt;
especially the driver and the motor.&lt;br /&gt;
&lt;br /&gt;
Always use twisted servo cables and remove those&lt;br /&gt;
3 pole flat cables from your design if possible!&lt;br /&gt;
&lt;br /&gt;
====Ground Loops====&lt;br /&gt;
Grounding loops are not that much of concern as in audio&lt;br /&gt;
equipment or in microvolt sensors, but there is a general&lt;br /&gt;
simple rule to ground loops:  avoid them.&lt;br /&gt;
&lt;br /&gt;
====Ferrite Beads====&lt;br /&gt;
I do not recommend the use of ferrite beads, because if I need them,&lt;br /&gt;
my basic design is flawed. Sometimes ferrites help to overcome&lt;br /&gt;
problems, but I recommend to correctly design and install wirings and&lt;br /&gt;
shields the proper way. For example, I would lay out the interior of&lt;br /&gt;
a sensor compartment with thin copper foil or mesh or spray with&lt;br /&gt;
conductive paint to get a shielded chamber. Of course, I must take &lt;br /&gt;
care to connect all shields to ground on several places.&lt;br /&gt;
&lt;br /&gt;
====Preventing and Fixing Interference====&lt;br /&gt;
All small-signal cables should be shielded, power cables twisted.&lt;br /&gt;
Signal inputs should have small capacitors to ground for&lt;br /&gt;
HF filtering, or an inductor + cap or a resistor + cap.&lt;br /&gt;
Power cables must have HF capacitors on both ends!&lt;br /&gt;
Electrolytic caps are not HF qualified.&lt;br /&gt;
Cables could be connected via &amp;quot;feed through capacitors&amp;quot;&lt;br /&gt;
and loaded with  ferrite beads.&lt;br /&gt;
Ground connections between the boards should be short&lt;br /&gt;
and made of litz wires. Card cage should be lined  with&lt;br /&gt;
copper foil and connected to common ground on  many places.&lt;br /&gt;
And so on. Much to  be tried out experimentally.&lt;br /&gt;
&lt;br /&gt;
I would start to shield and filter the most sensitive circuitry.&lt;br /&gt;
Find the point of maximal sensitivity.&lt;br /&gt;
Switch off and on the various transmitters to identify the source.&lt;br /&gt;
&lt;br /&gt;
Wrap the boards in thin copper sheet, and so on.&lt;br /&gt;
Line the complete electronics compartment with thin copper&lt;br /&gt;
and connect to ground.&lt;br /&gt;
Put a conductive &amp;quot;ground plane&amp;quot; where the antennas are mounted.&lt;br /&gt;
Adhesive copper shielding tape is available but you must put&lt;br /&gt;
solder dots all over the tape joints. Conductive paint spray&lt;br /&gt;
is also available. Create a HF &amp;quot;zero reference&amp;quot; plane where all ground&lt;br /&gt;
connections meet. &amp;quot;Star&amp;quot; grounding configuration is less important &lt;br /&gt;
to HF designs, but we must avoid wire loops.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Hardware_Installation&amp;diff=3947</id>
		<title>Hardware Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Hardware_Installation&amp;diff=3947"/>
		<updated>2008-07-30T19:45:15Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: /* Gyro */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Autopilot==&lt;br /&gt;
The image below shows a Tiny V2 installed in a funjet. The dual IR sensor is also visible.&lt;br /&gt;
[[Image:Tiny_v2_1_Funjet_install.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Sensors==&lt;br /&gt;
===Gyro===&lt;br /&gt;
&lt;br /&gt;
The gyro should be mounted with the PCB perpendicular to the X (roll) axis of the aircraft.&lt;br /&gt;
&lt;br /&gt;
===IR===&lt;br /&gt;
The sensor FOV is typically around 60-100 deg, depending on brand.  Everything &lt;br /&gt;
emits heat, so you should try to keep the view as unobstructed as possible.  &lt;br /&gt;
There is of course no way to mount the sensors such that they are perfectly &lt;br /&gt;
unobstructed and a complex set of calibration factors exist in the code to deal &lt;br /&gt;
with this.  Just be sure to keep any obstructions symmetrical, particularly &lt;br /&gt;
difficult with pitch, and try to avoid having sun-heated surfaces in the FOV - &lt;br /&gt;
such as the top of a wing, tail, or fuselage.&lt;br /&gt;
&lt;br /&gt;
Avoid placing sensors in the exhaust stream since oil buildup will certainly cause trouble and you may even have problems with hot exhaust. It's important to note that you cannot cover the sensors with any commonly available material - only very special materials will allow LWIR to pass.&lt;br /&gt;
&lt;br /&gt;
Most importantly, keep any video/data transmitters away from the sensors and &lt;br /&gt;
their wires.&lt;br /&gt;
&lt;br /&gt;
====Dual IR====&lt;br /&gt;
The mounting procedure of the Dual IR sensor is very well explained by the [http://www.fmadirect.com/support_docs/item_1049.pdf FMA CPD4 Manual] on pages 6 and 7. &lt;br /&gt;
&lt;br /&gt;
Slightly different installation and setup procedures are explained on page 23 of the CPD4 Manual. For planes which:&lt;br /&gt;
*Have a low or mid wing, and exhaust flows under fuselage.&lt;br /&gt;
*Have a canopy.&lt;br /&gt;
&lt;br /&gt;
====Single IR====&lt;br /&gt;
Mount the single IR sensor so that it is vertical when the aircraft is in level flight, and has an unobstructed view of the sky and ground. Helicopter blades will not obstruct the sensor's view.&lt;br /&gt;
&lt;br /&gt;
===External GPS Antenna===&lt;br /&gt;
&lt;br /&gt;
==Modems==&lt;br /&gt;
The picture below shows a modem install on a funjet, and the Dual IR sensor.&lt;br /&gt;
&lt;br /&gt;
[[Image:PPZFJ01_install.JPG]]&lt;br /&gt;
&lt;br /&gt;
==General Electrical Advice==&lt;br /&gt;
===Wiring Suggestions===&lt;br /&gt;
====Common Ground====&lt;br /&gt;
We had immediate success by connecting the motor chassis, the motor&lt;br /&gt;
mounting bracket, the minus of the motor driver supply, the minus of&lt;br /&gt;
the servo battery, the minus (ground) of the receivers onto a common&lt;br /&gt;
ground wire which we laid through the whole plane body from  tip to&lt;br /&gt;
tail. &lt;br /&gt;
Actually we use a braid from a shielded cable. Remove the insulation,&lt;br /&gt;
then push the wire mesh shield ends together which makes it easy&lt;br /&gt;
to slide off the cable, then pull to full lenght again. Finally the&lt;br /&gt;
mesh was about 5 mm wide flat litz wire. Alternatively one could use&lt;br /&gt;
thin copper tape which is available from electronics suppliers.&lt;br /&gt;
High frequency currents run on the outer surface of the conductors,&lt;br /&gt;
therefore it is important to have as much surface as possible on the &lt;br /&gt;
ground wires. Connect each metal part to ground, e.g. motor mount.&lt;br /&gt;
&lt;br /&gt;
====Twisted Cables====&lt;br /&gt;
Twisting is almost as good as shielding.&lt;br /&gt;
Twisted cables normally do not have to be shielded in moderate&lt;br /&gt;
environments. How does twisting work?&lt;br /&gt;
&lt;br /&gt;
The electromagnetic field induces interference currents in the wires.&lt;br /&gt;
By twisting the wires we change the polarity of the &lt;br /&gt;
induced voltages every  twist, and so the&lt;br /&gt;
disturbances cancel each other.&lt;br /&gt;
&lt;br /&gt;
It is absolute necessary to twist the power cables&lt;br /&gt;
from the motor battery to the driver board, because&lt;br /&gt;
there run high pulsed currents and what is true for&lt;br /&gt;
reception, is also true for transmitting, and the&lt;br /&gt;
electric noise transmitted from the power cable will&lt;br /&gt;
cancel itself when run over twisted cables.&lt;br /&gt;
Needless to say, make the wires as short as possible,&lt;br /&gt;
from the battery to the driver to the motor.&lt;br /&gt;
Those components must be placed as near as possible,&lt;br /&gt;
especially the driver and the motor.&lt;br /&gt;
&lt;br /&gt;
Always use twisted servo cables and remove those&lt;br /&gt;
3 pole flat cables from your design if possible!&lt;br /&gt;
&lt;br /&gt;
====Ground Loops====&lt;br /&gt;
Grounding loops are not that much of concern as in audio&lt;br /&gt;
equipment or in microvolt sensors, but there is a general&lt;br /&gt;
simple rule to ground loops:  avoid them.&lt;br /&gt;
&lt;br /&gt;
====Ferrite Beads====&lt;br /&gt;
I do not recommend the use of ferrite beads, because if I need them,&lt;br /&gt;
my basic design is flawed. Sometimes ferrites help to overcome&lt;br /&gt;
problems, but I recommend to correctly design and install wirings and&lt;br /&gt;
shields the proper way. For example, I would lay out the interior of&lt;br /&gt;
a sensor compartment with thin copper foil or mesh or spray with&lt;br /&gt;
conductive paint to get a shielded chamber. Of course, I must take &lt;br /&gt;
care to connect all shields to ground on several places.&lt;br /&gt;
&lt;br /&gt;
====Preventing and Fixing Interference====&lt;br /&gt;
All small-signal cables should be shielded, power cables twisted.&lt;br /&gt;
Signal inputs should have small capacitors to ground for&lt;br /&gt;
HF filtering, or an inductor + cap or a resistor + cap.&lt;br /&gt;
Power cables must have HF capacitors on both ends!&lt;br /&gt;
Electrolytic caps are not HF qualified.&lt;br /&gt;
Cables could be connected via &amp;quot;feed through capacitors&amp;quot;&lt;br /&gt;
and loaded with  ferrite beads.&lt;br /&gt;
Ground connections between the boards should be short&lt;br /&gt;
and made of litz wires. Card cage should be lined  with&lt;br /&gt;
copper foil and connected to common ground on  many places.&lt;br /&gt;
And so on. Much to  be tried out experimentally.&lt;br /&gt;
&lt;br /&gt;
I would start to shield and filter the most sensitive circuitry.&lt;br /&gt;
Find the point of maximal sensitivity.&lt;br /&gt;
Switch off and on the various transmitters to identify the source.&lt;br /&gt;
&lt;br /&gt;
Wrap the boards in thin copper sheet, and so on.&lt;br /&gt;
Line the complete electronics compartment with thin copper&lt;br /&gt;
and connect to ground.&lt;br /&gt;
Put a conductive &amp;quot;ground plane&amp;quot; where the antennas are mounted.&lt;br /&gt;
Adhesive copper shielding tape is available but you must put&lt;br /&gt;
solder dots all over the tape joints. Conductive paint spray&lt;br /&gt;
is also available. Create a HF &amp;quot;zero reference&amp;quot; plane where all ground&lt;br /&gt;
connections meet. &amp;quot;Star&amp;quot; grounding configuration is less important &lt;br /&gt;
to HF designs, but we must avoid wire loops.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Hardware_Installation&amp;diff=3946</id>
		<title>Hardware Installation</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Hardware_Installation&amp;diff=3946"/>
		<updated>2008-07-29T20:06:57Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Autopilot==&lt;br /&gt;
The image below shows a Tiny V2 installed in a funjet. The dual IR sensor is also visible.&lt;br /&gt;
[[Image:Tiny_v2_1_Funjet_install.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Sensors==&lt;br /&gt;
===Gyro===&lt;br /&gt;
&lt;br /&gt;
===IR===&lt;br /&gt;
The sensor FOV is typically around 60-100 deg, depending on brand.  Everything &lt;br /&gt;
emits heat, so you should try to keep the view as unobstructed as possible.  &lt;br /&gt;
There is of course no way to mount the sensors such that they are perfectly &lt;br /&gt;
unobstructed and a complex set of calibration factors exist in the code to deal &lt;br /&gt;
with this.  Just be sure to keep any obstructions symmetrical, particularly &lt;br /&gt;
difficult with pitch, and try to avoid having sun-heated surfaces in the FOV - &lt;br /&gt;
such as the top of a wing, tail, or fuselage.&lt;br /&gt;
&lt;br /&gt;
Avoid placing sensors in the exhaust stream since oil buildup will certainly cause trouble and you may even have problems with hot exhaust. It's important to note that you cannot cover the sensors with any commonly available material - only very special materials will allow LWIR to pass.&lt;br /&gt;
&lt;br /&gt;
Most importantly, keep any video/data transmitters away from the sensors and &lt;br /&gt;
their wires.&lt;br /&gt;
&lt;br /&gt;
====Dual IR====&lt;br /&gt;
The mounting procedure of the Dual IR sensor is very well explained by the [http://www.fmadirect.com/support_docs/item_1049.pdf FMA CPD4 Manual] on pages 6 and 7. &lt;br /&gt;
&lt;br /&gt;
Slightly different installation and setup procedures are explained on page 23 of the CPD4 Manual. For planes which:&lt;br /&gt;
*Have a low or mid wing, and exhaust flows under fuselage.&lt;br /&gt;
*Have a canopy.&lt;br /&gt;
&lt;br /&gt;
====Single IR====&lt;br /&gt;
Mount the single IR sensor so that it is vertical when the aircraft is in level flight, and has an unobstructed view of the sky and ground. Helicopter blades will not obstruct the sensor's view.&lt;br /&gt;
&lt;br /&gt;
===External GPS Antenna===&lt;br /&gt;
&lt;br /&gt;
==Modems==&lt;br /&gt;
The picture below shows a modem install on a funjet, and the Dual IR sensor.&lt;br /&gt;
&lt;br /&gt;
[[Image:PPZFJ01_install.JPG]]&lt;br /&gt;
&lt;br /&gt;
==General Electrical Advice==&lt;br /&gt;
===Wiring Suggestions===&lt;br /&gt;
====Common Ground====&lt;br /&gt;
We had immediate success by connecting the motor chassis, the motor&lt;br /&gt;
mounting bracket, the minus of the motor driver supply, the minus of&lt;br /&gt;
the servo battery, the minus (ground) of the receivers onto a common&lt;br /&gt;
ground wire which we laid through the whole plane body from  tip to&lt;br /&gt;
tail. &lt;br /&gt;
Actually we use a braid from a shielded cable. Remove the insulation,&lt;br /&gt;
then push the wire mesh shield ends together which makes it easy&lt;br /&gt;
to slide off the cable, then pull to full lenght again. Finally the&lt;br /&gt;
mesh was about 5 mm wide flat litz wire. Alternatively one could use&lt;br /&gt;
thin copper tape which is available from electronics suppliers.&lt;br /&gt;
High frequency currents run on the outer surface of the conductors,&lt;br /&gt;
therefore it is important to have as much surface as possible on the &lt;br /&gt;
ground wires. Connect each metal part to ground, e.g. motor mount.&lt;br /&gt;
&lt;br /&gt;
====Twisted Cables====&lt;br /&gt;
Twisting is almost as good as shielding.&lt;br /&gt;
Twisted cables normally do not have to be shielded in moderate&lt;br /&gt;
environments. How does twisting work?&lt;br /&gt;
&lt;br /&gt;
The electromagnetic field induces interference currents in the wires.&lt;br /&gt;
By twisting the wires we change the polarity of the &lt;br /&gt;
induced voltages every  twist, and so the&lt;br /&gt;
disturbances cancel each other.&lt;br /&gt;
&lt;br /&gt;
It is absolute necessary to twist the power cables&lt;br /&gt;
from the motor battery to the driver board, because&lt;br /&gt;
there run high pulsed currents and what is true for&lt;br /&gt;
reception, is also true for transmitting, and the&lt;br /&gt;
electric noise transmitted from the power cable will&lt;br /&gt;
cancel itself when run over twisted cables.&lt;br /&gt;
Needless to say, make the wires as short as possible,&lt;br /&gt;
from the battery to the driver to the motor.&lt;br /&gt;
Those components must be placed as near as possible,&lt;br /&gt;
especially the driver and the motor.&lt;br /&gt;
&lt;br /&gt;
Always use twisted servo cables and remove those&lt;br /&gt;
3 pole flat cables from your design if possible!&lt;br /&gt;
&lt;br /&gt;
====Ground Loops====&lt;br /&gt;
Grounding loops are not that much of concern as in audio&lt;br /&gt;
equipment or in microvolt sensors, but there is a general&lt;br /&gt;
simple rule to ground loops:  avoid them.&lt;br /&gt;
&lt;br /&gt;
====Ferrite Beads====&lt;br /&gt;
I do not recommend the use of ferrite beads, because if I need them,&lt;br /&gt;
my basic design is flawed. Sometimes ferrites help to overcome&lt;br /&gt;
problems, but I recommend to correctly design and install wirings and&lt;br /&gt;
shields the proper way. For example, I would lay out the interior of&lt;br /&gt;
a sensor compartment with thin copper foil or mesh or spray with&lt;br /&gt;
conductive paint to get a shielded chamber. Of course, I must take &lt;br /&gt;
care to connect all shields to ground on several places.&lt;br /&gt;
&lt;br /&gt;
====Preventing and Fixing Interference====&lt;br /&gt;
All small-signal cables should be shielded, power cables twisted.&lt;br /&gt;
Signal inputs should have small capacitors to ground for&lt;br /&gt;
HF filtering, or an inductor + cap or a resistor + cap.&lt;br /&gt;
Power cables must have HF capacitors on both ends!&lt;br /&gt;
Electrolytic caps are not HF qualified.&lt;br /&gt;
Cables could be connected via &amp;quot;feed through capacitors&amp;quot;&lt;br /&gt;
and loaded with  ferrite beads.&lt;br /&gt;
Ground connections between the boards should be short&lt;br /&gt;
and made of litz wires. Card cage should be lined  with&lt;br /&gt;
copper foil and connected to common ground on  many places.&lt;br /&gt;
And so on. Much to  be tried out experimentally.&lt;br /&gt;
&lt;br /&gt;
I would start to shield and filter the most sensitive circuitry.&lt;br /&gt;
Find the point of maximal sensitivity.&lt;br /&gt;
Switch off and on the various transmitters to identify the source.&lt;br /&gt;
&lt;br /&gt;
Wrap the boards in thin copper sheet, and so on.&lt;br /&gt;
Line the complete electronics compartment with thin copper&lt;br /&gt;
and connect to ground.&lt;br /&gt;
Put a conductive &amp;quot;ground plane&amp;quot; where the antennas are mounted.&lt;br /&gt;
Adhesive copper shielding tape is available but you must put&lt;br /&gt;
solder dots all over the tape joints. Conductive paint spray&lt;br /&gt;
is also available. Create a HF &amp;quot;zero reference&amp;quot; plane where all ground&lt;br /&gt;
connections meet. &amp;quot;Star&amp;quot; grounding configuration is less important &lt;br /&gt;
to HF designs, but we must avoid wire loops.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Tiny_v2_1_Funjet_install.jpg&amp;diff=3945</id>
		<title>File:Tiny v2 1 Funjet install.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Tiny_v2_1_Funjet_install.jpg&amp;diff=3945"/>
		<updated>2008-07-29T19:58:35Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:PPZFJ01_install.JPG&amp;diff=3944</id>
		<title>File:PPZFJ01 install.JPG</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:PPZFJ01_install.JPG&amp;diff=3944"/>
		<updated>2008-07-29T19:57:08Z</updated>

		<summary type="html">&lt;p&gt;Corybarton: Closeup of funjet showing dual IR sensor mount and xbee modem.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Closeup of funjet showing dual IR sensor mount and xbee modem.&lt;/div&gt;</summary>
		<author><name>Corybarton</name></author>
	</entry>
</feed>