This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
projects:crazyflie:firmware:comm_protocol [2013-09-17 10:40] ledvinap [Logging] |
projects:crazyflie:firmware:comm_protocol [2013-10-02 12:57] ledvinap [Logging] |
||
---|---|---|---|
Line 200: | Line 200: | ||
| Start a log block | | Start a log block | ||
| ::: | | | ::: | | ||
- | | ::: | | + | | ::: | |
| Stop a log block | | Stop a log block | ||
| ::: | | | ::: | | ||
Line 305: | Line 305: | ||
=== Log data access (Port 5 channel 2) === | === Log data access (Port 5 channel 2) === | ||
Logging data is sent back to the copter as raw data with only the block id. This means that the lookup of what data is for what variable has to be done on the computer side. Log | Logging data is sent back to the copter as raw data with only the block id. This means that the lookup of what data is for what variable has to be done on the computer side. Log | ||
- | block header contains 3 byte timestamp, its value is number of milliseconds | + | block header contains 3 byte timestamp, its value is number of microseconds |
^ **Byte** | ^ **Byte** | ||
| | | | ||
- | | 1-3 | Block send time timestamp in ms, LSB first | | + | | 1-3 | Block send time timestamp in us, LSB first | |
| 4-31 | Logged variable values, LSB first | | | 4-31 | Logged variable values, LSB first | | ||