<?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=Karlito139</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=Karlito139"/>
	<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/wiki/Special:Contributions/Karlito139"/>
	<updated>2026-04-26T13:21:35Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18991</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18991"/>
		<updated>2014-08-29T08:43:01Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Logging values */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* very light (hard to do lighter)&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Capability===&lt;br /&gt;
This logger is capable of logging the entire IMU (9 axis) on 32 bits values at 512Hz. This is possible when you erase completely the memory at the beginning of the log (ERASE_MEMORY_AT_START set to 1).&lt;br /&gt;
&lt;br /&gt;
In case of buffer overflow, the reading tool is capable of &amp;quot;rebuilding&amp;quot; the missed values. It is going to put zeros where we missed values.&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Configuration of the module==&lt;br /&gt;
To configure the messages you want to log, you will need to edite the module c file in : sw/airborne/modules/loggers/high_speed_logger_direct_memory.c. At the top of the file you will have a section containing all the parameters that you can change. Among those you got :&lt;br /&gt;
* ERASE_MEMORY_AT_START : if set to 1 the memory will be erased completly when starting a new log. This will take a little bit less than a minute, but afterwards you will be able to log values at a higher rate than if you didn't do it. If you let it to 0, the module is going to erase the memory block by block of 4K when needed.&lt;br /&gt;
&lt;br /&gt;
* SIZE_OF_LOGGED_VALUES : the number of Bytes that each value logged must be (in memory). You can write a 4 Bytes values in a 2 Bytes slots, you just need to be certain that you don't have any overflows.&lt;br /&gt;
&lt;br /&gt;
* NBR_VALUES_TO_LOG : the number of messages you want to log. This value is equivalent to the size of the values_to_log array.&lt;br /&gt;
&lt;br /&gt;
* SKIP_X_CALLS_BETWEEN_VALUES : you might want to slow down the logger instead of losing values (because of buffer overflows). if that value is set to 0, a new value of every logged messages will be added to the buffer. If set to 2, we will wait two calls to the module, then during the third one we will writte the values to the buffer. By default this modules is called at 512Hz.&lt;br /&gt;
&lt;br /&gt;
Then you have two arrays :&lt;br /&gt;
&lt;br /&gt;
* values_to_log : containing the pointer to the values to log.&lt;br /&gt;
* name_of_the_values : the name of the messages logged. This is simply an aesthetic configuration, for you to know which message were logged.&lt;br /&gt;
&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. You might want to be certain of the frequency at which the module is called by loading it like that :&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;modules main_freq=&amp;quot;512&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;load name=&amp;quot;high_speed_logger_direct_memory.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/modules&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:GCS mem.png]]&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
&lt;br /&gt;
[[File:Micro logger.png]]&lt;br /&gt;
&lt;br /&gt;
WARNING !!! : On some boards the UART port is used also by the GPS. The soft behind the GPS might read all the values on the port instead of the logger module. To solve that issue you simply need to use an other UART port for the logger module (configured in : conf/modules/high_speed_logger_direct_memory.xml). The other solution is to move the GPS in you board makefile.&lt;br /&gt;
&lt;br /&gt;
For this operation you will need to get the reader application available [http://karlito139.github.io/lisa_s_logger_reader/ here]. The source code is available [https://github.com/karlito139/lisa_s_logger_reader here].&lt;br /&gt;
&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18990</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18990"/>
		<updated>2014-08-28T15:49:19Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Reading the values back */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* very light (hard to do lighter)&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Capability===&lt;br /&gt;
This logger is capable of logging the entire IMU (9 axis) on 32 bits values at 512Hz. This is possible when you erase completely the memory at the beginning of the log (ERASE_MEMORY_AT_START set to 1).&lt;br /&gt;
&lt;br /&gt;
In case of buffer overflow, the reading tool is capable of &amp;quot;rebuilding&amp;quot; the missed values. It is going to put zeros where we missed values.&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Configuration of the module==&lt;br /&gt;
To configure the messages you want to log, you will need to edite the module c file in : sw/airborne/modules/loggers/high_speed_logger_direct_memory.c. At the top of the file you will have a section containing all the parameters that you can change. Among those you got :&lt;br /&gt;
* ERASE_MEMORY_AT_START : if set to 1 the memory will be erased completly when starting a new log. This will take a little bit less than a minute, but afterwards you will be able to log values at a higher rate than if you didn't do it. If you let it to 0, the module is going to erase the memory block by block of 4K when needed.&lt;br /&gt;
&lt;br /&gt;
* SIZE_OF_LOGGED_VALUES : the number of Bytes that each value logged must be (in memory). You can write a 4 Bytes values in a 2 Bytes slots, you just need to be certain that you don't have any overflows.&lt;br /&gt;
&lt;br /&gt;
* NBR_VALUES_TO_LOG : the number of messages you want to log. This value is equivalent to the size of the values_to_log array.&lt;br /&gt;
&lt;br /&gt;
* SKIP_X_CALLS_BETWEEN_VALUES : you might want to slow down the logger instead of losing values (because of buffer overflows). if that value is set to 0, a new value of every logged messages will be added to the buffer. If set to 2, we will wait two calls to the module, then during the third one we will writte the values to the buffer. By default this modules is called at 512Hz.&lt;br /&gt;
&lt;br /&gt;
Then you have two arrays :&lt;br /&gt;
&lt;br /&gt;
* values_to_log : containing the pointer to the values to log.&lt;br /&gt;
* name_of_the_values : the name of the messages logged. This is simply an aesthetic configuration, for you to know which message were logged.&lt;br /&gt;
&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:GCS mem.png]]&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
&lt;br /&gt;
[[File:Micro logger.png]]&lt;br /&gt;
&lt;br /&gt;
WARNING !!! : On some boards the UART port is used also by the GPS. The soft behind the GPS might read all the values on the port instead of the logger module. To solve that issue you simply need to use an other UART port for the logger module (configured in : conf/modules/high_speed_logger_direct_memory.xml). The other solution is to move the GPS in you board makefile.&lt;br /&gt;
&lt;br /&gt;
For this operation you will need to get the reader application available [http://karlito139.github.io/lisa_s_logger_reader/ here]. The source code is available [https://github.com/karlito139/lisa_s_logger_reader here].&lt;br /&gt;
&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18989</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18989"/>
		<updated>2014-08-28T14:18:41Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* very light (hard to do lighter)&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Capability===&lt;br /&gt;
This logger is capable of logging the entire IMU (9 axis) on 32 bits values at 512Hz. This is possible when you erase completely the memory at the beginning of the log (ERASE_MEMORY_AT_START set to 1).&lt;br /&gt;
&lt;br /&gt;
In case of buffer overflow, the reading tool is capable of &amp;quot;rebuilding&amp;quot; the missed values. It is going to put zeros where we missed values.&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Configuration of the module==&lt;br /&gt;
To configure the messages you want to log, you will need to edite the module c file in : sw/airborne/modules/loggers/high_speed_logger_direct_memory.c. At the top of the file you will have a section containing all the parameters that you can change. Among those you got :&lt;br /&gt;
* ERASE_MEMORY_AT_START : if set to 1 the memory will be erased completly when starting a new log. This will take a little bit less than a minute, but afterwards you will be able to log values at a higher rate than if you didn't do it. If you let it to 0, the module is going to erase the memory block by block of 4K when needed.&lt;br /&gt;
&lt;br /&gt;
* SIZE_OF_LOGGED_VALUES : the number of Bytes that each value logged must be (in memory). You can write a 4 Bytes values in a 2 Bytes slots, you just need to be certain that you don't have any overflows.&lt;br /&gt;
&lt;br /&gt;
* NBR_VALUES_TO_LOG : the number of messages you want to log. This value is equivalent to the size of the values_to_log array.&lt;br /&gt;
&lt;br /&gt;
* SKIP_X_CALLS_BETWEEN_VALUES : you might want to slow down the logger instead of losing values (because of buffer overflows). if that value is set to 0, a new value of every logged messages will be added to the buffer. If set to 2, we will wait two calls to the module, then during the third one we will writte the values to the buffer. By default this modules is called at 512Hz.&lt;br /&gt;
&lt;br /&gt;
Then you have two arrays :&lt;br /&gt;
&lt;br /&gt;
* values_to_log : containing the pointer to the values to log.&lt;br /&gt;
* name_of_the_values : the name of the messages logged. This is simply an aesthetic configuration, for you to know which message were logged.&lt;br /&gt;
&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:GCS mem.png]]&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
&lt;br /&gt;
[[File:Micro logger.png]]&lt;br /&gt;
&lt;br /&gt;
WARNING !!! : On some boards the UART port is used also by the GPS. The soft behind the GPS might read all the values on the port instead of the logger module. To solve that issue you simply need to use an other UART port for the logger module (configured in : conf/modules/high_speed_logger_direct_memory.xml). The other solution is to move the GPS in you board makefile.&lt;br /&gt;
&lt;br /&gt;
For this operation you will need to get the reader application available [https://github.com/karlito139/lisa_s_logger_reader here].&lt;br /&gt;
&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18988</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18988"/>
		<updated>2014-08-28T14:15:37Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Configuration of the module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* very light (hard to do lighter)&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Configuration of the module==&lt;br /&gt;
To configure the messages you want to log, you will need to edite the module c file in : sw/airborne/modules/loggers/high_speed_logger_direct_memory.c. At the top of the file you will have a section containing all the parameters that you can change. Among those you got :&lt;br /&gt;
* ERASE_MEMORY_AT_START : if set to 1 the memory will be erased completly when starting a new log. This will take a little bit less than a minute, but afterwards you will be able to log values at a higher rate than if you didn't do it. If you let it to 0, the module is going to erase the memory block by block of 4K when needed.&lt;br /&gt;
&lt;br /&gt;
* SIZE_OF_LOGGED_VALUES : the number of Bytes that each value logged must be (in memory). You can write a 4 Bytes values in a 2 Bytes slots, you just need to be certain that you don't have any overflows.&lt;br /&gt;
&lt;br /&gt;
* NBR_VALUES_TO_LOG : the number of messages you want to log. This value is equivalent to the size of the values_to_log array.&lt;br /&gt;
&lt;br /&gt;
* SKIP_X_CALLS_BETWEEN_VALUES : you might want to slow down the logger instead of losing values (because of buffer overflows). if that value is set to 0, a new value of every logged messages will be added to the buffer. If set to 2, we will wait two calls to the module, then during the third one we will writte the values to the buffer. By default this modules is called at 512Hz.&lt;br /&gt;
&lt;br /&gt;
Then you have two arrays :&lt;br /&gt;
&lt;br /&gt;
* values_to_log : containing the pointer to the values to log.&lt;br /&gt;
* name_of_the_values : the name of the messages logged. This is simply an aesthetic configuration, for you to know which message were logged.&lt;br /&gt;
&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:GCS mem.png]]&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
&lt;br /&gt;
[[File:Micro logger.png]]&lt;br /&gt;
&lt;br /&gt;
WARNING !!! : On some boards the UART port is used also by the GPS. The soft behind the GPS might read all the values on the port instead of the logger module. To solve that issue you simply need to use an other UART port for the logger module (configured in : conf/modules/high_speed_logger_direct_memory.xml). The other solution is to move the GPS in you board makefile.&lt;br /&gt;
&lt;br /&gt;
For this operation you will need to get the reader application available [https://github.com/karlito139/lisa_s_logger_reader here].&lt;br /&gt;
&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18987</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18987"/>
		<updated>2014-08-28T14:12:49Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Configuration of the module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* very light (hard to do lighter)&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Configuration of the module==&lt;br /&gt;
To configure the messages you want to log, you will need to edite the module c file in : sw/airborne/modules/loggers/high_speed_logger_direct_memory.c. At the top of the file you will have a section containing all the parameters that you can change. Among those you got :&lt;br /&gt;
* ERASE_MEMORY_AT_START : if set to 1 the memory will be erased completly when starting a new log. This will take a little bit less than a minute, but afterwards you will be able to log values at a higher rate than if you didn't do it. If you let it to 0, the module is going to erase the memory block by block of 4K when needed.&lt;br /&gt;
&lt;br /&gt;
* SIZE_OF_LOGGED_VALUES : the number of Bytes that each value logged must be (in memory). You can write a 4 Bytes values in a 2 Bytes slots, you just need to be certain that you don't have any overflows.&lt;br /&gt;
&lt;br /&gt;
* NBR_VALUES_TO_LOG : the number of messages you want to log. This value is equivalent to the size of the values_to_log array.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then you have two arrays :&lt;br /&gt;
&lt;br /&gt;
* values_to_log : containing the pointer to the values to log.&lt;br /&gt;
* name_of_the_values : the name of the messages logged. This is simply an aesthetic configuration, for you to know which message were logged.&lt;br /&gt;
&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:GCS mem.png]]&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
&lt;br /&gt;
[[File:Micro logger.png]]&lt;br /&gt;
&lt;br /&gt;
WARNING !!! : On some boards the UART port is used also by the GPS. The soft behind the GPS might read all the values on the port instead of the logger module. To solve that issue you simply need to use an other UART port for the logger module (configured in : conf/modules/high_speed_logger_direct_memory.xml). The other solution is to move the GPS in you board makefile.&lt;br /&gt;
&lt;br /&gt;
For this operation you will need to get the reader application available [https://github.com/karlito139/lisa_s_logger_reader here].&lt;br /&gt;
&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18974</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18974"/>
		<updated>2014-08-28T07:50:42Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Reading the values back */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* very light (hard to do lighter)&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Configuration of the module==&lt;br /&gt;
To configure the messages you want to log, you will need to edite the module c file in : sw/airborne/modules/loggers/high_speed_logger_direct_memory.c. At the top of the file you will have a section containing all the parameters that you can change. Among those you got :&lt;br /&gt;
* ERASE_MEMORY_AT_START : if set to 1 the memory will be erased completly when starting a new log. This will take a little bit less than a minute, but afterwards you will be able to log values at a higher rate than if you didn't do it. If you let it to 0, the module is going to erase the memory block by block of 4K when needed.&lt;br /&gt;
&lt;br /&gt;
* SIZE_OF_LOGGED_VALUES : the number of Bytes that each value logged must be (in memory). You can write a 32 bits values in a 16 bites slots, you just need to be certain that you don't have any overflows.&lt;br /&gt;
&lt;br /&gt;
* NBR_VALUES_TO_LOG : the number of messages you want to log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then you have two arrays :&lt;br /&gt;
&lt;br /&gt;
* values_to_log : containing the pointer to the values to log.&lt;br /&gt;
* name_of_the_values : the name of the messages logged. This is simply an aesthetic configuration, for you to know which message were logged.&lt;br /&gt;
&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:GCS mem.png]]&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
&lt;br /&gt;
[[File:Micro logger.png]]&lt;br /&gt;
&lt;br /&gt;
WARNING !!! : On some boards the UART port is used also by the GPS. The soft behind the GPS might read all the values on the port instead of the logger module. To solve that issue you simply need to use an other UART port for the logger module (configured in : conf/modules/high_speed_logger_direct_memory.xml). The other solution is to move the GPS in you board makefile.&lt;br /&gt;
&lt;br /&gt;
For this operation you will need to get the reader application available [https://github.com/karlito139/lisa_s_logger_reader here].&lt;br /&gt;
&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18973</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18973"/>
		<updated>2014-08-28T07:48:56Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Reading the values back */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* very light (hard to do lighter)&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Configuration of the module==&lt;br /&gt;
To configure the messages you want to log, you will need to edite the module c file in : sw/airborne/modules/loggers/high_speed_logger_direct_memory.c. At the top of the file you will have a section containing all the parameters that you can change. Among those you got :&lt;br /&gt;
* ERASE_MEMORY_AT_START : if set to 1 the memory will be erased completly when starting a new log. This will take a little bit less than a minute, but afterwards you will be able to log values at a higher rate than if you didn't do it. If you let it to 0, the module is going to erase the memory block by block of 4K when needed.&lt;br /&gt;
&lt;br /&gt;
* SIZE_OF_LOGGED_VALUES : the number of Bytes that each value logged must be (in memory). You can write a 32 bits values in a 16 bites slots, you just need to be certain that you don't have any overflows.&lt;br /&gt;
&lt;br /&gt;
* NBR_VALUES_TO_LOG : the number of messages you want to log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then you have two arrays :&lt;br /&gt;
&lt;br /&gt;
* values_to_log : containing the pointer to the values to log.&lt;br /&gt;
* name_of_the_values : the name of the messages logged. This is simply an aesthetic configuration, for you to know which message were logged.&lt;br /&gt;
&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:GCS mem.png]]&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
&lt;br /&gt;
[[File:Micro logger.png]]&lt;br /&gt;
&lt;br /&gt;
WARNING !!! : On some boards the UART port is used also by the GPS. The soft behind the GPS might read all the values on the port instead of the logger module. To solve that issue you simply need to use an other UART port for the logger module (configured in : conf/modules/high_speed_logger_direct_memory.xml). The other solution is to move the GPS in you board makefile.&lt;br /&gt;
&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18972</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18972"/>
		<updated>2014-08-28T07:46:16Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Configuration of the module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* very light (hard to do lighter)&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Configuration of the module==&lt;br /&gt;
To configure the messages you want to log, you will need to edite the module c file in : sw/airborne/modules/loggers/high_speed_logger_direct_memory.c. At the top of the file you will have a section containing all the parameters that you can change. Among those you got :&lt;br /&gt;
* ERASE_MEMORY_AT_START : if set to 1 the memory will be erased completly when starting a new log. This will take a little bit less than a minute, but afterwards you will be able to log values at a higher rate than if you didn't do it. If you let it to 0, the module is going to erase the memory block by block of 4K when needed.&lt;br /&gt;
&lt;br /&gt;
* SIZE_OF_LOGGED_VALUES : the number of Bytes that each value logged must be (in memory). You can write a 32 bits values in a 16 bites slots, you just need to be certain that you don't have any overflows.&lt;br /&gt;
&lt;br /&gt;
* NBR_VALUES_TO_LOG : the number of messages you want to log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then you have two arrays :&lt;br /&gt;
&lt;br /&gt;
* values_to_log : containing the pointer to the values to log.&lt;br /&gt;
* name_of_the_values : the name of the messages logged. This is simply an aesthetic configuration, for you to know which message were logged.&lt;br /&gt;
&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:GCS mem.png]]&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
&lt;br /&gt;
[[File:Micro logger.png]]&lt;br /&gt;
&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18971</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18971"/>
		<updated>2014-08-28T07:45:28Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* How to use it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* very light (hard to do lighter)&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Configuration of the module==&lt;br /&gt;
