This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
doc:crazyflie:crtp:param [2015-10-26 19:04] arnaud [TOC access] |
doc:crazyflie:crtp:param [2020-05-12 14:22] kimberly |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to [[https:// | ||
+ | </ | ||
+ | |||
====== Parameters ====== | ====== Parameters ====== | ||
The parameters system makes all the gettable and settable parameters of the copter accessible. The copter holds a table of parameters which can be retrieved. In this table every parameter name is associated with an ID and a group name. Three IDs are used to acces the TOC and the parameters: | The parameters system makes all the gettable and settable parameters of the copter accessible. The copter holds a table of parameters which can be retrieved. In this table every parameter name is associated with an ID and a group name. Three IDs are used to acces the TOC and the parameters: | ||
^ Port ^ Channel | ^ Port ^ Channel | ||
- | | 2 | + | | 2 |
- | | 2 | + | | 2 |
- | | 2 | + | | 2 |
- | | 2 | + | | 2 |
===== TOC access ===== | ===== TOC access ===== | ||
Line 66: | Line 70: | ||
The read request is a simple packet on channel 1. Crazyflie answers with the value. | The read request is a simple packet on channel 1. Crazyflie answers with the value. | ||
- | ===== parameter | + | ===== Parameter |
<WRAP group> | <WRAP group> | ||
Line 89: | Line 93: | ||
^ Code ^ Command ^ | ^ Code ^ Command ^ | ||
- | | 0x00 | Set by name | | + | | 0x00 |
==== Set by name ==== | ==== Set by name ==== | ||
Line 111: | Line 115: | ||
| n-(n+1) | | n-(n+1) | ||
| (n+1)-(n+m+1) | | (n+1)-(n+m+1) | ||
- | | | + | | (n+m+2) |
- | | | + | | (n+m+3) |
</ | </ | ||
</ | </ |