User Tools

Site Tools


doc:crazyflie:crtp:param

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
doc:crazyflie:crtp:param [2015-10-26 19:08]
arnaud [Misc. commands]
doc:crazyflie:crtp:param [2019-09-05 15:15]
kimberly
Line 1: Line 1:
 +<WRAP center round important 60%>
 +This page is deprecated and is moved to the main Bitcraze website. Please go to:
 +
 + [[
 +https://www.bitcraze.io/docs/crazyflie-firmware/master/ctrp_parameters/
 +]]
 +
 +</WRAP>
 +
 ====== 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  ^ Function          ^ ^  Port  ^  Channel  ^ Function          ^
-|  2      0        | TOC access        | +|  2      0        | [[doc:crazyflie:crtp:param#toc_access|TOC access]]        | 
-|  2      1        | Parameter read    | +|  2      1        | [[doc:crazyflie:crtp:param#parameter_read|Parameter read]]    | 
-|  2      2        | Parameter write   | +|  2      2        | [[doc:crazyflie:crtp:param#parameter_write|Parameter write]]   | 
-|  2      3        | Misc. commands    |+|  2      3        | [[doc:crazyflie:crtp:param#misc_command|Misc. commands]]    |
  
 ===== TOC access ===== ===== TOC access =====
Line 66: Line 75:
 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 write =====+===== Parameter write =====
  
 <WRAP group> <WRAP group>
Line 111: Line 120:
 |  n-(n+1)  | NULL | 0 | |  n-(n+1)  | NULL | 0 |
 |  (n+1)-(n+m+1)   | name | Name of the parameter | |  (n+1)-(n+m+1)   | name | Name of the parameter |
-|  (n+m+1)-(n+m+2)  | NULL | 0 | +|  (n+m+2)  | NULL | 0 | 
-|  (n+m+2)-(n+m+3) TYPE Parameter type |+|  (n+m+3) ERROR | 0 if the parameter has been successfully written. Other code are taken from[[http://www.virtsync.com/c-error-codes-include-errno|errno C codes]]. |
 </WRAP> </WRAP>
 </WRAP> </WRAP>
doc/crazyflie/crtp/param.txt · Last modified: 2020-05-12 14:22 by kimberly