To configure the messages you want to log, you will need to edite the module c file in : sw/airborne/modules/loggers/high_speed_logger_direct_memory.c. At the top of the file you will have a section containing all the parameters that you can change. Among those you got :&lt;br /&gt;
* ERASE_MEMORY_AT_START : if set to 1 the memory will be erased completly when starting a new log. This will take a little bit less than a minute, but afterwards you will be able to log values at a higher rate than if you didn't do it. If you let it to 0, the module is going to erase the memory block by block of 4K when needed.&lt;br /&gt;
&lt;br /&gt;
* SIZE_OF_LOGGED_VALUES : the number of Bytes that each value logged must be (in memory). You can write a 32 bits values in a 16 bites slots, you just need to be certain that you don't have any overflows.&lt;br /&gt;
&lt;br /&gt;
* NBR_VALUES_TO_LOG : the number of messages you want to log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then you have two arrays :&lt;br /&gt;
&lt;br /&gt;
* values_to_log : containing the pointer to the values to log.&lt;br /&gt;
* name_of_the_values : the name of the messages logged. This is simply an aesthetic configuration, for you to know which message were logged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:GCS mem.png]]&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
&lt;br /&gt;
[[File:Micro logger.png]]&lt;br /&gt;
&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Micro_logger.png&amp;diff=18970</id>
		<title>File:Micro logger.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Micro_logger.png&amp;diff=18970"/>
		<updated>2014-08-27T17:00:41Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: Karlito139 uploaded a new version of &amp;amp;quot;File:Micro logger.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Micro_logger.png&amp;diff=18969</id>
		<title>File:Micro logger.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Micro_logger.png&amp;diff=18969"/>
		<updated>2014-08-27T16:57:46Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: Karlito139 uploaded a new version of &amp;amp;quot;File:Micro logger.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18968</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18968"/>
		<updated>2014-08-27T16:56:50Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* very light (hard to do lighter)&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:GCS mem.png]]&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
&lt;br /&gt;
[[File:Micro logger.png]]&lt;br /&gt;
&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Micro_logger.png&amp;diff=18967</id>
		<title>File:Micro logger.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Micro_logger.png&amp;diff=18967"/>
		<updated>2014-08-27T16:56:28Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:GCS_mem.png&amp;diff=18966</id>
		<title>File:GCS mem.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:GCS_mem.png&amp;diff=18966"/>
		<updated>2014-08-27T16:55:45Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18965</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18965"/>
		<updated>2014-08-27T16:53:56Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Advantages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* very light (hard to do lighter)&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18964</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18964"/>
		<updated>2014-08-27T16:53:29Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Logging values */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* hard to do lighter&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;'''settings/modules/high_speed_logger_direct_memory.xml'''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18963</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18963"/>
		<updated>2014-08-27T16:51:59Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* hard to do lighter&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;settings/modules/high_speed_logger_direct_memory.xml&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finally you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18962</id>
		<title>Micro logger</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Micro_logger&amp;diff=18962"/>
		<updated>2014-08-27T16:51:40Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: Created page with &amp;quot;=Introduction=  The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.  ===Advantages=== * hard to do lighter * no bad ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The micro logger is simply a memory chip (S25FL128S or S25FL256S) connected to one SPI port of your autopilot.&lt;br /&gt;
&lt;br /&gt;
===Advantages===&lt;br /&gt;
* hard to do lighter&lt;br /&gt;
* no bad connexions (the memory needs to be soldered)&lt;br /&gt;
&lt;br /&gt;
===Disadvantages===&lt;br /&gt;
* hard to remove&lt;br /&gt;
* slower than other loggers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=How to use it=&lt;br /&gt;
==Logging values==&lt;br /&gt;
To use the micro logger you simply need to load the module &amp;quot;'''high_speed_logger_direct_memory'''&amp;quot; in your airframe file. Then you are going to have to add the GUI to your GCS by adding to your settings the file : &amp;quot;settings/modules/high_speed_logger_direct_memory.xml&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Then in the GCS you can go in the tab settings, then logger. In this tab you will have only one command to change the status of the module.&lt;br /&gt;
&lt;br /&gt;
At the start the module is in idle mode. To start logging you will need to prepare the memory first. To do that simply select the initialise mode and validate. The module will work. To test if the module have completed it's work you can click on the value to the left of the drop down menu. Once completed the status will be back to idle.&lt;br /&gt;
&lt;br /&gt;
Then you can start actually logging values by selecting the &amp;quot;start log&amp;quot; mode and validating.&lt;br /&gt;
&lt;br /&gt;
Once you are done with your log you need to select the &amp;quot;stop log&amp;quot; mode and validate.&lt;br /&gt;
&lt;br /&gt;
==Reading the values back==&lt;br /&gt;
To read the values back you simply need to connect to your autopilot using a serial connexion. Then start the micro logger application, at the top right of the interface you get a drop down menu containing all the serial ports available on your computer, select the one corresponding to your autopilot. Then simply click on the &amp;quot;Dump memory&amp;quot; button. The application is going to fetch all the values stored in the memory (warning this operation might be slow, up to 40 minutes if you used the entire memory).&lt;br /&gt;
&lt;br /&gt;
Finaly you can click on the export button at the bottom of the window to save the values in a csv file.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18849</id>
		<title>Video replay</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18849"/>
		<updated>2014-07-25T08:35:00Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Common */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tool is here to let you play a recording of your flight in sync with the log file you recorded.&lt;br /&gt;
&lt;br /&gt;
[[File:Video_replay_example.png]]&lt;br /&gt;
&lt;br /&gt;
= How to use it =&lt;br /&gt;
&lt;br /&gt;
==Capture==&lt;br /&gt;
When capturing a video f your flight you can simplify the synchronization of the two files (the log file and the video file) by using son tags. When you open the video synchronizer (in paparazzi center : tools/video synchronizer), you get a tab called &amp;quot;capture&amp;quot;. If you click on this tab you will be getting a button called sync. When you press this button your screen is going to blink for 1s. This will be easy to detect in you video file, and at the same time the tool is going to add a flag in the log file.&lt;br /&gt;
&lt;br /&gt;
==Replay==&lt;br /&gt;
If you used the capture function of the tool you can use the automatic synchronization. If you didn't you will need to synchronize the files by hand using the manual technic. Both techniques starts the same way with the common section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Common===&lt;br /&gt;
First of all you are going to need to tell your GCS that you want to display a video. For that you need to change the command used by paparazzi center to call GCS. When you launch a replay session, paparazzi center should call GCS like that :&lt;br /&gt;
&lt;br /&gt;
 /path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs&lt;br /&gt;
&lt;br /&gt;
We are going to change it to :&lt;br /&gt;
&lt;br /&gt;
 /path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs -layout horizontal_with_video.xml -mplayer '-udp-slave /path/to/video/to/play.mp4'&lt;br /&gt;
&lt;br /&gt;
Don't forget to enter the path to the video you want to play. You are going to have to configure your GCS in order for it to display the 2D map and the video. This part is explained [https://wiki.paparazziuav.org/wiki/GCS_Configuration here]. This is going to launch the GCS with the top part sliced in two the left part displaying the map, the right one displaying the video.&lt;br /&gt;
&lt;br /&gt;
===Automatic===&lt;br /&gt;
You are going to have to open the video file in a player and find the time at which you can see the flap (when the screen of your computer blinks). Then in the video synchronizer tool (in paparazzi center : tools/video synchronizer), you can select the replay tab at the top and then the auto tab. There you just got to specify the time at which you saw the blinking screen in the video, and you are done. When playing the log the video will start playing as if nothing append. But as soon as the tag (the one written in the log file) is read the video will synchronize with the log file player.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Manual===&lt;br /&gt;
We now need to synchronize the log and video. For that you just need to launch the video synchronizer (in paparazzi center : tools/video synchronizer). This tool is going to catch the time stamp sent by the log file player and send them to mplayer to display the right part of the video. In the window of this tool you are going to have to select the Replay tab, and then the Manual tab. Then you can define the latency between the beginning of the video and the log (this value can be negative if needed).&lt;br /&gt;
&lt;br /&gt;
Once this is done just open your log file using the log file player and you video is going to be played in sync with your log.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18848</id>
		<title>Video replay</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18848"/>
		<updated>2014-07-24T14:59:35Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* How to use it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tool is here to let you play a recording of your flight in sync with the log file you recorded.&lt;br /&gt;
&lt;br /&gt;
[[File:Video_replay_example.png]]&lt;br /&gt;
&lt;br /&gt;
= How to use it =&lt;br /&gt;
&lt;br /&gt;
==Capture==&lt;br /&gt;
When capturing a video f your flight you can simplify the synchronization of the two files (the log file and the video file) by using son tags. When you open the video synchronizer (in paparazzi center : tools/video synchronizer), you get a tab called &amp;quot;capture&amp;quot;. If you click on this tab you will be getting a button called sync. When you press this button your screen is going to blink for 1s. This will be easy to detect in you video file, and at the same time the tool is going to add a flag in the log file.&lt;br /&gt;
&lt;br /&gt;
==Replay==&lt;br /&gt;
If you used the capture function of the tool you can use the automatic synchronization. If you didn't you will need to synchronize the files by hand using the manual technic. Both techniques starts the same way with the common section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Common===&lt;br /&gt;
First of all you are going to need to tell your GCS that you want to display a video. For that you need to change the command used by paparazzi center to call GCS. When you launch a replay session, paparazzi center should call GCS like that :&lt;br /&gt;
&lt;br /&gt;
 /path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs&lt;br /&gt;
&lt;br /&gt;
We are going to change it to :&lt;br /&gt;
&lt;br /&gt;
 /path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs -layout horizontal_with_video.xml -mplayer '-udp-slave /path/to/video/to/play.mp4'&lt;br /&gt;
&lt;br /&gt;
Don't forget to enter the path to the video you want to play. You are going to have to configure your GCS in order for it to display the 2D map and the video. This part is explained here. This is going to launch the GCS with the top part sliced in two the left part displaying the map, the right one displaying the video.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatic===&lt;br /&gt;
You are going to have to open the video file in a player and find the time at which you can see the flap (when the screen of your computer blinks). Then in the video synchronizer tool (in paparazzi center : tools/video synchronizer), you can select the replay tab at the top and then the auto tab. There you just got to specify the time at which you saw the blinking screen in the video, and you are done. When playing the log the video will start playing as if nothing append. But as soon as the tag (the one written in the log file) is read the video will synchronize with the log file player.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Manual===&lt;br /&gt;
We now need to synchronize the log and video. For that you just need to launch the video synchronizer (in paparazzi center : tools/video synchronizer). This tool is going to catch the time stamp sent by the log file player and send them to mplayer to display the right part of the video. In the window of this tool you are going to have to select the Replay tab, and then the Manual tab. Then you can define the latency between the beginning of the video and the log (this value can be negative if needed).&lt;br /&gt;
&lt;br /&gt;
Once this is done just open your log file using the log file player and you video is going to be played in sync with your log.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18847</id>
		<title>Video replay</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18847"/>
		<updated>2014-07-24T14:56:28Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* How to use it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tool is here to let you play a recording of your flight in sync with the log file you recorded.&lt;br /&gt;
&lt;br /&gt;
[[File:Video_replay_example.png]]&lt;br /&gt;
&lt;br /&gt;
= How to use it =&lt;br /&gt;
&lt;br /&gt;
==Capture==&lt;br /&gt;
When capturing a video f your flight you can simplify the synchronisation of the two files (the log file and the video file) by using son tags. When you open the video synchronizer (in paparazzi center : tools/video synchronizer), you get a tab cald &amp;quot;capture&amp;quot;. If you click on this tab you will be getting a button called sync. When you press this button your screen is going to blick for 1s. This will be easy to detect in you video file, and at the same time the tool is going to add a flag in the log file.&lt;br /&gt;
&lt;br /&gt;
==Replay==&lt;br /&gt;
If you used the cature fonction of the tool you can use the automatique synchronisation. If you didn't you will need to synchronise the files by hand using the manual technic. Both techniques starts the same way with the common section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Common===&lt;br /&gt;
First of all you are going to need to tell your GCS that you want to display a video. For that you need to change the command used by paparazzi center to call GCS. When you launch a replay session, paparazzi center should call GCS like that :&lt;br /&gt;
&lt;br /&gt;
 /path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs&lt;br /&gt;
&lt;br /&gt;
We are going to change it to :&lt;br /&gt;
&lt;br /&gt;
 /path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs -layout horizontal_with_video.xml -mplayer '-udp-slave /path/to/video/to/play.mp4'&lt;br /&gt;
&lt;br /&gt;
Don't forget to enter the path to the video you want to play. You are going to have to configure your GCS in order for it to diplay the 2D map and the video. This part is explained here. This is going to launch the GCS with the top part sliced in two the left part displaying the map, the right one displaying the video.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Automatique===&lt;br /&gt;
You are going to have to open the video file in a player and find the time at which you can see the flap (when the screen of your computer blicks). Then in the video synchronizer tool (in paparazzi center : tools/video synchronizer), you can select the replay tab at the top and then the auto tab. There you just got to specify the time at wich you saw the blicking screen in the video, and you are done. When playing the log the video will start playing as if nothing append. But as soon as the tag (the one written in the log file) is read the video will synchronise with the log file player.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Manual===&lt;br /&gt;
We now need to synchronise the log and video. For that you just need to launch the video synchronizer (in paparazzi center : tools/video synchronizer). This tool is going to catch the time stamp sent by the log file player and send them to mplayer to display the right part of the video. In the window of this tool you are going to have to select the Replay tab, and then the Manual tab. Then you can define the latency between the beginning of the video and the log (this value can be negative if needed).&lt;br /&gt;
&lt;br /&gt;
Once this is done just open your log file using the log file player and you video is going to be played in sync with your log.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Video_replay_example.png&amp;diff=18846</id>
		<title>File:Video replay example.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Video_replay_example.png&amp;diff=18846"/>
		<updated>2014-07-24T14:54:04Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: Karlito139 uploaded a new version of &amp;amp;quot;File:Video replay example.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18828</id>
		<title>Video replay</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18828"/>
		<updated>2014-07-14T08:39:31Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* How to use it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tool is here to let you play a recording of your flight in sync with the log file you recorded.&lt;br /&gt;
&lt;br /&gt;
[[File:Video_replay_example.png]]&lt;br /&gt;
&lt;br /&gt;
= How to use it =&lt;br /&gt;
&lt;br /&gt;
First of all you are going to need to tell your GCS that you want to display a video. For that you need to change the command used by paparazzi center to call GCS. When you launch a replay session, paparazzi center should call GCS like that :&lt;br /&gt;
&lt;br /&gt;
  /path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs&lt;br /&gt;
&lt;br /&gt;
We are going to change it to :&lt;br /&gt;
&lt;br /&gt;
  /path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs -layout horizontal_with_video.xml -mplayer '-udp-slave /path/to/video/to/play.mp4'&lt;br /&gt;
