This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
wiki:v2:line-packets [2018/10/10 19:29] pixycam [getMainFeatures(features, wait)] |
wiki:v2:line-packets [2018/10/10 19:38] pixycam [reverseVector(angle)] |
||
---|---|---|---|
Line 57: | Line 57: | ||
|3 |Length of payload |4 | | |3 |Length of payload |4 | | ||
|4 - 5 |16-bit checksum | sum of payload bytes | | |4 - 5 |16-bit checksum | sum of payload bytes | | ||
- | |6-11 | Response/acknowledge | (varies) | | + | |6 - 9 | Response/acknowledge | (varies) | |
Line 67: | Line 67: | ||
|2 |Type of packet |58 | | |2 |Type of packet |58 | | ||
|3 |Length of payload |2 | | |3 |Length of payload |2 | | ||
- | |4-5 |16-bit angle | (varies) | | + | |4 - 5 |16-bit angle | (varies) | |
Line 78: | Line 78: | ||
|3 |Length of payload |4 | | |3 |Length of payload |4 | | ||
|4 - 5 |16-bit checksum | sum of payload bytes | | |4 - 5 |16-bit checksum | sum of payload bytes | | ||
- | |6-11 | Response/acknowledge | (varies) | | + | |6 - 9 | Response/acknowledge | (varies) | |
Line 89: | Line 89: | ||
|2 |Type of packet |60 | | |2 |Type of packet |60 | | ||
|3 |Length of payload |2 | | |3 |Length of payload |2 | | ||
- | |4-5 |16-bit angle | (varies) | | + | |4 - 5 |16-bit angle | (varies) | |
Line 100: | Line 100: | ||
|3 |Length of payload |4 | | |3 |Length of payload |4 | | ||
|4 - 5 |16-bit checksum | sum of payload bytes | | |4 - 5 |16-bit checksum | sum of payload bytes | | ||
- | |6-11 | Response/acknowledge | (varies) | | + | |6 - 9 | Response/acknowledge | (varies) | |
Line 111: | Line 111: | ||
|2 |Type of packet |56 | | |2 |Type of packet |56 | | ||
|3 |Length of payload |1 | | |3 |Length of payload |1 | | ||
- | |4-5 |vector index | (varies) | | + | |4 |vector index | (varies) | |
Line 122: | Line 122: | ||
|3 |Length of payload |4 | | |3 |Length of payload |4 | | ||
|4 - 5 |16-bit checksum | sum of payload bytes | | |4 - 5 |16-bit checksum | sum of payload bytes | | ||
- | |6-11 | Response/acknowledge | (varies) | | + | |6 - 9 | Response/acknowledge | (varies) | |
Line 131: | Line 131: | ||
^Bit ^Description ^Value(s) ^ | ^Bit ^Description ^Value(s) ^ | ||
|0 - 1 |16-bit sync | 174, 193 (0xc1ae) | | |0 - 1 |16-bit sync | 174, 193 (0xc1ae) | | ||
- | |2 |Type of packet |56 | | + | |2 |Type of packet |62 | |
|3 |Length of payload |0 | | |3 |Length of payload |0 | | ||