This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
projects:crazyflie:crtp [2013-04-02 15:40] arnaud [Serial port] |
projects:crazyflie:crtp [2015-07-15 16:31] 127.0.0.1 external edit |
||
---|---|---|---|
Line 22: | Line 22: | ||
CRTP is implemented in 3 layers: | CRTP is implemented in 3 layers: | ||
- | <code> | + | <ditaa> |
| | ||
| | ||
Line 30: | Line 30: | ||
| | ||
| | ||
- | </code> | + | </ditaa> |
* **CRTP Link** is responsible for transferring the packets between the Crazyflie and the host. It will typically handles packet size and error detection. | * **CRTP Link** is responsible for transferring the packets between the Crazyflie and the host. It will typically handles packet size and error detection. | ||
Line 89: | Line 89: | ||
| Data | | Data | ||
| | | | ||
+ | |||
+ | ==== Example ==== | ||
+ | To send setpoints to the [[projects: | ||
+ | < | ||
+ | 0xaa 0xaa 0x30 0x0e 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x3e | ||
+ | </ | ||
+ | |||
+ | To ping Crazyflie: | ||
+ | < | ||
+ | | ||
+ | < | ||
+ | </ |