&lt;br /&gt;
Don't forget to enter the path to the video you want to play. You are going to have to configure your GCS in order for it to diplay the 2D map and the video. This part is explained [https://wiki.paparazziuav.org/wiki/GCS_Configuration#Video_plugin here]. This is going to launch the GCS with the top part sliced in two the left part displaying the map, the right one displaying the video.&lt;br /&gt;
&lt;br /&gt;
We now need to synchronise the log and video. For that you just need to launch the video synchronisator (in paparazzi center : tools/video synchronisator. This tool is going to catch the time stamp sent by the log file player and send them to mplayer to display the right part of the video. In the window of this tool you can define the latency between the beginning of the video and the log (this value can be negative if needed).&lt;br /&gt;
&lt;br /&gt;
Once this is done just open your log file using the log file player and you video is going to be played in sync with your log.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18823</id>
		<title>Video replay</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18823"/>
		<updated>2014-07-09T14:13:10Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* How to use it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tool is here to let you play a recording of your flight in sync with the log file you recorded.&lt;br /&gt;
&lt;br /&gt;
[[File:Video_replay_example.png]]&lt;br /&gt;
&lt;br /&gt;
= How to use it =&lt;br /&gt;
&lt;br /&gt;
First of all you are going to need to tell your GCS that you want to display a video. For that you need to change the command used by paparazzi center to call GCS. When you launch a replay session, paparazzi center should call GCS like that :&lt;br /&gt;
&lt;br /&gt;
  /path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs&lt;br /&gt;
&lt;br /&gt;
We are going to change it to :&lt;br /&gt;
&lt;br /&gt;
  /path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs -layout horizontal_with_video.xml -mplayer '-udp-slave /path/to/video/to/play.mp4'&lt;br /&gt;
&lt;br /&gt;
Don't forget to enter the path to the video you want to play. This is going to launch the GCS with the top part sliced in two the left part displaying the map, the right one displaying the video.&lt;br /&gt;
&lt;br /&gt;
We now need to synchronise the log and video. For that you just need to launch the video synchronisator (in paparazzi center : tools/video synchronisator. This tool is going to catch the time stamp sent by the log file player and send them to mplayer to display the right part of the video. In the window of this tool you can define the latency between the beginning of the video and the log (this value can be negative if needed).&lt;br /&gt;
&lt;br /&gt;
Once this is done just open your log file using the log file player and you video is going to be played in sync with your log.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18822</id>
		<title>Video replay</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Video_replay&amp;diff=18822"/>
		<updated>2014-07-09T14:12:42Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: Created page with &amp;quot;This tool is here to let you play a recording of your flight in sync with the log file you recorded.  File:Video_replay_example.png  = How to use it =  First of all you ar...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tool is here to let you play a recording of your flight in sync with the log file you recorded.&lt;br /&gt;
&lt;br /&gt;
[[File:Video_replay_example.png]]&lt;br /&gt;
&lt;br /&gt;
= How to use it =&lt;br /&gt;
&lt;br /&gt;
First of all you are going to need to tell your GCS that you want to display a video. For that you need to change the command used by paparazzi center to call GCS. When you launch a replay session, paparazzi center should call GCS like that :&lt;br /&gt;
&lt;br /&gt;
/path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs&lt;br /&gt;
&lt;br /&gt;
We are going to change it to :&lt;br /&gt;
&lt;br /&gt;
/path/to/paparazzi/paparazzi/sw/ground_segment/cockpit/gcs -layout horizontal_with_video.xml -mplayer '-udp-slave /path/to/video/to/play.mp4'&lt;br /&gt;
&lt;br /&gt;
Don't forget to enter the path to the video you want to play. This is going to launch the GCS with the top part sliced in two the left part displaying the map, the right one displaying the video.&lt;br /&gt;
&lt;br /&gt;
We now need to synchronise the log and video. For that you just need to launch the video synchronisator (in paparazzi center : tools/video synchronisator. This tool is going to catch the time stamp sent by the log file player and send them to mplayer to display the right part of the video. In the window of this tool you can define the latency between the beginning of the video and the log (this value can be negative if needed).&lt;br /&gt;
&lt;br /&gt;
Once this is done just open your log file using the log file player and you video is going to be played in sync with your log.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Video_replay_example.png&amp;diff=18821</id>
		<title>File:Video replay example.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Video_replay_example.png&amp;diff=18821"/>
		<updated>2014-07-09T14:02:52Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Server&amp;diff=18809</id>
		<title>Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Server&amp;diff=18809"/>
		<updated>2014-07-08T08:59:48Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Export KML to Google Map */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;categorytree style=&amp;quot;float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;&amp;quot; mode=pages&amp;gt;Tools&amp;lt;/categorytree&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;server&amp;lt;/tt&amp;gt; (in &amp;lt;tt&amp;gt;sw/ground_segment/tmtc/&amp;lt;/tt&amp;gt;) is an agent that logs, distributes, and preprocesses messages for the [[GCS]] and other agents as described in the [[Overview#System_Architecture|system overview]].&lt;br /&gt;
&lt;br /&gt;
See [[DevGuide/Server_GCS_com]] for the communication between the ''server'' and the ''[[GCS]]''.&lt;br /&gt;
&lt;br /&gt;
== Options ==&lt;br /&gt;
  -b Bus	Default is 127.255.255.255:2010&lt;br /&gt;
  -hostname &amp;lt;hostname&amp;gt; Set the address for the http server&lt;br /&gt;
  -http Send http: URLs (default is file:)&lt;br /&gt;
  -kml Enable KML file updating&lt;br /&gt;
  -kml_no_http KML without web server (local files only)&lt;br /&gt;
  -kml_port Port for KML files (default is 8889)&lt;br /&gt;
  -n Disable log&lt;br /&gt;
  -no_md5_check Disable safety matching of live and current configurations&lt;br /&gt;
  -replay_old_log Enable aircraft registering on PPRZ_MODE messages&lt;br /&gt;
  -help  Display this list of options&lt;br /&gt;
  --help  Display this list of options&lt;br /&gt;
&lt;br /&gt;
== Export KML to Google Map==&lt;br /&gt;
It is useful to export Flight information to Google Map. you can show basic flight information in google map cross platform through IP network.&lt;br /&gt;
&lt;br /&gt;
You will need a webserver runing in the GCS computer, for python simpleHTTPServer:&lt;br /&gt;
&lt;br /&gt;
 ''cd ~/paparazzi/''&lt;br /&gt;
&lt;br /&gt;
 ''python -m SimpleHTTPServer''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
to check if it work, you should see 8000 port is opened for listening.&lt;br /&gt;
&lt;br /&gt;
 -''netstat -l|grep 8000''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then in Paparazzi center, excute a session. Pass some parameters to server agent:&lt;br /&gt;
&lt;br /&gt;
 ''server -kml -kmlport 8000 -hostname 192.168.0.100(replace with you paparazzi center IP address)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It's done. Now in any computer in the network, open browser to access &amp;lt;nowiki&amp;gt;http://192.168.0.100:8000/var/airframes/(you AC name)/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
you will see FollowMe.kml file, open it with Google earth. you will be able to see the real time flight information. the information updated are:&lt;br /&gt;
&lt;br /&gt;
  1. AC lat, lon, alt&lt;br /&gt;
  2. Flight Plan&lt;br /&gt;
  3. current route&lt;br /&gt;
&lt;br /&gt;
[[File:Kml_export.png]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]] [[Category:User_Documentation]]&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18804</id>
		<title>Lisa/S</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18804"/>
		<updated>2014-07-07T09:18:14Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Barometer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:tudelft_logo.jpg|left|120px|link=http://mavlab.lr.tudelft.nl/en/]]&lt;br /&gt;
[[File:1bitsquared_logo.png|left|120px|link=http://1bitsquared.com]]&lt;br /&gt;
[[Image:Lisa S V0 1 r2 on finger.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Lisa/S ==&lt;br /&gt;
&lt;br /&gt;
Lisa/S is a very small general purpose autopilot. The main goal of creating an autopilot of minimal size and weight, while providing enough functionality to enable fully autonomous operation.&lt;br /&gt;
&lt;br /&gt;
=== Mechanical Dimensions ===&lt;br /&gt;
&lt;br /&gt;
* '''Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)'''&lt;br /&gt;
* '''Weight: 2.8g (0.1oz)'''&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
&lt;br /&gt;
* 72MHz 32bit ARM Cortex M3 MCU with 16KB RAM and 512KB Flash&lt;br /&gt;
* Combined 3 Axis Gyroscope and 3 Axis Accelerometer&lt;br /&gt;
* 3 Axis Magnetometer&lt;br /&gt;
* Barometer (Altimeter)&lt;br /&gt;
* Onboard U-Blox GPS&lt;br /&gt;
* Pads to simply connect a [[SuperbitRF|Superbit CYRF]] RC and telemetry module&lt;br /&gt;
* Switching buck/boost converter allowing wide range of power input making it perfect and stable for operation from a 1S LiPO cell.&lt;br /&gt;
* 2 MOSFET switches connected to PWM output channels&lt;br /&gt;
* 6 PWM (servo) outputs&lt;br /&gt;
* 1 UART port&lt;br /&gt;
* 1 CAN interface&lt;br /&gt;
* 1 Bind/Boot tact switch&lt;br /&gt;
* SWD programming/debugging interface&lt;br /&gt;
* Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)&lt;br /&gt;
* Weight: 2.8g (0.1oz)&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_superbit.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_superbit.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
So if you are ready to make your tiny plane fly autonomously,[http://1bitsquared.com/collections/frontpage/products/lisa-s you can already order one here]&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Block Diagrams ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Barometer ==&lt;br /&gt;
&lt;br /&gt;
In order to use the barometer, you just need to add one line to your firmware block (in your airframe file) :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;firmware name=&amp;quot;fixedwing&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;target name=&amp;quot;ap&amp;quot;   board=&amp;quot;lisa_s_0.1&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
  &amp;lt;/target&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;define name=&amp;quot;USE_BAROMETER&amp;quot; value=&amp;quot;TRUE&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Once that line is added to the airframe file, you should be able to get the values of the barometer and paparazzi is going to take them into account when doing it's calculations.&lt;br /&gt;
&lt;br /&gt;
Warning : the barometer doesn't seams to be working at a higher frequency than 120Hz in a fixed wing airframe. Than mean that in a fixed wing airframe the PERIODIC_FREQUENCY must be equal or lower than 120. In rotorcraft the barometer works fine.&lt;br /&gt;
&lt;br /&gt;
== Schematics ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_0_1_r1_schematic.png|300px]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:User_Documentation]] [[Category:Autopilots]]&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
[[File:1bitsquared_logo.png|100px|link=http://1bitsquared.com]]&lt;br /&gt;
&lt;br /&gt;
As of 2014-06-25 Lisa/S is available for purchase from [http://1bitsquared.com/products/lisa-s-starter-kit 1 BIT SQUARED].&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18803</id>
		<title>Lisa/S</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18803"/>
		<updated>2014-07-07T09:06:24Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Barometer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:tudelft_logo.jpg|left|120px|link=http://mavlab.lr.tudelft.nl/en/]]&lt;br /&gt;
[[File:1bitsquared_logo.png|left|120px|link=http://1bitsquared.com]]&lt;br /&gt;
[[Image:Lisa S V0 1 r2 on finger.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Lisa/S ==&lt;br /&gt;
&lt;br /&gt;
Lisa/S is a very small general purpose autopilot. The main goal of creating an autopilot of minimal size and weight, while providing enough functionality to enable fully autonomous operation.&lt;br /&gt;
&lt;br /&gt;
=== Mechanical Dimensions ===&lt;br /&gt;
&lt;br /&gt;
* '''Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)'''&lt;br /&gt;
* '''Weight: 2.8g (0.1oz)'''&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
&lt;br /&gt;
* 72MHz 32bit ARM Cortex M3 MCU with 16KB RAM and 512KB Flash&lt;br /&gt;
* Combined 3 Axis Gyroscope and 3 Axis Accelerometer&lt;br /&gt;
* 3 Axis Magnetometer&lt;br /&gt;
* Barometer (Altimeter)&lt;br /&gt;
* Onboard U-Blox GPS&lt;br /&gt;
* Pads to simply connect a [[SuperbitRF|Superbit CYRF]] RC and telemetry module&lt;br /&gt;
* Switching buck/boost converter allowing wide range of power input making it perfect and stable for operation from a 1S LiPO cell.&lt;br /&gt;
* 2 MOSFET switches connected to PWM output channels&lt;br /&gt;
* 6 PWM (servo) outputs&lt;br /&gt;
* 1 UART port&lt;br /&gt;
* 1 CAN interface&lt;br /&gt;
* 1 Bind/Boot tact switch&lt;br /&gt;
* SWD programming/debugging interface&lt;br /&gt;
* Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)&lt;br /&gt;
* Weight: 2.8g (0.1oz)&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_superbit.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_superbit.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
So if you are ready to make your tiny plane fly autonomously,[http://1bitsquared.com/collections/frontpage/products/lisa-s you can already order one here]&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Block Diagrams ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Barometer ==&lt;br /&gt;
&lt;br /&gt;
In order to use the barometer, you just need to add one line to your firmware block (in your airframe file) :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;firmware name=&amp;quot;fixedwing&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;target name=&amp;quot;ap&amp;quot;   board=&amp;quot;lisa_s_0.1&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
  &amp;lt;/target&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;define name=&amp;quot;USE_BAROMETER&amp;quot; value=&amp;quot;TRUE&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Once that line is added to the airframe file, you should be able to get the values of the barometer and paparazzi is going to take them into account when doing it's calculations.&lt;br /&gt;
&lt;br /&gt;
Warning : the barometer doesn't seams to be working at a higher frequency than 120Hz.&lt;br /&gt;
&lt;br /&gt;
== Schematics ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_0_1_r1_schematic.png|300px]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:User_Documentation]] [[Category:Autopilots]]&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
[[File:1bitsquared_logo.png|100px|link=http://1bitsquared.com]]&lt;br /&gt;
&lt;br /&gt;
As of 2014-06-25 Lisa/S is available for purchase from [http://1bitsquared.com/products/lisa-s-starter-kit 1 BIT SQUARED].&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Subsystem/actuators&amp;diff=18781</id>
		<title>Subsystem/actuators</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Subsystem/actuators&amp;diff=18781"/>
		<updated>2014-06-26T12:40:53Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Dual PWM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;categorytree style=&amp;quot;float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;&amp;quot; mode=pages&amp;gt;Subsystems&amp;lt;/categorytree&amp;gt;&lt;br /&gt;
This subsystem only needs be explicitly specified for rotorcrafts where there are several different actuators implementations and you have to add the correct one depending on the ESCs you use.&lt;br /&gt;
&lt;br /&gt;
Currently possible actuators subsystems are&lt;br /&gt;
* ''mkk''&lt;br /&gt;
* ''asctec''&lt;br /&gt;
* ''asctec_v2''&lt;br /&gt;
* ''pwm''&lt;br /&gt;
* ''skiron''&lt;br /&gt;
* ''heli''&lt;br /&gt;
* ''ardrone2''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MKK ==&lt;br /&gt;
Mikrokopter ESCs&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
   &amp;lt;subsystem name=&amp;quot;actuators&amp;quot;     type=&amp;quot;mkk&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;configure name=&amp;quot;MKK_I2C_SCL_TIME&amp;quot; value=&amp;quot;50&amp;quot;/&amp;gt; &amp;lt;!-- only LPC21xx, optional, 150 is default, use 50 for 8 motors--&amp;gt;&lt;br /&gt;
   &amp;lt;/subsystem&amp;gt;&lt;br /&gt;
   &amp;lt;define name=&amp;quot;I2C_TRANSACTION_QUEUE_LEN&amp;quot; value=&amp;quot;10&amp;quot;/&amp;gt; &amp;lt;!-- default is 8, increase to 10 or more for 8 motors--&amp;gt;&lt;br /&gt;
 &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
* ''MKK_I2C_SCL_TIME'' is specific to LPC21x based boards (e.g. booz) and has no effect for STM32 based boards (e.g. Lisa/M/L)&lt;br /&gt;
&lt;br /&gt;
=== XML configuration ===&lt;br /&gt;
required defines in section ''ACTUATORS_MKK'':&lt;br /&gt;
* ''NB'': number of motors&lt;br /&gt;
* ''ADDR'': the I2C addresses of your motors&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;section name=&amp;quot;ACTUATORS_MKK&amp;quot; prefix=&amp;quot;ACTUATORS_MKK_&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;NB&amp;quot; value=&amp;quot;4&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;ADDR&amp;quot; value=&amp;quot;{ 0x52, 0x54, 0x56, 0x58 }&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
The order of addresses in the list defines the numbering of motors! Warn on this during motor mixing!&lt;br /&gt;
&lt;br /&gt;
You also need the matching [[Rotorcraft_Configuration#Motor_Mixing|Motor Mixing section]].&lt;br /&gt;
MKK specific values for SUPERVISION defines:&lt;br /&gt;
* ''STOP_MOTOR'' : 0, optional, as the default is already 0&lt;br /&gt;
* ''MIN_MOTOR'' : 3&lt;br /&gt;
* ''MAX_MOTOR'' : 200&lt;br /&gt;
&lt;br /&gt;
== Asctec v1 ==&lt;br /&gt;
These controllers already to the mixing themselves, so the [[Rotorcraft_Configuration#Motor_Mixing|Motor Mixing section]] section is not needed.&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;actuators&amp;quot; type=&amp;quot;asctec&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Asctec v2 ==&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;actuators&amp;quot; type=&amp;quot;asctec_v2&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
=== XML configuration ===&lt;br /&gt;
You need the matching [[Rotorcraft_Configuration#Motor_Mixing|Motor Mixing section]].&lt;br /&gt;
&lt;br /&gt;
== PWM ==&lt;br /&gt;
Only for stm32 based autopilot boards (eg. Lisa/M, Lisa/L)&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;actuators&amp;quot; type=&amp;quot;pwm&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;define name=&amp;quot;SERVO_HZ&amp;quot; value=&amp;quot;400&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/subsystem&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The define ''SERVO_HZ'' sets a higher update frequency for the pwm controllers which is needed for good response times on some ESCs. Some newer ESCs are said to work better with lower frequencies. More information should be added here.&lt;br /&gt;
=== XML configuration ===&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;servos min=&amp;quot;0&amp;quot; neutral=&amp;quot;0&amp;quot; max=&amp;quot;0xff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;FRONT&amp;quot; no=&amp;quot;0&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1000&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;BACK&amp;quot; no=&amp;quot;1&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1000&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;LEFT&amp;quot; no=&amp;quot;2&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1000&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;RIGHT&amp;quot; no=&amp;quot;3&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1000&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/servos&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
You also need the matching [[Rotorcraft_Configuration#Motor_Mixing|Motor Mixing section]].&lt;br /&gt;
&lt;br /&gt;
== Dual PWM ==&lt;br /&gt;
This driver allows you to generate dual pulses to control for example double servos like those :&lt;br /&gt;
&lt;br /&gt;
[[File:Dual linear servos.jpg]]&lt;br /&gt;
&lt;br /&gt;
The signal we want to generate look like that :&lt;br /&gt;
&lt;br /&gt;
[[File:Dual_pulse.png]]&lt;br /&gt;
&lt;br /&gt;
During the time of a regular pwm pulse (20ms) we got two parts :&lt;br /&gt;
* the first 1 with a total period of 4ms. During that part we generate the first pulse that is going to control for exemple the first servo.&lt;br /&gt;
* the first 2 with a total period of 16ms. During that part we generate the second pulse that is going to control for exemple the second servo.&lt;br /&gt;
&lt;br /&gt;
=== How to use the driver ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;'''CAUTION!'''&amp;lt;/span&amp;gt; &amp;lt;b&amp;gt;This module is only implemented on the lisa M and lisa S boards at the time of writing this documentation (28 mars 2014)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First of all you are going to need to add the subsystem that is going to generate those pulses :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;target name=&amp;quot;ap&amp;quot;   board=&amp;quot;lisa_s_0.1&amp;quot;&amp;gt;&lt;br /&gt;
      ...&lt;br /&gt;
    &amp;lt;/target&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;actuators&amp;quot; type=&amp;quot;dualpwm&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;define name=&amp;quot;DUAL_PWM_ON&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/subsystem&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== XML configuration ===&lt;br /&gt;
Then we will be able to add a servo block into the airframe file (in the same way we would for regular servos). But we have to specify the driver that we are using for thoses servos :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
  &amp;lt;servos driver=&amp;quot;DualPwm&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;SWITCH&amp;quot;  no=&amp;quot;3&amp;quot; min=&amp;quot;1100&amp;quot; neutral=&amp;quot;1500&amp;quot; max=&amp;quot;1900&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;pitchator&amp;quot;  no=&amp;quot;2&amp;quot; min=&amp;quot;1100&amp;quot; neutral=&amp;quot;1500&amp;quot; max=&amp;quot;1900&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/servos&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;'''CAUTION!'''&amp;lt;/span&amp;gt; &amp;lt;b&amp;gt;The tricky part about this module is that it requires the use of the full timer (that was previously shared between multiple regular pwm). In order to reduce the wast of pins we can only put that type of servos on specifics pins :&lt;br /&gt;
* lisa S (version 0.1) : on the servos 2 and 3 (as shown above). The dual PWM will then but outputted on the 5th pin (yes that is not logical).&lt;br /&gt;
* lisa M (version 2.0) : on the servos 4 and 5. The dual PWM will be outputted on the 4th pin.&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:User_Documentation]] [[Category:Subsystems]]&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18452</id>
		<title>Lisa/S</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18452"/>
		<updated>2014-04-10T12:58:30Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* IMU */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:tudelft_logo.jpg|left|120px|link=http://tudelft.nl/en/]]&lt;br /&gt;
[[File:1bitsquared_logo.png|left|120px|link=http://1bitsquared.com]]&lt;br /&gt;
[[Image:Lisa S V0 1 r2 on finger.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Lisa/S ==&lt;br /&gt;
&lt;br /&gt;
Lisa/S is a very small general purpose autopilot. The main goal of creating an autopilot of minimal size and weight, while providing a lot of functionality is achieved:&lt;br /&gt;
&lt;br /&gt;
* '''Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)'''&lt;br /&gt;
* '''Weight: 2.8g (0.1oz)'''&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
&lt;br /&gt;
* 72MHz 32bit ARM Cortex M3 MCU with 16KB RAM and 512KB Flash&lt;br /&gt;
* Combined 3 Axis Gyroscope and 3 Axis Accelerometer&lt;br /&gt;
* 3 Axis Magnetometer&lt;br /&gt;
* Barometer (Altimeter)&lt;br /&gt;
* Onboard U-Blox GPS&lt;br /&gt;
* Pads to simply connect a [[SuperbitRF|Superbit CYRF]] RC and telemetry module&lt;br /&gt;
* Switching buck/boost converter allowing wide range of power input making it perfect and stable for operation from a 1S LiPO cell.&lt;br /&gt;
* 2 MOSFET switches connected to PWM output channels&lt;br /&gt;
* 6 PWM (servo) outputs&lt;br /&gt;
* 1 debug UART port&lt;br /&gt;
* 1 CAN interface&lt;br /&gt;
* 1 Bind/Boot tact switch&lt;br /&gt;
* SWD programming/debugging interface&lt;br /&gt;
* Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)&lt;br /&gt;
* Weight: 2.8g (0.1oz)&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_superbit.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_superbit.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
So if you are ready to make your tiny plane fly autonomously,[http://1bitsquared.com/collections/frontpage/products/lisa-s you can already order one here]&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Block Diagrams ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Barometer ==&lt;br /&gt;
&lt;br /&gt;
In order to use the barometer, you just need to add one line to your firmware block (in your airframe file) :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;firmware name=&amp;quot;fixedwing&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;target name=&amp;quot;ap&amp;quot;   board=&amp;quot;lisa_s_0.1&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
  &amp;lt;/target&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;define name=&amp;quot;USE_BAROMETER&amp;quot; value=&amp;quot;TRUE&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Once that line is added to the airframe file, you should be able to get the values of the barometer and paparazzi is going to take them into account when doing it's calculations.&lt;br /&gt;
&lt;br /&gt;
== Schematics ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_0_1_r1_schematic.png|300px]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:User_Documentation]] [[Category:Autopilots]]&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
[[File:1bitsquared_logo.png|100px|link=http://1bitsquared.com]]&lt;br /&gt;
&lt;br /&gt;
As of 2013-11-27 Lisa/S is available for pre-order from [http://1bitsquared.com/products/lisa-s-starter-kit 1 BIT SQUARED].&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18451</id>
		<title>Lisa/S</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18451"/>
		<updated>2014-04-10T12:37:14Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Barometer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:tudelft_logo.jpg|left|120px|link=http://tudelft.nl/en/]]&lt;br /&gt;
[[File:1bitsquared_logo.png|left|120px|link=http://1bitsquared.com]]&lt;br /&gt;
[[Image:Lisa S V0 1 r2 on finger.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Lisa/S ==&lt;br /&gt;
&lt;br /&gt;
Lisa/S is a very small general purpose autopilot. The main goal of creating an autopilot of minimal size and weight, while providing a lot of functionality is achieved:&lt;br /&gt;
&lt;br /&gt;
* '''Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)'''&lt;br /&gt;
* '''Weight: 2.8g (0.1oz)'''&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
&lt;br /&gt;
* 72MHz 32bit ARM Cortex M3 MCU with 16KB RAM and 512KB Flash&lt;br /&gt;
* Combined 3 Axis Gyroscope and 3 Axis Accelerometer&lt;br /&gt;
* 3 Axis Magnetometer&lt;br /&gt;
* Barometer (Altimeter)&lt;br /&gt;
* Onboard U-Blox GPS&lt;br /&gt;
* Pads to simply connect a [[SuperbitRF|Superbit CYRF]] RC and telemetry module&lt;br /&gt;
* Switching buck/boost converter allowing wide range of power input making it perfect and stable for operation from a 1S LiPO cell.&lt;br /&gt;
* 2 MOSFET switches connected to PWM output channels&lt;br /&gt;
* 6 PWM (servo) outputs&lt;br /&gt;
* 1 debug UART port&lt;br /&gt;
* 1 CAN interface&lt;br /&gt;
* 1 Bind/Boot tact switch&lt;br /&gt;
* SWD programming/debugging interface&lt;br /&gt;
* Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)&lt;br /&gt;
* Weight: 2.8g (0.1oz)&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_superbit.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_superbit.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
So if you are ready to make your tiny plane fly autonomously,[http://1bitsquared.com/collections/frontpage/products/lisa-s you can already order one here]&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Block Diagrams ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Barometer ==&lt;br /&gt;
&lt;br /&gt;
In order to use the barometer, you just need to add one line to your firmware block (in your airframe file) :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;firmware name=&amp;quot;fixedwing&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;target name=&amp;quot;ap&amp;quot;   board=&amp;quot;lisa_s_0.1&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
  &amp;lt;/target&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;define name=&amp;quot;USE_BAROMETER&amp;quot; value=&amp;quot;TRUE&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Once that line is added to the airframe file, you should be able to get the values of the barometer and paparazzi is going to take them into account when doing it's calculations.&lt;br /&gt;
&lt;br /&gt;
== IMU ==&lt;br /&gt;
&lt;br /&gt;
The IMU used on the lisa s is a regular aspirin 2. But depending on how you put the lisa s on your UAV you migth get the axes mixed. You can for exemple put the lisa S side way :&lt;br /&gt;
&lt;br /&gt;
[[File:Lisa s sideway.jpg]]&lt;br /&gt;
&lt;br /&gt;
For that you just need to add an option in your airframe :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;firmware name=&amp;quot;fixedwing&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;target name=&amp;quot;ap&amp;quot;   board=&amp;quot;lisa_s_0.1&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
  &amp;lt;/target&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;define name=&amp;quot;LISA_S_SIDEWAY&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Schematics ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_0_1_r1_schematic.png|300px]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:User_Documentation]] [[Category:Autopilots]]&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
[[File:1bitsquared_logo.png|100px|link=http://1bitsquared.com]]&lt;br /&gt;
&lt;br /&gt;
As of 2013-11-27 Lisa/S is available for pre-order from [http://1bitsquared.com/products/lisa-s-starter-kit 1 BIT SQUARED].&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18449</id>
		<title>Lisa/S</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18449"/>
		<updated>2014-04-10T08:42:46Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Barometer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:tudelft_logo.jpg|left|120px|link=http://tudelft.nl/en/]]&lt;br /&gt;
[[File:1bitsquared_logo.png|left|120px|link=http://1bitsquared.com]]&lt;br /&gt;
[[Image:Lisa S V0 1 r2 on finger.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Lisa/S ==&lt;br /&gt;
&lt;br /&gt;
Lisa/S is a very small general purpose autopilot. The main goal of creating an autopilot of minimal size and weight, while providing a lot of functionality is achieved:&lt;br /&gt;
&lt;br /&gt;
* '''Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)'''&lt;br /&gt;
* '''Weight: 2.8g (0.1oz)'''&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
&lt;br /&gt;
* 72MHz 32bit ARM Cortex M3 MCU with 16KB RAM and 512KB Flash&lt;br /&gt;
* Combined 3 Axis Gyroscope and 3 Axis Accelerometer&lt;br /&gt;
* 3 Axis Magnetometer&lt;br /&gt;
* Barometer (Altimeter)&lt;br /&gt;
* Onboard U-Blox GPS&lt;br /&gt;
* Pads to simply connect a [[SuperbitRF|Superbit CYRF]] RC and telemetry module&lt;br /&gt;
* Switching buck/boost converter allowing wide range of power input making it perfect and stable for operation from a 1S LiPO cell.&lt;br /&gt;
* 2 MOSFET switches connected to PWM output channels&lt;br /&gt;
* 6 PWM (servo) outputs&lt;br /&gt;
* 1 debug UART port&lt;br /&gt;
* 1 CAN interface&lt;br /&gt;
* 1 Bind/Boot tact switch&lt;br /&gt;
* SWD programming/debugging interface&lt;br /&gt;
* Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)&lt;br /&gt;
* Weight: 2.8g (0.1oz)&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_superbit.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_superbit.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
So if you are ready to make your tiny plane fly autonomously,[http://1bitsquared.com/collections/frontpage/products/lisa-s you can already order one here]&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Block Diagrams ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Barometer ==&lt;br /&gt;
&lt;br /&gt;
In order to use the barometer, you just need to add two lines to your firmware block (in your airframe file) :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;firmware name=&amp;quot;fixedwing&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;target name=&amp;quot;ap&amp;quot;   board=&amp;quot;lisa_s_0.1&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;configure name=&amp;quot;LISA_S_BARO&amp;quot; value=&amp;quot;BARO_MS5611_SPI&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;/target&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;define name=&amp;quot;USE_BAROMETER&amp;quot; value=&amp;quot;TRUE&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then you just need to load the associated module (still in your airframe file :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;modules&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;load name=&amp;quot;baro_ms5611_spi.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/modules&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Once thoses 3 lines are added to the airframe file, you should be able to get the values of the barometer and paparazzi is going to take them into account when doing it's calculations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== IMU ==&lt;br /&gt;
&lt;br /&gt;
The IMU used on the lisa s is a regular aspirin 2. But depending on how you put the lisa s on your UAV you migth get the axes mixed. You can for exemple put the lisa S side way :&lt;br /&gt;
&lt;br /&gt;
[[File:Lisa s sideway.jpg]]&lt;br /&gt;
&lt;br /&gt;
For that you just need to add an option in your airframe :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;firmware name=&amp;quot;fixedwing&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;target name=&amp;quot;ap&amp;quot;   board=&amp;quot;lisa_s_0.1&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
  &amp;lt;/target&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;define name=&amp;quot;LISA_S_SIDEWAY&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Schematics ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_0_1_r1_schematic.png|300px]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:User_Documentation]] [[Category:Autopilots]]&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
[[File:1bitsquared_logo.png|100px|link=http://1bitsquared.com]]&lt;br /&gt;
&lt;br /&gt;
As of 2013-11-27 Lisa/S is available for pre-order from [http://1bitsquared.com/products/lisa-s-starter-kit 1 BIT SQUARED].&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Lisa_s_sideway.jpg&amp;diff=18448</id>
		<title>File:Lisa s sideway.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Lisa_s_sideway.jpg&amp;diff=18448"/>
		<updated>2014-04-10T08:40:48Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18429</id>
		<title>Lisa/S</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18429"/>
		<updated>2014-04-02T15:33:42Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:tudelft_logo.jpg|left|120px|link=http://tudelft.nl/en/]]&lt;br /&gt;
[[File:1bitsquared_logo.png|left|120px|link=http://1bitsquared.com]]&lt;br /&gt;
[[Image:Lisa S V0 1 r2 on finger.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Lisa/S ==&lt;br /&gt;
&lt;br /&gt;
Lisa/S is a very small general purpose autopilot. The main goal of creating an autopilot of minimal size and weight, while providing a lot of functionality is achieved:&lt;br /&gt;
&lt;br /&gt;
* '''Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)'''&lt;br /&gt;
* '''Weight: 2.8g (0.1oz)'''&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
&lt;br /&gt;
* 72MHz 32bit ARM Cortex M3 MCU with 16KB RAM and 512KB Flash&lt;br /&gt;
* Combined 3 Axis Gyroscope and 3 Axis Accelerometer&lt;br /&gt;
* 3 Axis Magnetometer&lt;br /&gt;
* Barometer (Altimeter)&lt;br /&gt;
* Onboard U-Blox GPS&lt;br /&gt;
* Pads to simply connect a [[SuperbitRF|Superbit CYRF]] RC and telemetry module&lt;br /&gt;
* Switching buck/boost converter allowing wide range of power input making it perfect and stable for operation from a 1S LiPO cell.&lt;br /&gt;
* 2 MOSFET switches connected to PWM output channels&lt;br /&gt;
* 6 PWM (servo) outputs&lt;br /&gt;
* 1 debug UART port&lt;br /&gt;
* 1 CAN interface&lt;br /&gt;
* 1 Bind/Boot tact switch&lt;br /&gt;
* SWD programming/debugging interface&lt;br /&gt;
* Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)&lt;br /&gt;
* Weight: 2.8g (0.1oz)&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_superbit.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_superbit.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
So if you are ready to make your tiny plane fly autonomously,[http://1bitsquared.com/collections/frontpage/products/lisa-s you can already order one here]&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Block Diagrams ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Barometer ==&lt;br /&gt;
&lt;br /&gt;
In order to use the barometer, you just need to add two lines to your firmware block (in your airframe file) :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;firmware name=&amp;quot;fixedwing&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;target name=&amp;quot;ap&amp;quot;   board=&amp;quot;lisa_s_0.1&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;configure name=&amp;quot;LISA_S_BARO&amp;quot; value=&amp;quot;BARO_MS5611_SPI&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;/target&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;define name=&amp;quot;USE_BAROMETER&amp;quot; value=&amp;quot;TRUE&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then you just need to load the associated module (still in your airframe file :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;modules&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;load name=&amp;quot;baro_ms5611_spi.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/modules&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Once thoses 3 lines are added to the airframe file, you should be able to get the values of the barometer and paparazzi is going to take them into account when doing it's calculations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematics ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_0_1_r1_schematic.png|300px]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:User_Documentation]] [[Category:Autopilots]]&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
[[File:1bitsquared_logo.png|100px|link=http://1bitsquared.com]]&lt;br /&gt;
&lt;br /&gt;
As of 2013-11-27 Lisa/S is available for pre-order from [http://1bitsquared.com/products/lisa-s-starter-kit 1 BIT SQUARED].&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18428</id>
		<title>Lisa/S</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Lisa/S&amp;diff=18428"/>
		<updated>2014-04-02T15:31:34Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:tudelft_logo.jpg|left|120px|link=http://tudelft.nl/en/]]&lt;br /&gt;
[[File:1bitsquared_logo.png|left|120px|link=http://1bitsquared.com]]&lt;br /&gt;
[[Image:Lisa S V0 1 r2 on finger.jpg|300px|right]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Lisa/S ==&lt;br /&gt;
&lt;br /&gt;
Lisa/S is a very small general purpose autopilot. The main goal of creating an autopilot of minimal size and weight, while providing a lot of functionality is achieved:&lt;br /&gt;
&lt;br /&gt;
* '''Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)'''&lt;br /&gt;
* '''Weight: 2.8g (0.1oz)'''&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
&lt;br /&gt;
* 72MHz 32bit ARM Cortex M3 MCU with 16KB RAM and 512KB Flash&lt;br /&gt;
* Combined 3 Axis Gyroscope and 3 Axis Accelerometer&lt;br /&gt;
* 3 Axis Magnetometer&lt;br /&gt;
* Barometer (Altimeter)&lt;br /&gt;
* Onboard U-Blox GPS&lt;br /&gt;
* Pads to simply connect a [[SuperbitRF|Superbit CYRF]] RC and telemetry module&lt;br /&gt;
* Switching buck/boost converter allowing wide range of power input making it perfect and stable for operation from a 1S LiPO cell.&lt;br /&gt;
* 2 MOSFET switches connected to PWM output channels&lt;br /&gt;
* 6 PWM (servo) outputs&lt;br /&gt;
* 1 debug UART port&lt;br /&gt;
* 1 CAN interface&lt;br /&gt;
* 1 Bind/Boot tact switch&lt;br /&gt;
* SWD programming/debugging interface&lt;br /&gt;
* Size: 20mm x 20mm x 5mm (0.787&amp;quot; x 0.787&amp;quot; x 0.197&amp;quot;)&lt;br /&gt;
* Weight: 2.8g (0.1oz)&lt;br /&gt;
&lt;br /&gt;
=== Pictures ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_ruler.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_top_superbit.jpg|300px]]&lt;br /&gt;
[[Image:Lisa_s_v0_1_r2_bottom_superbit.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
So if you are ready to make your tiny plane fly autonomously,[http://1bitsquared.com/collections/frontpage/products/lisa-s you can already order one here]&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Block Diagrams ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Barometer ==&lt;br /&gt;
&lt;br /&gt;
In order to use the barometer, you just need to add two lines to your firmware block (in your airframe file) :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;firmware name=&amp;quot;fixedwing&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;target name=&amp;quot;ap&amp;quot;   board=&amp;quot;lisa_s_0.1&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;configure name=&amp;quot;LISA_S_BARO&amp;quot; value=&amp;quot;BARO_MS5611_SPI&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;/target&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;define name=&amp;quot;USE_BAROMETER&amp;quot; value=&amp;quot;TRUE&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/firmware&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then you just need to load the associated module (still in your airframe file :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;modules&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;load name=&amp;quot;baro_ms5611_spi.xml&amp;quot;/&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
&amp;lt;/modules&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Once thoses 3 lines are added to the airframe file, you should be able to get the values of the barometer and paparazzi is going to take them into account when doing it's calculations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Schematics ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Lisa_s_0_1_r1_schematic.png|300px]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Lisa]] [[Category:User_Documentation]] [[Category:Autopilots]]&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
[[File:1bitsquared_logo.png|100px|link=http://1bitsquared.com]]&lt;br /&gt;
&lt;br /&gt;
As of 2013-11-27 Lisa/S is available for pre-order from [http://1bitsquared.com/products/lisa-s-starter-kit 1 BIT SQUARED].&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Subsystem/actuators&amp;diff=18405</id>
		<title>Subsystem/actuators</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Subsystem/actuators&amp;diff=18405"/>
		<updated>2014-03-31T08:10:28Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;categorytree style=&amp;quot;float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;&amp;quot; mode=pages&amp;gt;Subsystems&amp;lt;/categorytree&amp;gt;&lt;br /&gt;
This subsystem only needs be explicitly specified for rotorcrafts where there are several different actuators implementations and you have to add the correct one depending on the ESCs you use.&lt;br /&gt;
&lt;br /&gt;
Currently possible actuators subsystems are&lt;br /&gt;
* ''mkk''&lt;br /&gt;
* ''asctec''&lt;br /&gt;
* ''asctec_v2''&lt;br /&gt;
* ''pwm_supervision''&lt;br /&gt;
* ''skiron''&lt;br /&gt;
* ''heli''&lt;br /&gt;
* ''ardrone2''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== MKK ==&lt;br /&gt;
Mikrokopter ESCs&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
   &amp;lt;subsystem name=&amp;quot;actuators&amp;quot;     type=&amp;quot;mkk&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;configure name=&amp;quot;MKK_I2C_SCL_TIME&amp;quot; value=&amp;quot;50&amp;quot;/&amp;gt; &amp;lt;!-- only LPC21xx, optional, 150 is default, use 50 for 8 motors--&amp;gt;&lt;br /&gt;
   &amp;lt;/subsystem&amp;gt;&lt;br /&gt;
   &amp;lt;define name=&amp;quot;I2C_TRANSACTION_QUEUE_LEN&amp;quot; value=&amp;quot;10&amp;quot;/&amp;gt; &amp;lt;!-- default is 8, increase to 10 or more for 8 motors--&amp;gt;&lt;br /&gt;
 &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
* ''MKK_I2C_SCL_TIME'' is specific to LPC21x based boards (e.g. booz) and has no effect for STM32 based boards (e.g. Lisa/M/L)&lt;br /&gt;
&lt;br /&gt;
=== XML configuration ===&lt;br /&gt;
required defines in section ''ACTUATORS_MKK'':&lt;br /&gt;
* ''NB'': number of motors&lt;br /&gt;
* ''ADDR'': the I2C addresses of your motors&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;section name=&amp;quot;ACTUATORS_MKK&amp;quot; prefix=&amp;quot;ACTUATORS_MKK_&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;NB&amp;quot; value=&amp;quot;4&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;ADDR&amp;quot; value=&amp;quot;{ 0x52, 0x54, 0x56, 0x58 }&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
The order of addresses in the list defines the numbering of motors! Warn on this during motor mixing!&lt;br /&gt;
&lt;br /&gt;
You also need the matching [[Rotorcraft_Configuration#Motor_Mixing|Motor Mixing section]].&lt;br /&gt;
MKK specific values for SUPERVISION defines:&lt;br /&gt;
* ''STOP_MOTOR'' : 0, optional, as the default is already 0&lt;br /&gt;
* ''MIN_MOTOR'' : 3&lt;br /&gt;
* ''MAX_MOTOR'' : 200&lt;br /&gt;
&lt;br /&gt;
== Asctec v1 ==&lt;br /&gt;
These controllers already to the mixing themselves, so the [[Rotorcraft_Configuration#Motor_Mixing|Motor Mixing section]] section is not needed.&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;actuators&amp;quot; type=&amp;quot;asctec&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Asctec v2 ==&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;actuators&amp;quot; type=&amp;quot;asctec_v2&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
=== XML configuration ===&lt;br /&gt;
You need the matching [[Rotorcraft_Configuration#Motor_Mixing|Motor Mixing section]].&lt;br /&gt;
&lt;br /&gt;
== PWM Supervision ==&lt;br /&gt;
Only for stm32 based autopilot boards (eg. Lisa/M, Lisa/L)&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;actuators&amp;quot; type=&amp;quot;pwm_supervison&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;define name=&amp;quot;SERVO_HZ&amp;quot; value=&amp;quot;400&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/subsystem&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The define ''SERVO_HZ'' sets a higher update frequency for the pwm controllers which is needed for good response times.&lt;br /&gt;
=== XML configuration ===&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;servos min=&amp;quot;0&amp;quot; neutral=&amp;quot;0&amp;quot; max=&amp;quot;0xff&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;FRONT&amp;quot; no=&amp;quot;0&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1000&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;BACK&amp;quot; no=&amp;quot;1&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1000&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;LEFT&amp;quot; no=&amp;quot;2&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1000&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;RIGHT&amp;quot; no=&amp;quot;3&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1000&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/servos&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
You also need the matching [[Rotorcraft_Configuration#Motor_Mixing|Motor Mixing section]].&lt;br /&gt;
Example PWM specific values for SUPERVISION defines:&lt;br /&gt;
* ''STOP_MOTOR'' : 800&lt;br /&gt;
* ''MIN_MOTOR'' : 1000&lt;br /&gt;
* ''MAX_MOTOR'' : 2000&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Dual PWM Supervision ==&lt;br /&gt;
This module allow you to generate dual pulses to control for example double servos like those :&lt;br /&gt;
&lt;br /&gt;
[[File:Dual linear servos.jpg]]&lt;br /&gt;
&lt;br /&gt;
The signal we want to generate look like that :&lt;br /&gt;
&lt;br /&gt;
[[File:Dual_pulse.png]]&lt;br /&gt;
&lt;br /&gt;
During the time of a regular pwm pulse (20ms) we got two parts :&lt;br /&gt;
* the first 1 with a total period of 4ms. During that part we generate the first pulse that is going to control for exemple the first servo.&lt;br /&gt;
* the first 2 with a total period of 16ms. During that part we generate the second pulse that is going to control for exemple the second servo.&lt;br /&gt;
&lt;br /&gt;
=== How to use the module ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;'''CAUTION!'''&amp;lt;/span&amp;gt; &amp;lt;b&amp;gt;This module is only implemented on the lisa M and lisa S boards at the time of writing this documentation (28 mars 2014)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First of all you are going to need to add the subsystem that is going to generate those pulses :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;target name=&amp;quot;ap&amp;quot;   board=&amp;quot;lisa_s_0.1&amp;quot;&amp;gt;&lt;br /&gt;
      ...&lt;br /&gt;
    &amp;lt;/target&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;actuators&amp;quot; type=&amp;quot;dualPwm&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;define name=&amp;quot;DUAL_PWM_ON&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/subsystem&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== XML configuration ===&lt;br /&gt;
Then we will be able to add a servo block into the airframe file (in the same way we would for regular servos). But we have to specify the driver that we are using for thoses servos :&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
  &amp;lt;servos driver=&amp;quot;DualPwm&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;SWITCH&amp;quot;  no=&amp;quot;3&amp;quot; min=&amp;quot;1100&amp;quot; neutral=&amp;quot;1500&amp;quot; max=&amp;quot;1900&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;servo name=&amp;quot;pitchator&amp;quot;  no=&amp;quot;2&amp;quot; min=&amp;quot;1100&amp;quot; neutral=&amp;quot;1500&amp;quot; max=&amp;quot;1900&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/servos&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;'''CAUTION!'''&amp;lt;/span&amp;gt; &amp;lt;b&amp;gt;The tricky part about this module is that it requires the use of the full timer (that was previously shared between multiple regular pwm). In order to reduce the wast of pins we can only put that type of servos on specifics pins :&lt;br /&gt;
* lisa S (version 0.1) : on the servos 2 and 3 (as shown above). The dual PWM will then but outputted on the 5th pin (yes that is not logical).&lt;br /&gt;
* lisa M (version 2.0) : on the servos 4 and 5. The dual PWM will be outputted on the 4th pin.&lt;br /&gt;
&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:User_Documentation]] [[Category:Subsystems]]&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Dual_linear_servos.jpg&amp;diff=18400</id>
		<title>File:Dual linear servos.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Dual_linear_servos.jpg&amp;diff=18400"/>
		<updated>2014-03-28T17:11:23Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: Karlito139 uploaded a new version of &amp;amp;quot;File:Dual linear servos.jpg&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Dual_pulse.png&amp;diff=18399</id>
		<title>File:Dual pulse.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Dual_pulse.png&amp;diff=18399"/>
		<updated>2014-03-28T17:10:35Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: Karlito139 uploaded a new version of &amp;amp;quot;File:Dual pulse.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Dual_pulse.png&amp;diff=18398</id>
		<title>File:Dual pulse.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Dual_pulse.png&amp;diff=18398"/>
		<updated>2014-03-28T17:08:54Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Dual_linear_servos.jpg&amp;diff=18397</id>
		<title>File:Dual linear servos.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Dual_linear_servos.jpg&amp;diff=18397"/>
		<updated>2014-03-28T17:00:48Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Airframe_Configuration&amp;diff=18353</id>
		<title>Airframe Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Airframe_Configuration&amp;diff=18353"/>
		<updated>2014-03-13T12:59:31Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Servos */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;categorytree style=&amp;quot;float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;&amp;quot; mode=pages&amp;gt;Airframe_Configuration&amp;lt;/categorytree&amp;gt;&lt;br /&gt;
== About ==&lt;br /&gt;
The airframe file is the most important configuration file and contains all the hardware and software settings for your airframe. It describes what hardware you have and which firmware, sensors, algorithms, etc. you want to use and also holds your configuration parameters. All gains, trims, and behavior settings are defined with standard XML elements.&lt;br /&gt;
&lt;br /&gt;
The XML airframe configuration file is located in &amp;lt;tt&amp;gt;conf/airframes/&amp;lt;yourairframe&amp;gt;.xml&amp;lt;/tt&amp;gt; and always begins with a &amp;lt;!DOCTYPE airframe SYSTEM &amp;quot;airframe.dtd&amp;quot;&amp;gt; line and should look like this&lt;br /&gt;
{{Box Code|conf/airframes/&amp;lt;yourairframe&amp;gt;.xml|&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE airframe SYSTEM &amp;quot;airframe.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;airframe name=&amp;quot;yourairframe&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;!-- The airframe configuration goes here. --&amp;gt;&lt;br /&gt;
&amp;lt;/airframe&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Also see the wiki pages for [[Fixedwing_Configuration|fixedwing specific configuration]] and [[Rotorcraft_Configuration|rotorcraft specific configuration]].&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating a new Aircraft ==&lt;br /&gt;
While the airframe file is where you configure most aspects of your aircraft, a fully specified aircraft needs several XML configuration files:&lt;br /&gt;
* Airframe (what this page is about)&lt;br /&gt;
* [[Flight_Plans|Flight Plan]]&lt;br /&gt;
* [[Settings]]&lt;br /&gt;
* [[Radio_Control|Radio]] (if you use a PPM based R/C system)&lt;br /&gt;
* [[Telemetry]]&lt;br /&gt;
Each aircraft is assigned a name, unique ID and the associated configuration files in [[Conf.xml|&amp;lt;tt&amp;gt;conf/conf.xml&amp;lt;/tt&amp;gt;]]. To create a new Aircraft, click new in the menu A/C in the [[Paparazzi_Center|Paparazzi Center]] and select your new airframe file, etc. (or specify it by hand in [[Conf.xml|&amp;lt;tt&amp;gt;conf/conf.xml&amp;lt;/tt&amp;gt;]]).&lt;br /&gt;
&lt;br /&gt;
== Firmware and Hardware definitions ==&lt;br /&gt;
First you should specify which firmware you want to use, that is if you have a &amp;lt;tt&amp;gt;[[Fixedwing_Configuration|fixedwing]]&amp;lt;/tt&amp;gt; aircraft or a &amp;lt;tt&amp;gt;[[Rotorcraft_Configuration|rotorcraft]]&amp;lt;/tt&amp;gt;:&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
=== Select your Board ===&lt;br /&gt;
To specify autopilot hardware you are using and it's low-level settings you have to add a ''target''-tag.&lt;br /&gt;
Each ''target'' has two attributes, which are ''name'' and a corresponding ''board'' attribute.&lt;br /&gt;
The ''name'' attribute is either &amp;quot;ap&amp;quot; (autopilot) or &amp;quot;sim&amp;quot; (simulation).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;target name=&amp;quot;sim&amp;quot; board=&amp;quot;pc&amp;quot;/&amp;gt; &amp;lt;!-- For simulation. --&amp;gt;&lt;br /&gt;
    &amp;lt;target name=&amp;quot;ap&amp;quot;  board=&amp;quot;lisa_m_1.0&amp;quot;/&amp;gt; &amp;lt;!-- Select your board here --&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==== Simulation targets ====&lt;br /&gt;
target name=&amp;quot;sim&amp;quot;,&amp;quot;jsbsim&amp;quot;,&amp;quot;nps&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
board=&amp;quot;pc&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More Information at [[Simulation]].&lt;br /&gt;
&lt;br /&gt;
==== Board targets ====&lt;br /&gt;
target name=&amp;quot;ap&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
board=&lt;br /&gt;
&amp;quot;apogee_0.99&amp;quot;,&lt;br /&gt;
&amp;quot;apogee_1.0&amp;quot;,&lt;br /&gt;
&amp;quot;ardrone2_raw&amp;quot;,&lt;br /&gt;
&amp;quot;ardrone2_sdk&amp;quot;,&lt;br /&gt;
&amp;quot;booz_1.0&amp;quot;,&lt;br /&gt;
&amp;quot;classix&amp;quot;,&lt;br /&gt;
&amp;quot;hb_1.1&amp;quot;,&lt;br /&gt;
&amp;quot;krooz_sd&amp;quot;,&lt;br /&gt;
&amp;quot;lisa_l_1.0&amp;quot;, &lt;br /&gt;
&amp;quot;lisa_l_1.1&amp;quot;, &lt;br /&gt;
&amp;quot;lisa_m_1.0&amp;quot;, &lt;br /&gt;
&amp;quot;lisa_m_2.0&amp;quot;,&lt;br /&gt;
&amp;quot;logom_2.6&amp;quot;,&lt;br /&gt;
&amp;quot;navgo_1.0&amp;quot;, &lt;br /&gt;
&amp;quot;sdlog_1.0&amp;quot;, &lt;br /&gt;
&amp;quot;stm32f4_discovery&amp;quot;,&lt;br /&gt;
&amp;quot;tiny_0.99&amp;quot;, &lt;br /&gt;
&amp;quot;tiny_1.1&amp;quot;, &lt;br /&gt;
&amp;quot;tiny_2.1&amp;quot;, &lt;br /&gt;
&amp;quot;tiny_2.11&amp;quot;, &lt;br /&gt;
&amp;quot;twog_1.0&amp;quot;, &lt;br /&gt;
&amp;quot;umarim_1.0&amp;quot;,&lt;br /&gt;
&amp;quot;umarim_lite_2.0&amp;quot;,&lt;br /&gt;
&amp;quot;yapa_2.0&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
==== Direct Makefile ====&lt;br /&gt;
Optionally you can also add a raw [http://en.wikipedia.org/wiki/Makefile Makefile] section. This is only needed in very advanced setups. For example when testing newly developed hardware.&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
You can configure the LEDs on the autopilot to be used for different status indicators:&lt;br /&gt;
; ''SYS_TIME_LED'': blinks with 1Hz&lt;br /&gt;
; ''AHRS_ALIGNER_LED'': blinks until the AHRS is aligned (gyro bias initilalized) and then stays on&lt;br /&gt;
; ''GPS_LED'': blinking if trying to get a fix, on if 3D fix&lt;br /&gt;
; ''RADIO_CONTROL_LED'': on if RC signal is ok&lt;br /&gt;
; ''BARO_LED'' : only on booz and navgo boards: blinks until baro offset is initialized and then stays on&lt;br /&gt;
&lt;br /&gt;
Depending on your board some of the LEDs on it are already assigned to some indicators by default, check the appropriate autopilot board page for the defaults.&lt;br /&gt;
Use a configure node in the firmware section to assign an indicator to a LED number or disable that with ''none'':&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
     &amp;lt;configure name=&amp;quot;SYS_TIME_LED&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;configure name=&amp;quot;RADIO_CONTROL_LED&amp;quot; value=&amp;quot;2&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;configure name=&amp;quot;GPS_LED&amp;quot; value=&amp;quot;none&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
Beware that you can only assign '''one''' indicator to a LED number. So if the LED you want to use is already in use because another indicator is set to that number by default you have to disable that other indicator by setting it to ''none''.&lt;br /&gt;
&lt;br /&gt;
== Subsystems ==&lt;br /&gt;
&lt;br /&gt;
Each autopilot features certain [[Subsystems|subsystems]] which need to be configured properly.&lt;br /&gt;
The most important ones are described below.&lt;br /&gt;
&lt;br /&gt;
=== IMU ===&lt;br /&gt;
Add the [[Subsystem/imu|imu subsystem]] with the type you are using.&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;imu&amp;quot;       type=&amp;quot;aspirin_v1.5&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
See the [[Subsystem/imu|imu subsystem]] page for more details.&lt;br /&gt;
Also see the [[ImuCalibration|IMU calibration]] page.&lt;br /&gt;
&lt;br /&gt;
=== AHRS ===&lt;br /&gt;
The [[Subsystem/ahrs|AHRS subsystem]] specifies which attitude estimation filter you are using, e.g. for the complementary filter:&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;ahrs&amp;quot; type=&amp;quot;int_cmpl_euler&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
All AHRS algorithms depend on an imu subsystem, except for the ahrs_infrared which depends on the infrared module.&lt;br /&gt;
See the [[Subsystem/ahrs|AHRS subsystem page]] for more details.&lt;br /&gt;
&lt;br /&gt;
If the magnetometer should be used the [[Subsystem/ahrs#Local_Magnetic_Field|local magnetic field section]] must be filled in.&lt;br /&gt;
&lt;br /&gt;
=== Radio Control ===&lt;br /&gt;
&lt;br /&gt;
Supported types are:&lt;br /&gt;
* ''ppm''&lt;br /&gt;
* ''spektrum''&lt;br /&gt;
* ''datalink''&lt;br /&gt;
&lt;br /&gt;
Just specify the appropriate [[Subsystem/radio_control|radio control subsystem]] in your firmware section, e.g.:&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;radio_control&amp;quot;     type=&amp;quot;ppm&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Telemetry (Modem) ===&lt;br /&gt;
The modem protocol and baud rate must be set in both the airframe file and ground station.  Any standard baud rate can be used, with 9600 being adequate and 57600 recommended for most users to allow high speed telemetry for more detailed flight data analysis.  The actual data rate is determined by the number of messages being sent and the period of each message as defined in your [[Telemetry|telemetry file]], e.g. &amp;lt;tt&amp;gt;conf/telemetry/default.xml&amp;lt;/tt&amp;gt;.  Those wishing to experiment with &amp;quot;alternative&amp;quot; modems can reduce the number and period of each telemetry message to fit within most any bandwidth constraint.&lt;br /&gt;
&lt;br /&gt;
The [[Subsystem/telemetry|telemetry subsystem]] supports the following modem protocols:&lt;br /&gt;
* Standard transparent serial (pprz) - this is compatible with all modems and can be used to connect the autopilot directly to a PC for testing without a modem.&lt;br /&gt;
* Maxstream API protocol (xbee) - compatible with all Maxstream modems including the 9XTend and Zigbee.  This protocol enables hardware addressing, allowing multiple aircraft to be managed from a single ground modem.&lt;br /&gt;
&lt;br /&gt;
Just specify the appropriate [[Subsystem/telemetry|telemetry subsystem]] in your firmware section. You can currently choose between the types ''transparent'', ''transparent_usb'' and ''xbee_api''.&lt;br /&gt;
&lt;br /&gt;
'''The default baudrate is 57600 baud, see the [[Subsystem/telemetry|telemetry subsystem]] page for more details and configuration options.'''&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;telemetry&amp;quot;     type=&amp;quot;transparent&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== GPS ===&lt;br /&gt;
The serial port settings must match that of the GPS and are configured here along with the necessary files to interpret the u-blox UBX binary protocol:&lt;br /&gt;
&lt;br /&gt;
Just specify the appropriate [[Subsystem/gps|gps subsystem]] in your firmware section. You can currently choose between the types '''ublox''' and '''ublox_utm''' for the older series 4 modules which still provide a UTM message.&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;gps&amp;quot;               type=&amp;quot;ublox&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The correct UART is already defined by default according to your board.&lt;br /&gt;
The default GPS baudrate is 38400baud.&lt;br /&gt;
&lt;br /&gt;
If you need to set different baud rates or UART see the [[Subsystem/gps]] page for the options.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
* u-blox GPS modules are factory configured for 9600 baud, 38,400 baud is recommended along with the other required changes.  The GPS can be accessed directly through the [[tunnel|UART Tunnel]] and [[GPS#GPS_configuration_using_U-Center|Configured with u-center]]&lt;br /&gt;
&lt;br /&gt;
== XML Parameters ==&lt;br /&gt;
'''When defining parameters you can use [[Units|automatic unit conversion]] to conveniently set it in e.g. degrees.'''&lt;br /&gt;
&lt;br /&gt;
=== Commands ===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;commands&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; lists the abstract commands you need to control the aircraft. In a simple fixed-wing example, we have only three:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;commands&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;THROTTLE&amp;quot; failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;ROLL&amp;quot;     failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;PITCH&amp;quot;    failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/commands&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
For rotorcraft, it is usually:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;commands&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;PITCH&amp;quot;    failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;ROLL&amp;quot;     failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;YAW&amp;quot;      failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;THRUST&amp;quot;   failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/commands&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each command is also associated with a failsafe value which will be used if no controller is active, for example during initialization of the autopilot board. The range of these values is [-9600:9600]. For &amp;lt;tt&amp;gt;&amp;quot;THROTTLE&amp;quot;&amp;lt;/tt&amp;gt;, the range is [0, 9600] and in the corresponding &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;servo&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; definition the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;neutral&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;min&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; are usually the same for PWM based servos (see below). Note that these commands do not necessarily match the servo actuators. For example, the &amp;lt;tt&amp;gt;&amp;quot;ROLL&amp;quot;&amp;lt;/tt&amp;gt; command is typically linked to two aileron actuators.&lt;br /&gt;
&lt;br /&gt;
=== Servos ===&lt;br /&gt;
&lt;br /&gt;
The above commands get translated to the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;servos&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; here. In the example below we use two elevons and a motor. ([http://en.wikipedia.org/wiki/Elevon ''Elevons''] are surfaces used for both pitch and roll as on a flying wing.) These servos are listed in the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;servos&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; section:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;servos&amp;gt;&lt;br /&gt;
  &amp;lt;servo name=&amp;quot;THROTTLE&amp;quot;         no=&amp;quot;0&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1000&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;servo name=&amp;quot;ELEVON_LEFTSIDE&amp;quot;  no=&amp;quot;1&amp;quot; min=&amp;quot;2000&amp;quot; neutral=&amp;quot;1500&amp;quot; max=&amp;quot;1000&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;servo name=&amp;quot;ELEVON_RIGHTSIDE&amp;quot; no=&amp;quot;2&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1500&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/servos&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Names are associated to the corresponding '''real physical connector''' to which a servo is connected '''on the autopilot board'''. For example no=&amp;quot;2&amp;quot; means connector two on the board. Also the servo neutral value, total range and direction are defined.  Min/max/neutral values are expressed in microseconds. The direction of travel can be reversed by exchanging min with max (as in &amp;lt;tt&amp;gt;&amp;quot;ELEVON_LEFTSIDE&amp;quot;&amp;lt;/tt&amp;gt;, above).  The ''standard'' travel for a hobby servo is 1000µs - 2000µs with a 1500µs neutral. Trim can be added by changing this neutral value. Absolute servo travel limits can be increased or reduced with the min/max values.  The &amp;lt;tt&amp;gt;&amp;quot;THROTTLE&amp;quot;&amp;lt;/tt&amp;gt; servo typically has the same value for the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;neutral&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;min&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The attribute &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;driver&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; for &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;servos&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; node tells which actuators' driver is associated to the listed servos. After the version '''v4.9_devel-164-gdb0d004''', multiple servos sections can be defined and used together, if the correct [[Subsystem/actuators| actuators subsystems]] are loaded. Some boards are automatically loading a default driver, the one used when no &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;driver&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; attribute is specified.&lt;br /&gt;
&lt;br /&gt;
Note the following important tips:&lt;br /&gt;
* Reverse the servo direction by exchanging min/max&lt;br /&gt;
* Trim should always be adjusted mechanically if possible to avoid asymmetrical travel&lt;br /&gt;
* Any reduction of the total travel range should be done mechanically to maintain precision&lt;br /&gt;
* Many servos will respond well to values slightly outside the normal 1000-2000µs range but experiment carefully as the servo may not operate reliably outside this range and may even suffer permanent damage.&lt;br /&gt;
* Board connector numbering starts with &amp;lt;b&amp;gt;zero (0)&amp;lt;/b&amp;gt; not with one&lt;br /&gt;
* Servos are also known under the synonym &amp;lt;b&amp;gt;actuators&amp;lt;/b&amp;gt;&lt;br /&gt;
* (after version '''v4.9_devel-164-gdb0d004''') For I2C based motor speed control using the [[Rotorcraft_Configuration#Motor_Mixing|motor mixing]]:&lt;br /&gt;
** min: command to stop the motor&lt;br /&gt;
** neutral: motor idle command&lt;br /&gt;
** max: max thrust command&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;servos&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; are then linked to the commands in the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;command_laws&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; section:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&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  * 0.3&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;let var=&amp;quot;elevator&amp;quot;           value=&amp;quot;@PITCH * 0.7&amp;quot;/&amp;gt;  &lt;br /&gt;
  &amp;lt;set servo=&amp;quot;THROTTLE&amp;quot;         value=&amp;quot;@THROTTLE&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;set servo=&amp;quot;ELEVON_LEFTSIDE&amp;quot;  value=&amp;quot;$elevator + $aileron&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;set servo=&amp;quot;ELEVON_RIGHTSIDE&amp;quot; value=&amp;quot;$elevator - $aileron&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/command_laws&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:airframe_sign_conventions.jpg|thumb|Sign conventions for flight dynamics]]&lt;br /&gt;
where the third line is the simplest: the throttle servo value equals throttle command value. The other lines define and control the pitch/roll mixing.  Elevon values are computed with a combination of two commands, '''ROLL''' and '''PITCH'''. This ''mixer'' is defined with two intermediate variables '''aileron''' and '''elevator''' introduced with the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;let&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; element.  The '''@''' symbol is used to reference a command value in the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;value&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; attribute of the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;set&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;let&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; elements.  In the above example, the servos are limited to +/- 70% of their full travel for pitch and 30% for roll, only in combination can the servos reach 100% deflection.  Note that these numbers ''should add up 100% or more, never less''.  For example, you may want 100% travel available for pitch - this means if a roll is commanded along with maximum pitch only one servo will respond to the roll command as the other has already reached its mechanical limit.  If you find after tuning that these numbers add to less than 100% consider reducing the surface travel mechanically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the signs used in the description follow the standard convention.&lt;br /&gt;
&lt;br /&gt;
After '''v4.9_devel-164-gdb0d004''', the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;command_laws&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; section is mandatory for both fixedwing and rotorcraft firmwares, only for fixedwing otherwise.&lt;br /&gt;
&lt;br /&gt;
=== Battery === &lt;br /&gt;
This section gives characteristics for monitoring the main power battery.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MILLIAMP_AT_FULL_THROTTLE&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; represents the actual current (in mA) when full THROTTLE is applied. Note that when flying the current typically is significantly lower than in static tests at home on your workbench. &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MILLIAMP_AT_FULL_THROTTLE&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; is used to compute the &amp;lt;tt&amp;gt;energy&amp;lt;/tt&amp;gt; value of the &amp;lt;tt&amp;gt;BAT&amp;lt;/tt&amp;gt; message when no [[Current_sensor|Current sensor]] is mounted in the airframe. This value can also be used in flight plans. For example, if at full throttle your motor consumes 10 Amps, use a value of 10000. You can &amp;quot;tweak&amp;quot; this number after a few flights to match the capacity of your battery. If upon landing your bat.energy messages says that you used 2500 mAh while the energy recharged into the battery is only 2000 mAh, you could reduce the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MILLIAMP_AT_FULL_THROTTLE&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; value by 20% to match your in-flight current consumption. This tweaking is most precise if you fly full throttle only (respectively no throttle to glide down again).&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;CURRENT_ESTIMATION_NONLINEARITY&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; can be added to tweak the energy estimation for non full throttle cruise. As the current consumption is nonlinear, at 50% throttle it is likely to be substantially less than 50%. A superellipse is used to approximate this nonlinearity. The default setting is 1.2 and is used if the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;CURRENT_ESTIMATION_NONLINEARITY&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; is not defined in your airframe file. A value 1 corresponds to linear behaviour, 1.5 corresponds to strong nonlinearity. The tweaking is done same as decribed above for &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MILLIAMP_AT_FULL_THROTTLE&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt;, but only partial throttle (cruise throttle) should be applied in flight.&lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MILLIAMP_AT_FULL_THROTTLE&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;CURRENT_ESTIMATION_NONLINEARITY&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; are tweaked well, you get precise energy estimations with less than 5% error independant of your flight pattern without even requiring a [[Current_sensor|current sensor]].&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;CATASTROPHIC_BAT_LEVEL&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; (was previously &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;LOW_BATTERY&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt;) value defines the voltage at which the autopilot will lock the throttle at 0% in autonomous mode (kill_throttle mode). This value is also used by the ground server to issue a '''CATASTROPHIC''' alarm message on the bus (this message will be displayed in the console of the GCS).  &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;CRITIC&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;LOW&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; values will also used as threshold for '''CRITIC''' and '''WARNING''' alarms. They are optional and the respective defaults are 10.0 and 10.5V.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MAX_BAT_LEVEL&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; may be specified to improve the display of the battery gauge in the strip or in &amp;quot;papgets&amp;quot;. Note that this definition is optional, with a default value of 12.5V.&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;section name=&amp;quot;BAT&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;MILLIAMP_AT_FULL_THROTTLE&amp;quot; value=&amp;quot;12000&amp;quot; unit=&amp;quot;mA&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;CATASTROPHIC_BAT_LEVEL&amp;quot; value=&amp;quot;6.0&amp;quot; unit=&amp;quot;V&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;CRITIC_BAT_LEVEL&amp;quot; value=&amp;quot;6.5&amp;quot; unit=&amp;quot;V&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;LOW_BAT_LEVEL&amp;quot; value=&amp;quot;7.0&amp;quot; unit=&amp;quot;V&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;MAX_BAT_LEVEL&amp;quot; value=&amp;quot;8.4&amp;quot; unit=&amp;quot;V&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The conversion of ADC measurements to Voltage is already defined for the different autopilot boards, if you need to override these defaults you can use the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;VoltageOfAdc(adc)&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; define and also specify offsets or anything else you might need, e.g.:&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;section name=&amp;quot;BAT&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;define name=&amp;quot;VOLTAGE_ADC_SCALE&amp;quot; value=&amp;quot;0.0177531&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;VOLTAGE_OFFSET&amp;quot; value=&amp;quot;0.5&amp;quot; unit=&amp;quot;V&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;VoltageOfAdc(adc)&amp;quot; value =&amp;quot;(VOLTAGE_ADC_SCALE * adc + VOLTAGE_OFFSET)&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Modules ===&lt;br /&gt;
The [[Modules|modules]] allow to add new code in a flexible way with initialisation, periodic and event functions without modifying the main AP loop.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;modules main_freq=&amp;quot;60&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;load name=&amp;quot;demo_module.xml&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/modules&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The main_freq parameter (in Hz) allows to specify the frequency of the main loop. Default is 60 Hz&lt;br /&gt;
&lt;br /&gt;
=== GCS ===&lt;br /&gt;
Use this &amp;lt;b&amp;gt;optional&amp;lt;/b&amp;gt; section to help customize parts of the GCS for a specific airframe:&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;section name=&amp;quot;GCS&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;define name=&amp;quot;ALT_SHIFT_PLUS_PLUS&amp;quot; value=&amp;quot;30&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;ALT_SHIFT_PLUS&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;ALT_SHIFT_MINUS&amp;quot; value=&amp;quot;-5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;SPEECH_NAME&amp;quot; value=&amp;quot;Quad&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;AC_ICON&amp;quot; value=&amp;quot;flyingwing&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
[[Image:ac_icon_multi_uav.png|thumb|Various A/C icons demonstrated on a multi UAV simulation session]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;ALT_SHIFT_PLUS_PLUS&amp;lt;/tt&amp;gt; sets the number of metres the target altitude will change when the double up arrow button is pressed on the [[GCS#Strips|strip]]&lt;br /&gt;
* &amp;lt;tt&amp;gt;ALT_SHIFT_PLUS&amp;lt;/tt&amp;gt; sets the number of metres the target altitude will change when the up arrow button is pressed on the [[GCS#Strips|strip]]&lt;br /&gt;
* &amp;lt;tt&amp;gt;ALT_SHIFT_MINUS&amp;lt;/tt&amp;gt; sets the number of metres the target altitude will change when the down arrow button is pressed on the [[GCS#Strips|strip]]&lt;br /&gt;
* &amp;lt;tt&amp;gt;SPEECH_NAME&amp;lt;/tt&amp;gt; a string ([a-zA-Z0-9_]) that will be used in place of the aircraft name specified in &amp;lt;tt&amp;gt;conf.xml&amp;lt;/tt&amp;gt; for the [[Speech|speech]] and [[GCS#Alarms|alarms]] functionality. Set this to &amp;quot;_&amp;quot; to prevent the speech function from saying the aircraft name. Useful if your aircraft name takes a long time to say (i.e. &amp;quot;UAV1-A_with_spektrum&amp;quot; can be shortened to &amp;quot;Plane&amp;quot;).&lt;br /&gt;
* &amp;lt;tt&amp;gt;AC_ICON&amp;lt;/tt&amp;gt; can be used to define the vehicle icon (or overwrite the default icon) that shows up on the 2D-map of the GCS. Available values are: &amp;lt;tt&amp;gt;flyingwing&amp;lt;/tt&amp;gt; , &amp;lt;tt&amp;gt;fixedwing&amp;lt;/tt&amp;gt; , &amp;lt;tt&amp;gt;rotorcraft&amp;lt;/tt&amp;gt; , &amp;lt;tt&amp;gt;home&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:User_Documentation]] [[Category:Airframe_Configuration]]&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Airframe_Configuration&amp;diff=18352</id>
		<title>Airframe Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Airframe_Configuration&amp;diff=18352"/>
		<updated>2014-03-13T12:58:32Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Servos */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;categorytree style=&amp;quot;float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;&amp;quot; mode=pages&amp;gt;Airframe_Configuration&amp;lt;/categorytree&amp;gt;&lt;br /&gt;
== About ==&lt;br /&gt;
The airframe file is the most important configuration file and contains all the hardware and software settings for your airframe. It describes what hardware you have and which firmware, sensors, algorithms, etc. you want to use and also holds your configuration parameters. All gains, trims, and behavior settings are defined with standard XML elements.&lt;br /&gt;
&lt;br /&gt;
The XML airframe configuration file is located in &amp;lt;tt&amp;gt;conf/airframes/&amp;lt;yourairframe&amp;gt;.xml&amp;lt;/tt&amp;gt; and always begins with a &amp;lt;!DOCTYPE airframe SYSTEM &amp;quot;airframe.dtd&amp;quot;&amp;gt; line and should look like this&lt;br /&gt;
{{Box Code|conf/airframes/&amp;lt;yourairframe&amp;gt;.xml|&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE airframe SYSTEM &amp;quot;airframe.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;airframe name=&amp;quot;yourairframe&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;!-- The airframe configuration goes here. --&amp;gt;&lt;br /&gt;
&amp;lt;/airframe&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Also see the wiki pages for [[Fixedwing_Configuration|fixedwing specific configuration]] and [[Rotorcraft_Configuration|rotorcraft specific configuration]].&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Creating a new Aircraft ==&lt;br /&gt;
While the airframe file is where you configure most aspects of your aircraft, a fully specified aircraft needs several XML configuration files:&lt;br /&gt;
* Airframe (what this page is about)&lt;br /&gt;
* [[Flight_Plans|Flight Plan]]&lt;br /&gt;
* [[Settings]]&lt;br /&gt;
* [[Radio_Control|Radio]] (if you use a PPM based R/C system)&lt;br /&gt;
* [[Telemetry]]&lt;br /&gt;
Each aircraft is assigned a name, unique ID and the associated configuration files in [[Conf.xml|&amp;lt;tt&amp;gt;conf/conf.xml&amp;lt;/tt&amp;gt;]]. To create a new Aircraft, click new in the menu A/C in the [[Paparazzi_Center|Paparazzi Center]] and select your new airframe file, etc. (or specify it by hand in [[Conf.xml|&amp;lt;tt&amp;gt;conf/conf.xml&amp;lt;/tt&amp;gt;]]).&lt;br /&gt;
&lt;br /&gt;
== Firmware and Hardware definitions ==&lt;br /&gt;
First you should specify which firmware you want to use, that is if you have a &amp;lt;tt&amp;gt;[[Fixedwing_Configuration|fixedwing]]&amp;lt;/tt&amp;gt; aircraft or a &amp;lt;tt&amp;gt;[[Rotorcraft_Configuration|rotorcraft]]&amp;lt;/tt&amp;gt;:&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
=== Select your Board ===&lt;br /&gt;
To specify autopilot hardware you are using and it's low-level settings you have to add a ''target''-tag.&lt;br /&gt;
Each ''target'' has two attributes, which are ''name'' and a corresponding ''board'' attribute.&lt;br /&gt;
The ''name'' attribute is either &amp;quot;ap&amp;quot; (autopilot) or &amp;quot;sim&amp;quot; (simulation).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;target name=&amp;quot;sim&amp;quot; board=&amp;quot;pc&amp;quot;/&amp;gt; &amp;lt;!-- For simulation. --&amp;gt;&lt;br /&gt;
    &amp;lt;target name=&amp;quot;ap&amp;quot;  board=&amp;quot;lisa_m_1.0&amp;quot;/&amp;gt; &amp;lt;!-- Select your board here --&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==== Simulation targets ====&lt;br /&gt;
target name=&amp;quot;sim&amp;quot;,&amp;quot;jsbsim&amp;quot;,&amp;quot;nps&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
board=&amp;quot;pc&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More Information at [[Simulation]].&lt;br /&gt;
&lt;br /&gt;
==== Board targets ====&lt;br /&gt;
target name=&amp;quot;ap&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
board=&lt;br /&gt;
&amp;quot;apogee_0.99&amp;quot;,&lt;br /&gt;
&amp;quot;apogee_1.0&amp;quot;,&lt;br /&gt;
&amp;quot;ardrone2_raw&amp;quot;,&lt;br /&gt;
&amp;quot;ardrone2_sdk&amp;quot;,&lt;br /&gt;
&amp;quot;booz_1.0&amp;quot;,&lt;br /&gt;
&amp;quot;classix&amp;quot;,&lt;br /&gt;
&amp;quot;hb_1.1&amp;quot;,&lt;br /&gt;
&amp;quot;krooz_sd&amp;quot;,&lt;br /&gt;
&amp;quot;lisa_l_1.0&amp;quot;, &lt;br /&gt;
&amp;quot;lisa_l_1.1&amp;quot;, &lt;br /&gt;
&amp;quot;lisa_m_1.0&amp;quot;, &lt;br /&gt;
&amp;quot;lisa_m_2.0&amp;quot;,&lt;br /&gt;
&amp;quot;logom_2.6&amp;quot;,&lt;br /&gt;
&amp;quot;navgo_1.0&amp;quot;, &lt;br /&gt;
&amp;quot;sdlog_1.0&amp;quot;, &lt;br /&gt;
&amp;quot;stm32f4_discovery&amp;quot;,&lt;br /&gt;
&amp;quot;tiny_0.99&amp;quot;, &lt;br /&gt;
&amp;quot;tiny_1.1&amp;quot;, &lt;br /&gt;
&amp;quot;tiny_2.1&amp;quot;, &lt;br /&gt;
&amp;quot;tiny_2.11&amp;quot;, &lt;br /&gt;
&amp;quot;twog_1.0&amp;quot;, &lt;br /&gt;
&amp;quot;umarim_1.0&amp;quot;,&lt;br /&gt;
&amp;quot;umarim_lite_2.0&amp;quot;,&lt;br /&gt;
&amp;quot;yapa_2.0&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
==== Direct Makefile ====&lt;br /&gt;
Optionally you can also add a raw [http://en.wikipedia.org/wiki/Makefile Makefile] section. This is only needed in very advanced setups. For example when testing newly developed hardware.&lt;br /&gt;
&lt;br /&gt;
=== LEDs ===&lt;br /&gt;
You can configure the LEDs on the autopilot to be used for different status indicators:&lt;br /&gt;
; ''SYS_TIME_LED'': blinks with 1Hz&lt;br /&gt;
; ''AHRS_ALIGNER_LED'': blinks until the AHRS is aligned (gyro bias initilalized) and then stays on&lt;br /&gt;
; ''GPS_LED'': blinking if trying to get a fix, on if 3D fix&lt;br /&gt;
; ''RADIO_CONTROL_LED'': on if RC signal is ok&lt;br /&gt;
; ''BARO_LED'' : only on booz and navgo boards: blinks until baro offset is initialized and then stays on&lt;br /&gt;
&lt;br /&gt;
Depending on your board some of the LEDs on it are already assigned to some indicators by default, check the appropriate autopilot board page for the defaults.&lt;br /&gt;
Use a configure node in the firmware section to assign an indicator to a LED number or disable that with ''none'':&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
     &amp;lt;configure name=&amp;quot;SYS_TIME_LED&amp;quot; value=&amp;quot;1&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;configure name=&amp;quot;RADIO_CONTROL_LED&amp;quot; value=&amp;quot;2&amp;quot;/&amp;gt;&lt;br /&gt;
     &amp;lt;configure name=&amp;quot;GPS_LED&amp;quot; value=&amp;quot;none&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
Beware that you can only assign '''one''' indicator to a LED number. So if the LED you want to use is already in use because another indicator is set to that number by default you have to disable that other indicator by setting it to ''none''.&lt;br /&gt;
&lt;br /&gt;
== Subsystems ==&lt;br /&gt;
&lt;br /&gt;
Each autopilot features certain [[Subsystems|subsystems]] which need to be configured properly.&lt;br /&gt;
The most important ones are described below.&lt;br /&gt;
&lt;br /&gt;
=== IMU ===&lt;br /&gt;
Add the [[Subsystem/imu|imu subsystem]] with the type you are using.&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;imu&amp;quot;       type=&amp;quot;aspirin_v1.5&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
See the [[Subsystem/imu|imu subsystem]] page for more details.&lt;br /&gt;
Also see the [[ImuCalibration|IMU calibration]] page.&lt;br /&gt;
&lt;br /&gt;
=== AHRS ===&lt;br /&gt;
The [[Subsystem/ahrs|AHRS subsystem]] specifies which attitude estimation filter you are using, e.g. for the complementary filter:&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;ahrs&amp;quot; type=&amp;quot;int_cmpl_euler&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
All AHRS algorithms depend on an imu subsystem, except for the ahrs_infrared which depends on the infrared module.&lt;br /&gt;
See the [[Subsystem/ahrs|AHRS subsystem page]] for more details.&lt;br /&gt;
&lt;br /&gt;
If the magnetometer should be used the [[Subsystem/ahrs#Local_Magnetic_Field|local magnetic field section]] must be filled in.&lt;br /&gt;
&lt;br /&gt;
=== Radio Control ===&lt;br /&gt;
&lt;br /&gt;
Supported types are:&lt;br /&gt;
* ''ppm''&lt;br /&gt;
* ''spektrum''&lt;br /&gt;
* ''datalink''&lt;br /&gt;
&lt;br /&gt;
Just specify the appropriate [[Subsystem/radio_control|radio control subsystem]] in your firmware section, e.g.:&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;radio_control&amp;quot;     type=&amp;quot;ppm&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Telemetry (Modem) ===&lt;br /&gt;
The modem protocol and baud rate must be set in both the airframe file and ground station.  Any standard baud rate can be used, with 9600 being adequate and 57600 recommended for most users to allow high speed telemetry for more detailed flight data analysis.  The actual data rate is determined by the number of messages being sent and the period of each message as defined in your [[Telemetry|telemetry file]], e.g. &amp;lt;tt&amp;gt;conf/telemetry/default.xml&amp;lt;/tt&amp;gt;.  Those wishing to experiment with &amp;quot;alternative&amp;quot; modems can reduce the number and period of each telemetry message to fit within most any bandwidth constraint.&lt;br /&gt;
&lt;br /&gt;
The [[Subsystem/telemetry|telemetry subsystem]] supports the following modem protocols:&lt;br /&gt;
* Standard transparent serial (pprz) - this is compatible with all modems and can be used to connect the autopilot directly to a PC for testing without a modem.&lt;br /&gt;
* Maxstream API protocol (xbee) - compatible with all Maxstream modems including the 9XTend and Zigbee.  This protocol enables hardware addressing, allowing multiple aircraft to be managed from a single ground modem.&lt;br /&gt;
&lt;br /&gt;
Just specify the appropriate [[Subsystem/telemetry|telemetry subsystem]] in your firmware section. You can currently choose between the types ''transparent'', ''transparent_usb'' and ''xbee_api''.&lt;br /&gt;
&lt;br /&gt;
'''The default baudrate is 57600 baud, see the [[Subsystem/telemetry|telemetry subsystem]] page for more details and configuration options.'''&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;telemetry&amp;quot;     type=&amp;quot;transparent&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== GPS ===&lt;br /&gt;
The serial port settings must match that of the GPS and are configured here along with the necessary files to interpret the u-blox UBX binary protocol:&lt;br /&gt;
&lt;br /&gt;
Just specify the appropriate [[Subsystem/gps|gps subsystem]] in your firmware section. You can currently choose between the types '''ublox''' and '''ublox_utm''' for the older series 4 modules which still provide a UTM message.&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;firmware name=&amp;quot;fixedwing or rotorcraft&amp;quot;&amp;gt;&lt;br /&gt;
     ...&lt;br /&gt;
    &amp;lt;subsystem name=&amp;quot;gps&amp;quot;               type=&amp;quot;ublox&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/firmware&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The correct UART is already defined by default according to your board.&lt;br /&gt;
The default GPS baudrate is 38400baud.&lt;br /&gt;
&lt;br /&gt;
If you need to set different baud rates or UART see the [[Subsystem/gps]] page for the options.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
* u-blox GPS modules are factory configured for 9600 baud, 38,400 baud is recommended along with the other required changes.  The GPS can be accessed directly through the [[tunnel|UART Tunnel]] and [[GPS#GPS_configuration_using_U-Center|Configured with u-center]]&lt;br /&gt;
&lt;br /&gt;
== XML Parameters ==&lt;br /&gt;
'''When defining parameters you can use [[Units|automatic unit conversion]] to conveniently set it in e.g. degrees.'''&lt;br /&gt;
&lt;br /&gt;
=== Commands ===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;commands&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; lists the abstract commands you need to control the aircraft. In a simple fixed-wing example, we have only three:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;commands&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;THROTTLE&amp;quot; failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;ROLL&amp;quot;     failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;PITCH&amp;quot;    failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/commands&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
For rotorcraft, it is usually:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;commands&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;PITCH&amp;quot;    failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;ROLL&amp;quot;     failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;YAW&amp;quot;      failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;axis name=&amp;quot;THRUST&amp;quot;   failsafe_value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/commands&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each command is also associated with a failsafe value which will be used if no controller is active, for example during initialization of the autopilot board. The range of these values is [-9600:9600]. For &amp;lt;tt&amp;gt;&amp;quot;THROTTLE&amp;quot;&amp;lt;/tt&amp;gt;, the range is [0, 9600] and in the corresponding &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;servo&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; definition the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;neutral&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;min&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; are usually the same for PWM based servos (see below). Note that these commands do not necessarily match the servo actuators. For example, the &amp;lt;tt&amp;gt;&amp;quot;ROLL&amp;quot;&amp;lt;/tt&amp;gt; command is typically linked to two aileron actuators.&lt;br /&gt;
&lt;br /&gt;
=== Servos ===&lt;br /&gt;
&lt;br /&gt;
The above commands get translated to the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;servos&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; here. In the example below we use two elevons and a motor. ([http://en.wikipedia.org/wiki/Elevon ''Elevons''] are surfaces used for both pitch and roll as on a flying wing.) These servos are listed in the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;servos&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; section:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;servos&amp;gt;&lt;br /&gt;
  &amp;lt;servo name=&amp;quot;THROTTLE&amp;quot;         no=&amp;quot;0&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1000&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;servo name=&amp;quot;ELEVON_LEFTSIDE&amp;quot;  no=&amp;quot;1&amp;quot; min=&amp;quot;2000&amp;quot; neutral=&amp;quot;1500&amp;quot; max=&amp;quot;1000&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;servo name=&amp;quot;ELEVON_RIGHTSIDE&amp;quot; no=&amp;quot;2&amp;quot; min=&amp;quot;1000&amp;quot; neutral=&amp;quot;1500&amp;quot; max=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/servos&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Names are associated to the corresponding '''real physical connector''' to which a servo is connected '''on the autopilot board'''. For example no=&amp;quot;2&amp;quot; means connector two on the board. Also the servo neutral value, total range and direction are defined.  Min/max/neutral values are expressed in microseconds. The direction of travel can be reversed by exchanging min with max (as in &amp;lt;tt&amp;gt;&amp;quot;ELEVON_LEFTSIDE&amp;quot;&amp;lt;/tt&amp;gt;, above).  The ''standard'' travel for a hobby servo is 1000µs - 2000µs with a 1500µs neutral. Trim can be added by changing this neutral value. Absolute servo travel limits can be increased or reduced with the min/max values.  The &amp;lt;tt&amp;gt;&amp;quot;THROTTLE&amp;quot;&amp;lt;/tt&amp;gt; servo typically has the same value for the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;neutral&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;min&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The attribute &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;driver&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; for &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;servos&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; node tells which actuators' driver is associated the the listed servos. After the version '''v4.9_devel-164-gdb0d004''', multiple servos sections can be defined and used together, if the correct [[Subsystem/actuators| actuators subsystems]] are loaded. Some boards are automatically loading a default driver, the one used when no &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;driver&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; attribute is specified.&lt;br /&gt;
&lt;br /&gt;
Note the following important tips:&lt;br /&gt;
* Reverse the servo direction by exchanging min/max&lt;br /&gt;
* Trim should always be adjusted mechanically if possible to avoid asymmetrical travel&lt;br /&gt;
* Any reduction of the total travel range should be done mechanically to maintain precision&lt;br /&gt;
* Many servos will respond well to values slightly outside the normal 1000-2000µs range but experiment carefully as the servo may not operate reliably outside this range and may even suffer permanent damage.&lt;br /&gt;
* Board connector numbering starts with &amp;lt;b&amp;gt;zero (0)&amp;lt;/b&amp;gt; not with one&lt;br /&gt;
* Servos are also known under the synonym &amp;lt;b&amp;gt;actuators&amp;lt;/b&amp;gt;&lt;br /&gt;
* (after version '''v4.9_devel-164-gdb0d004''') For I2C based motor speed control using the [[Rotorcraft_Configuration#Motor_Mixing|motor mixing]]:&lt;br /&gt;
** min: command to stop the motor&lt;br /&gt;
** neutral: motor idle command&lt;br /&gt;
** max: max thrust command&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;servos&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; are then linked to the commands in the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;command_laws&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; section:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&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  * 0.3&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;let var=&amp;quot;elevator&amp;quot;           value=&amp;quot;@PITCH * 0.7&amp;quot;/&amp;gt;  &lt;br /&gt;
  &amp;lt;set servo=&amp;quot;THROTTLE&amp;quot;         value=&amp;quot;@THROTTLE&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;set servo=&amp;quot;ELEVON_LEFTSIDE&amp;quot;  value=&amp;quot;$elevator + $aileron&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;set servo=&amp;quot;ELEVON_RIGHTSIDE&amp;quot; value=&amp;quot;$elevator - $aileron&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/command_laws&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:airframe_sign_conventions.jpg|thumb|Sign conventions for flight dynamics]]&lt;br /&gt;
where the third line is the simplest: the throttle servo value equals throttle command value. The other lines define and control the pitch/roll mixing.  Elevon values are computed with a combination of two commands, '''ROLL''' and '''PITCH'''. This ''mixer'' is defined with two intermediate variables '''aileron''' and '''elevator''' introduced with the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;let&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; element.  The '''@''' symbol is used to reference a command value in the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;value&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; attribute of the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;set&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;let&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; elements.  In the above example, the servos are limited to +/- 70% of their full travel for pitch and 30% for roll, only in combination can the servos reach 100% deflection.  Note that these numbers ''should add up 100% or more, never less''.  For example, you may want 100% travel available for pitch - this means if a roll is commanded along with maximum pitch only one servo will respond to the roll command as the other has already reached its mechanical limit.  If you find after tuning that these numbers add to less than 100% consider reducing the surface travel mechanically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the signs used in the description follow the standard convention.&lt;br /&gt;
&lt;br /&gt;
After '''v4.9_devel-164-gdb0d004''', the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;command_laws&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; section is mandatory for both fixedwing and rotorcraft firmwares, only for fixedwing otherwise.&lt;br /&gt;
&lt;br /&gt;
=== Battery === &lt;br /&gt;
This section gives characteristics for monitoring the main power battery.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MILLIAMP_AT_FULL_THROTTLE&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; represents the actual current (in mA) when full THROTTLE is applied. Note that when flying the current typically is significantly lower than in static tests at home on your workbench. &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MILLIAMP_AT_FULL_THROTTLE&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; is used to compute the &amp;lt;tt&amp;gt;energy&amp;lt;/tt&amp;gt; value of the &amp;lt;tt&amp;gt;BAT&amp;lt;/tt&amp;gt; message when no [[Current_sensor|Current sensor]] is mounted in the airframe. This value can also be used in flight plans. For example, if at full throttle your motor consumes 10 Amps, use a value of 10000. You can &amp;quot;tweak&amp;quot; this number after a few flights to match the capacity of your battery. If upon landing your bat.energy messages says that you used 2500 mAh while the energy recharged into the battery is only 2000 mAh, you could reduce the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MILLIAMP_AT_FULL_THROTTLE&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; value by 20% to match your in-flight current consumption. This tweaking is most precise if you fly full throttle only (respectively no throttle to glide down again).&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;CURRENT_ESTIMATION_NONLINEARITY&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; can be added to tweak the energy estimation for non full throttle cruise. As the current consumption is nonlinear, at 50% throttle it is likely to be substantially less than 50%. A superellipse is used to approximate this nonlinearity. The default setting is 1.2 and is used if the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;CURRENT_ESTIMATION_NONLINEARITY&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; is not defined in your airframe file. A value 1 corresponds to linear behaviour, 1.5 corresponds to strong nonlinearity. The tweaking is done same as decribed above for &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MILLIAMP_AT_FULL_THROTTLE&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt;, but only partial throttle (cruise throttle) should be applied in flight.&lt;br /&gt;
&lt;br /&gt;
If both &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MILLIAMP_AT_FULL_THROTTLE&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;CURRENT_ESTIMATION_NONLINEARITY&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; are tweaked well, you get precise energy estimations with less than 5% error independant of your flight pattern without even requiring a [[Current_sensor|current sensor]].&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;CATASTROPHIC_BAT_LEVEL&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; (was previously &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;LOW_BATTERY&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt;) value defines the voltage at which the autopilot will lock the throttle at 0% in autonomous mode (kill_throttle mode). This value is also used by the ground server to issue a '''CATASTROPHIC''' alarm message on the bus (this message will be displayed in the console of the GCS).  &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;CRITIC&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;LOW&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; values will also used as threshold for '''CRITIC''' and '''WARNING''' alarms. They are optional and the respective defaults are 10.0 and 10.5V.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;MAX_BAT_LEVEL&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; may be specified to improve the display of the battery gauge in the strip or in &amp;quot;papgets&amp;quot;. Note that this definition is optional, with a default value of 12.5V.&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;section name=&amp;quot;BAT&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;MILLIAMP_AT_FULL_THROTTLE&amp;quot; value=&amp;quot;12000&amp;quot; unit=&amp;quot;mA&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;CATASTROPHIC_BAT_LEVEL&amp;quot; value=&amp;quot;6.0&amp;quot; unit=&amp;quot;V&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;CRITIC_BAT_LEVEL&amp;quot; value=&amp;quot;6.5&amp;quot; unit=&amp;quot;V&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;LOW_BAT_LEVEL&amp;quot; value=&amp;quot;7.0&amp;quot; unit=&amp;quot;V&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;MAX_BAT_LEVEL&amp;quot; value=&amp;quot;8.4&amp;quot; unit=&amp;quot;V&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The conversion of ADC measurements to Voltage is already defined for the different autopilot boards, if you need to override these defaults you can use the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;VoltageOfAdc(adc)&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; define and also specify offsets or anything else you might need, e.g.:&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;section name=&amp;quot;BAT&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;define name=&amp;quot;VOLTAGE_ADC_SCALE&amp;quot; value=&amp;quot;0.0177531&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;VOLTAGE_OFFSET&amp;quot; value=&amp;quot;0.5&amp;quot; unit=&amp;quot;V&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;VoltageOfAdc(adc)&amp;quot; value =&amp;quot;(VOLTAGE_ADC_SCALE * adc + VOLTAGE_OFFSET)&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Modules ===&lt;br /&gt;
The [[Modules|modules]] allow to add new code in a flexible way with initialisation, periodic and event functions without modifying the main AP loop.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;modules main_freq=&amp;quot;60&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;load name=&amp;quot;demo_module.xml&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/modules&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The main_freq parameter (in Hz) allows to specify the frequency of the main loop. Default is 60 Hz&lt;br /&gt;
&lt;br /&gt;
=== GCS ===&lt;br /&gt;
Use this &amp;lt;b&amp;gt;optional&amp;lt;/b&amp;gt; section to help customize parts of the GCS for a specific airframe:&lt;br /&gt;
{{Box Code|conf/airframes/myplane.xml|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;section name=&amp;quot;GCS&amp;quot;&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;define name=&amp;quot;ALT_SHIFT_PLUS_PLUS&amp;quot; value=&amp;quot;30&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;ALT_SHIFT_PLUS&amp;quot; value=&amp;quot;5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;ALT_SHIFT_MINUS&amp;quot; value=&amp;quot;-5&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;SPEECH_NAME&amp;quot; value=&amp;quot;Quad&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;define name=&amp;quot;AC_ICON&amp;quot; value=&amp;quot;flyingwing&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
[[Image:ac_icon_multi_uav.png|thumb|Various A/C icons demonstrated on a multi UAV simulation session]]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;ALT_SHIFT_PLUS_PLUS&amp;lt;/tt&amp;gt; sets the number of metres the target altitude will change when the double up arrow button is pressed on the [[GCS#Strips|strip]]&lt;br /&gt;
* &amp;lt;tt&amp;gt;ALT_SHIFT_PLUS&amp;lt;/tt&amp;gt; sets the number of metres the target altitude will change when the up arrow button is pressed on the [[GCS#Strips|strip]]&lt;br /&gt;
* &amp;lt;tt&amp;gt;ALT_SHIFT_MINUS&amp;lt;/tt&amp;gt; sets the number of metres the target altitude will change when the down arrow button is pressed on the [[GCS#Strips|strip]]&lt;br /&gt;
* &amp;lt;tt&amp;gt;SPEECH_NAME&amp;lt;/tt&amp;gt; a string ([a-zA-Z0-9_]) that will be used in place of the aircraft name specified in &amp;lt;tt&amp;gt;conf.xml&amp;lt;/tt&amp;gt; for the [[Speech|speech]] and [[GCS#Alarms|alarms]] functionality. Set this to &amp;quot;_&amp;quot; to prevent the speech function from saying the aircraft name. Useful if your aircraft name takes a long time to say (i.e. &amp;quot;UAV1-A_with_spektrum&amp;quot; can be shortened to &amp;quot;Plane&amp;quot;).&lt;br /&gt;
* &amp;lt;tt&amp;gt;AC_ICON&amp;lt;/tt&amp;gt; can be used to define the vehicle icon (or overwrite the default icon) that shows up on the 2D-map of the GCS. Available values are: &amp;lt;tt&amp;gt;flyingwing&amp;lt;/tt&amp;gt; , &amp;lt;tt&amp;gt;fixedwing&amp;lt;/tt&amp;gt; , &amp;lt;tt&amp;gt;rotorcraft&amp;lt;/tt&amp;gt; , &amp;lt;tt&amp;gt;home&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:User_Documentation]] [[Category:Airframe_Configuration]]&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Edit_airframe.png&amp;diff=18338</id>
		<title>File:Edit airframe.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Edit_airframe.png&amp;diff=18338"/>
		<updated>2014-03-11T10:12:06Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: Karlito139 uploaded a new version of &amp;amp;quot;File:Edit airframe.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Indication about the location of the edit button of the airframe into the paparazzi GUI.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=File:Edit_airframe.png&amp;diff=18337</id>
		<title>File:Edit airframe.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=File:Edit_airframe.png&amp;diff=18337"/>
		<updated>2014-03-11T10:09:51Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: Indication about the location of the edit button of the airframe into the paparazzi GUI.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Indication about the location of the edit button of the airframe into the paparazzi GUI.&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=GPSd_position&amp;diff=18320</id>
		<title>GPSd position</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=GPSd_position&amp;diff=18320"/>
		<updated>2014-03-07T17:11:02Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Installing gpsd2ivy */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;categorytree style=&amp;quot;float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;&amp;quot; mode=pages&amp;gt;Tools&amp;lt;/categorytree&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Display a GPS position ==&lt;br /&gt;
&lt;br /&gt;
Sometimes it is useful to display an external GPS position on the GCS. That might be your ground station position (e.g. if operating from a moving ship) or you walking through the field with your laptop searching an outlanded aircraft.&lt;br /&gt;
&lt;br /&gt;
The external gps position will be displayed through a dark red dot surrounded by a black circle. If the gps data is lost/older than 10s the red dot will get a light red circle.&lt;br /&gt;
&lt;br /&gt;
[[Image:Gpsd_pos_ok.png|left|thumb|GPSd position ok]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Gpsd_pos_lost.png|left|thumb|GPSd position is lost]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using gpsd ===&lt;br /&gt;
&lt;br /&gt;
The GPS receiver could be connected through a serial port, USB, Bluetooth, a network, ... The gpsd package is used to interface to the receiver. On some Linux distributions the gpsd daemon is started automatically by default (e.g. Ubuntu 9.10) and might confuse the modem operation that also uses the serial/USB port. It is a good idea to disable the automatic startup of gpsd or at least change the configuration to only access one given port as described below. It can be turned off by running&lt;br /&gt;
&lt;br /&gt;
If gpsd is not installed, install it via:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install libgps-dev gpsd&lt;br /&gt;
&lt;br /&gt;
Then configure it via:&lt;br /&gt;
&lt;br /&gt;
 $ sudo dpkg-reconfigure gpsd&lt;br /&gt;
&lt;br /&gt;
There are several ways to tell gpsd how to connect to your receiver. The simplest is to start gpsd (as root) with the device you want.&lt;br /&gt;
&lt;br /&gt;
 sudo gpsd /dev/ttyUSB0&lt;br /&gt;
&lt;br /&gt;
If your GPS receiver is always connected to the same port (and can not be confused with another Paparazzi modem) you can put the device into '''/etc/default/gpsd''' and start gpsd automatically. There should be a way that udev takes care of that.&lt;br /&gt;
&lt;br /&gt;
 START_DAEMON=&amp;quot;true&amp;quot;&lt;br /&gt;
 DAEMON_OPTS=&amp;quot;&amp;quot;&lt;br /&gt;
 DEVICES=&amp;quot;/dev/ttyS2&amp;quot;&lt;br /&gt;
 USBAUTO=&amp;quot;false&amp;quot;and start it through the '''GPSd position display''' in the Paparazzi Center Tools bar or by hand&lt;br /&gt;
&lt;br /&gt;
A Bluetooth GPS receiver can be configured in '''/etc/bluetooth/rfcomm.conf'''. In this example it can be used as '''/dev/rfcomm0''' (put your GPS devices Bluetooth address).&lt;br /&gt;
&lt;br /&gt;
 rfcomm0 {&lt;br /&gt;
   bind yes;&lt;br /&gt;
   device 00:06:66:00:53:AE;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
On some Linux distributions it is needed to bind the rfcomm&lt;br /&gt;
&lt;br /&gt;
 sudo rfcomm bind 0&lt;br /&gt;
&lt;br /&gt;
=== Installing gpsd2ivy ===&lt;br /&gt;
&lt;br /&gt;
The small tool that gets the position info from gpsd and forwards that to the ivy bus so that the gcs can display it is called gpsd2ivy. It can be started through the '''GPSd position display''' in the Paparazzi Center Tools bar.&lt;br /&gt;
&lt;br /&gt;
Install the needed gps libraries:&lt;br /&gt;
 sudo apt-get install libgps-dev gpsd&lt;br /&gt;
or&lt;br /&gt;
 sudo apt-get install --install-suggests paparazzi-dev&lt;br /&gt;
&lt;br /&gt;
Then compile gpsd2ivy via:&lt;br /&gt;
&lt;br /&gt;
 cd sw/ground_segment/tmtc&lt;br /&gt;
 make gpsd2ivy&lt;br /&gt;
&lt;br /&gt;
manually it is started by&lt;br /&gt;
 &lt;br /&gt;
 ./gpsd2ivy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using gpsd2ivy ===&lt;br /&gt;
It seams that you need to get first the location of your drone before having the one of your ground station. You might want to restart the gpsd2ivy program in order to force the calculation of a new position of your ground station (will staying in GCS).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]] [[Category:User_Documentation]]&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=GPSd_position&amp;diff=18319</id>
		<title>GPSd position</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=GPSd_position&amp;diff=18319"/>
		<updated>2014-03-07T17:10:46Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;categorytree style=&amp;quot;float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;&amp;quot; mode=pages&amp;gt;Tools&amp;lt;/categorytree&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Display a GPS position ==&lt;br /&gt;
&lt;br /&gt;
Sometimes it is useful to display an external GPS position on the GCS. That might be your ground station position (e.g. if operating from a moving ship) or you walking through the field with your laptop searching an outlanded aircraft.&lt;br /&gt;
&lt;br /&gt;
The external gps position will be displayed through a dark red dot surrounded by a black circle. If the gps data is lost/older than 10s the red dot will get a light red circle.&lt;br /&gt;
&lt;br /&gt;
[[Image:Gpsd_pos_ok.png|left|thumb|GPSd position ok]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Gpsd_pos_lost.png|left|thumb|GPSd position is lost]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using gpsd ===&lt;br /&gt;
&lt;br /&gt;
The GPS receiver could be connected through a serial port, USB, Bluetooth, a network, ... The gpsd package is used to interface to the receiver. On some Linux distributions the gpsd daemon is started automatically by default (e.g. Ubuntu 9.10) and might confuse the modem operation that also uses the serial/USB port. It is a good idea to disable the automatic startup of gpsd or at least change the configuration to only access one given port as described below. It can be turned off by running&lt;br /&gt;
&lt;br /&gt;
If gpsd is not installed, install it via:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install libgps-dev gpsd&lt;br /&gt;
&lt;br /&gt;
Then configure it via:&lt;br /&gt;
&lt;br /&gt;
 $ sudo dpkg-reconfigure gpsd&lt;br /&gt;
&lt;br /&gt;
There are several ways to tell gpsd how to connect to your receiver. The simplest is to start gpsd (as root) with the device you want.&lt;br /&gt;
&lt;br /&gt;
 sudo gpsd /dev/ttyUSB0&lt;br /&gt;
&lt;br /&gt;
If your GPS receiver is always connected to the same port (and can not be confused with another Paparazzi modem) you can put the device into '''/etc/default/gpsd''' and start gpsd automatically. There should be a way that udev takes care of that.&lt;br /&gt;
&lt;br /&gt;
 START_DAEMON=&amp;quot;true&amp;quot;&lt;br /&gt;
 DAEMON_OPTS=&amp;quot;&amp;quot;&lt;br /&gt;
 DEVICES=&amp;quot;/dev/ttyS2&amp;quot;&lt;br /&gt;
 USBAUTO=&amp;quot;false&amp;quot;and start it through the '''GPSd position display''' in the Paparazzi Center Tools bar or by hand&lt;br /&gt;
&lt;br /&gt;
A Bluetooth GPS receiver can be configured in '''/etc/bluetooth/rfcomm.conf'''. In this example it can be used as '''/dev/rfcomm0''' (put your GPS devices Bluetooth address).&lt;br /&gt;
&lt;br /&gt;
 rfcomm0 {&lt;br /&gt;
   bind yes;&lt;br /&gt;
   device 00:06:66:00:53:AE;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
On some Linux distributions it is needed to bind the rfcomm&lt;br /&gt;
&lt;br /&gt;
 sudo rfcomm bind 0&lt;br /&gt;
&lt;br /&gt;
=== Installing gpsd2ivy ===&lt;br /&gt;
&lt;br /&gt;
The small tool that gets the position info from gpsd and forwards that to the ivy bus so that the gcs can display it is called gpsd2ivy. It can be started through the '''GPSd position display''' in the Paparazzi Center Tools bar.&lt;br /&gt;
&lt;br /&gt;
Install the needed gps libraries:&lt;br /&gt;
 sudo apt-get install libgps-dev gpsd&lt;br /&gt;
or&lt;br /&gt;
 sudo apt-get install --install-suggests paparazzi-dev&lt;br /&gt;
&lt;br /&gt;
Then compile gpsd2ivy via:&lt;br /&gt;
&lt;br /&gt;
 cd sw/ground_segment/tmtc&lt;br /&gt;
 make gpsd2ivy&lt;br /&gt;
&lt;br /&gt;
manually it is started by&lt;br /&gt;
 &lt;br /&gt;
 ./gpsd2ivy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing gpsd2ivy ===&lt;br /&gt;
It seams that you need to get first the location of your drone before having the one of your ground station. You might want to restart the gpsd2ivy program in order to force the calculation of a new position of your ground station (will staying in GCS).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]] [[Category:User_Documentation]]&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=GPSd_position&amp;diff=18318</id>
		<title>GPSd position</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=GPSd_position&amp;diff=18318"/>
		<updated>2014-03-07T17:06:37Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Using gpsd2ivy */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;categorytree style=&amp;quot;float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;&amp;quot; mode=pages&amp;gt;Tools&amp;lt;/categorytree&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Display a GPS position ==&lt;br /&gt;
&lt;br /&gt;
Sometimes it is useful to display an external GPS position on the GCS. That might be your ground station position (e.g. if operating from a moving ship) or you walking through the field with your laptop searching an outlanded aircraft.&lt;br /&gt;
&lt;br /&gt;
The external gps position will be displayed through a dark red dot surrounded by a black circle. If the gps data is lost/older than 10s the red dot will get a light red circle.&lt;br /&gt;
&lt;br /&gt;
[[Image:Gpsd_pos_ok.png|left|thumb|GPSd position ok]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Gpsd_pos_lost.png|left|thumb|GPSd position is lost]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using gpsd ===&lt;br /&gt;
&lt;br /&gt;
The GPS receiver could be connected through a serial port, USB, Bluetooth, a network, ... The gpsd package is used to interface to the receiver. On some Linux distributions the gpsd daemon is started automatically by default (e.g. Ubuntu 9.10) and might confuse the modem operation that also uses the serial/USB port. It is a good idea to disable the automatic startup of gpsd or at least change the configuration to only access one given port as described below. It can be turned off by running&lt;br /&gt;
&lt;br /&gt;
If gpsd is not installed, install it via:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install libgps-dev gpsd&lt;br /&gt;
&lt;br /&gt;
Then configure it via:&lt;br /&gt;
&lt;br /&gt;
 $ sudo dpkg-reconfigure gpsd&lt;br /&gt;
&lt;br /&gt;
There are several ways to tell gpsd how to connect to your receiver. The simplest is to start gpsd (as root) with the device you want.&lt;br /&gt;
&lt;br /&gt;
 sudo gpsd /dev/ttyUSB0&lt;br /&gt;
&lt;br /&gt;
If your GPS receiver is always connected to the same port (and can not be confused with another Paparazzi modem) you can put the device into '''/etc/default/gpsd''' and start gpsd automatically. There should be a way that udev takes care of that.&lt;br /&gt;
&lt;br /&gt;
 START_DAEMON=&amp;quot;true&amp;quot;&lt;br /&gt;
 DAEMON_OPTS=&amp;quot;&amp;quot;&lt;br /&gt;
 DEVICES=&amp;quot;/dev/ttyS2&amp;quot;&lt;br /&gt;
 USBAUTO=&amp;quot;false&amp;quot;and start it through the '''GPSd position display''' in the Paparazzi Center Tools bar or by hand&lt;br /&gt;
&lt;br /&gt;
A Bluetooth GPS receiver can be configured in '''/etc/bluetooth/rfcomm.conf'''. In this example it can be used as '''/dev/rfcomm0''' (put your GPS devices Bluetooth address).&lt;br /&gt;
&lt;br /&gt;
 rfcomm0 {&lt;br /&gt;
   bind yes;&lt;br /&gt;
   device 00:06:66:00:53:AE;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
On some Linux distributions it is needed to bind the rfcomm&lt;br /&gt;
&lt;br /&gt;
 sudo rfcomm bind 0&lt;br /&gt;
&lt;br /&gt;
=== Installing gpsd2ivy ===&lt;br /&gt;
&lt;br /&gt;
The small tool that gets the position info from gpsd and forwards that to the ivy bus so that the gcs can display it is called gpsd2ivy. It can be started through the '''GPSd position display''' in the Paparazzi Center Tools bar.&lt;br /&gt;
&lt;br /&gt;
Install the needed gps libraries:&lt;br /&gt;
 sudo apt-get install libgps-dev gpsd&lt;br /&gt;
or&lt;br /&gt;
 sudo apt-get install --install-suggests paparazzi-dev&lt;br /&gt;
&lt;br /&gt;
Then compile gpsd2ivy via:&lt;br /&gt;
&lt;br /&gt;
 cd sw/ground_segment/tmtc&lt;br /&gt;
 make gpsd2ivy&lt;br /&gt;
&lt;br /&gt;
manually it is started by&lt;br /&gt;
 &lt;br /&gt;
 ./gpsd2ivy&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]] [[Category:User_Documentation]]&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Contributing&amp;diff=18297</id>
		<title>Contributing</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Contributing&amp;diff=18297"/>
		<updated>2014-03-04T10:30:19Z</updated>

		<summary type="html">&lt;p&gt;Karlito139: /* Software development */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to contribute ==&lt;br /&gt;
There are of course lots of ways to contribute to Paparazzi and get involved.&lt;br /&gt;
&lt;br /&gt;
Help is always welcome on all aspects of the project. May this be documentation, wiki, maintenance, electronics or code contributions/fixes.&lt;br /&gt;
&lt;br /&gt;
=== Wiki ===&lt;br /&gt;
Just create an account and you can start adding information, cleaning it up or just fixing some typo you just noticed :-)&lt;br /&gt;
&lt;br /&gt;
Some information and links on how to edit the wiki can be found at [[Help:Editing]].&lt;br /&gt;
&lt;br /&gt;
Please be aware of past edits and page histories. Try not to remove this; if you are moving/renaming a page, use the '''move''' tab at the top of a page. This ensures the revision history is moved with the page.&lt;br /&gt;
&lt;br /&gt;
=== Software development ===&lt;br /&gt;
We use the distributed version control system [http://git-scm.com/ git]. The [http://github.com/paparazzi/paparazzi/ Papaprazzi master repository is hosted on Github].&lt;br /&gt;
&lt;br /&gt;
Also see the [[Git|Git wiki page]] for more details about setting up Git and cloning the source-code and data repository.&lt;br /&gt;
&lt;br /&gt;
Please also have a look at the [http://docs.paparazziuav.org/latest/styleguide.html Coding Style Guide].&lt;br /&gt;
&lt;br /&gt;
Here is the short version if you already know git:&lt;br /&gt;
# Create an account on [http://github.com/ github].&lt;br /&gt;
# Fork the [http://github.com/paparazzi/paparazzi/ papaprazzi repo] on github. (After logging in press the '''fork''' button).&lt;br /&gt;
# '''git clone git@github.com:&amp;lt;yourname&amp;gt;/paparazzi.git'''&lt;br /&gt;
# '''git remote add upstream https://github.com/paparazzi/paparazzi.git'''&lt;br /&gt;
# '''git fetch upstream'''&lt;br /&gt;
# checkout a new branch based on the development branch (master):&amp;lt;br/&amp;gt;'''git checkout -b my_new_feature upstream/master'''&lt;br /&gt;
# fix/code and commit in logical units&lt;br /&gt;
# push your feature/bugfix branch&lt;br /&gt;
# Send us a [http://help.github.com/pull-requests/ pull request] on github. (Or send patches to the mailing list).&lt;br /&gt;
&lt;br /&gt;
=== Issue/Feature Tracker ===&lt;br /&gt;
To report bugs, issues and feature request please use either the mailing list or even better the simple [https://github.com/paparazzi/paparazzi/issues issue tracker on github]&lt;br /&gt;
&lt;br /&gt;
=== Continuous Integration Builds ===&lt;br /&gt;
We have a [http://paparazzi.gondwana.com.au build server] running some [[Builds/Tests|CI tests]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer_Documentation]]&lt;/div&gt;</summary>
		<author><name>Karlito139</name></author>
	</entry>
</feed>