http://wiki.paparazziuav.org/w/index.php?title=AR_Drone_2/AT_Commands&feed=atom&action=historyAR Drone 2/AT Commands - Revision history2024-03-29T14:56:10ZRevision history for this page on the wikiMediaWiki 1.37.1http://wiki.paparazziuav.org/w/index.php?title=AR_Drone_2/AT_Commands&diff=23932&oldid=prevTitus: Fix links2017-11-28T09:11:06Z<p>Fix links</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:11, 28 November 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l4">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The AR.Drone 2 AT command protocol is used to control the AR.Drone 2 over wifi. The full documentation can be found in the documentation of <del style="font-weight: bold; text-decoration: none;">de </del>AR.Drone open API which is available at [<del style="font-weight: bold; text-decoration: none;">https</del>://<del style="font-weight: bold; text-decoration: none;">projects</del>.<del style="font-weight: bold; text-decoration: none;">ardrone</del>.<del style="font-weight: bold; text-decoration: none;">org</del>/ <del style="font-weight: bold; text-decoration: none;">AR</del>.<del style="font-weight: bold; text-decoration: none;">Drone open API]</del>. The basic information is shown below.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The AR.Drone 2 AT command protocol is used to control the AR.Drone 2 over wifi. The full documentation can be found in the documentation of <ins style="font-weight: bold; text-decoration: none;">The </ins>AR.Drone open API which is available at [<ins style="font-weight: bold; text-decoration: none;">http</ins>://<ins style="font-weight: bold; text-decoration: none;">developer</ins>.<ins style="font-weight: bold; text-decoration: none;">parrot</ins>.<ins style="font-weight: bold; text-decoration: none;">com</ins>/ <ins style="font-weight: bold; text-decoration: none;">Parrot Developer]</ins>. <ins style="font-weight: bold; text-decoration: none;">The developer guide in the Docs folder of the SDK should explain everything</ins>. The basic information is shown below.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Setting up a connection ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Setting up a connection ==</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>To be able to send AT commands to the AR.Drone 2 you need to connect to the AR.Drone 2 wifi. When connected to the AR.Drone 2 wifi you need to create a connection to the AR.Drone 2 UDP port 5556, where all the AT command will be send over. Because of the latency it is <del style="font-weight: bold; text-decoration: none;">adviced </del>to send AT commands 30 <del style="font-weight: bold; text-decoration: none;">times a second </del>and to prevent WIFI connection lost you must send a constructive AT command every 2 seconds.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>To be able to send AT commands to the AR.Drone 2 you need to connect to the AR.Drone 2 wifi. When connected to the AR.Drone 2 wifi you need to create a connection to the AR.Drone 2 UDP port 5556, where all the AT command will be send over. Because of the latency it is <ins style="font-weight: bold; text-decoration: none;">advised </ins>to send AT commands <ins style="font-weight: bold; text-decoration: none;">every </ins>30 <ins style="font-weight: bold; text-decoration: none;">milliseconds </ins>and to prevent WIFI connection lost you must send a constructive AT command every 2 seconds.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== AT commands ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== AT commands ==</div></td></tr>
</table>Titushttp://wiki.paparazziuav.org/w/index.php?title=AR_Drone_2/AT_Commands&diff=16046&oldid=prevFlixr at 17:16, 30 September 20132013-09-30T17:16:31Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:16, 30 September 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><categorytree style="float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;" mode=pages>AR Drone 2</categorytree></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{|align=right</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">|-</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">|</ins><categorytree style="float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;" mode=pages>AR Drone 2</categorytree></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">|}</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The AR.Drone 2 AT command protocol is used to control the AR.Drone 2 over wifi. The full documentation can be found in the documentation of de AR.Drone open API which is available at [https://projects.ardrone.org/ AR.Drone open API]. The basic information is shown below.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The AR.Drone 2 AT command protocol is used to control the AR.Drone 2 over wifi. The full documentation can be found in the documentation of de AR.Drone open API which is available at [https://projects.ardrone.org/ AR.Drone open API]. The basic information is shown below.</div></td></tr>
</table>Flixrhttp://wiki.paparazziuav.org/w/index.php?title=AR_Drone_2/AT_Commands&diff=13935&oldid=prevFlixr at 17:17, 21 December 20122012-12-21T17:17:18Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:17, 21 December 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><categorytree style="float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;" mode=pages>AR Drone 2</categorytree></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The AR.Drone 2 AT command protocol is used to control the AR.Drone 2 over wifi. The full documentation can be found in the documentation of de AR.Drone open API which is available at [https://projects.ardrone.org/ AR.Drone open API]. The basic information is shown below.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The AR.Drone 2 AT command protocol is used to control the AR.Drone 2 over wifi. The full documentation can be found in the documentation of de AR.Drone open API which is available at [https://projects.ardrone.org/ AR.Drone open API]. The basic information is shown below.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l17">Line 17:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* AT*COMWDG - Reset the communication watchdog</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* AT*COMWDG - Reset the communication watchdog</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* AT*CALIB (device number) - Aks the drone to calibrate the magneto meter (The drone must be flying)</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* AT*CALIB (device number) - Aks the drone to calibrate the magneto meter (The drone must be flying)</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category: AR Drone 2]]</ins></div></td></tr>
</table>Flixrhttp://wiki.paparazziuav.org/w/index.php?title=AR_Drone_2/AT_Commands&diff=13933&oldid=prevFlixr: moved AT Commands AR.Drone 2 to AR Drone 2/AT Commands2012-12-21T17:16:54Z<p>moved <a href="/wiki/AT_Commands_AR.Drone_2" class="mw-redirect" title="AT Commands AR.Drone 2">AT Commands AR.Drone 2</a> to <a href="/wiki/AR_Drone_2/AT_Commands" title="AR Drone 2/AT Commands">AR Drone 2/AT Commands</a></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:16, 21 December 2012</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Flixrhttp://wiki.paparazziuav.org/w/index.php?title=AR_Drone_2/AT_Commands&diff=13652&oldid=prevFvantienen: Created page with "The AR.Drone 2 AT command protocol is used to control the AR.Drone 2 over wifi. The full documentation can be found in the documentation of de AR.Drone open API which is availabl…"2012-11-16T09:56:33Z<p>Created page with "The AR.Drone 2 AT command protocol is used to control the AR.Drone 2 over wifi. The full documentation can be found in the documentation of de AR.Drone open API which is availabl…"</p>
<p><b>New page</b></p><div>The AR.Drone 2 AT command protocol is used to control the AR.Drone 2 over wifi. The full documentation can be found in the documentation of de AR.Drone open API which is available at [https://projects.ardrone.org/ AR.Drone open API]. The basic information is shown below.<br />
<br />
<br />
== Setting up a connection ==<br />
To be able to send AT commands to the AR.Drone 2 you need to connect to the AR.Drone 2 wifi. When connected to the AR.Drone 2 wifi you need to create a connection to the AR.Drone 2 UDP port 5556, where all the AT command will be send over. Because of the latency it is adviced to send AT commands 30 times a second and to prevent WIFI connection lost you must send a constructive AT command every 2 seconds.<br />
<br />
== AT commands ==<br />
The AT commands are encoded as 8-bit ASCII characters with a carriage return "<CR>" as a newline delimeter. All AT commands start with "AT*" followed by a command name, a equals sign, a sequence number(starting with 1, which also resets the sequence number), and optionally a list of comma-seperated arguments for the command.<br />
<br />
Here is a short reference of all the available AT commands, for more information see the AR.Drone open API documentation.<br />
* AT*REF (input) - Takeoff/Landing/Emergency stop command<br />
* AT*PCMD (flag, roll, pitch, gaz, yaw) - Move the drone<br />
* AT*PCMD_MAG (flag, roll, pitch, gaz, yaw, psi, psi accuracy) - Move the drone (With Absolute Control support)<br />
* AT*FTRIM - Sets the reference for the horizontal plane (The drone must be on the ground)<br />
* AT*CONFIG (key, value) - Configuration of the AR.Drone 2<br />
* AT*CONFIG_IDS (session, user, application ids) - Identifiers for AT*CONFIG commands<br />
* AT*COMWDG - Reset the communication watchdog<br />
* AT*CALIB (device number) - Aks the drone to calibrate the magneto meter (The drone must be flying)</div>Fvantienen