x y and z coordinates are pushed into eiger server and its fixed in appropriate client side as well

This commit is contained in:
Dhanya Maliakal
2017-10-23 12:20:18 +02:00
parent ae72df7b14
commit d2fd0cbee9
6 changed files with 73 additions and 30 deletions

View File

@ -182,8 +182,11 @@
#define TEN_GIGA_RIGHT_FRAME_DELAY_COUNTER 0x1e4
// udp header (position, id)
#define UDP_HEADER_A_OFST 0x00C0
#define UDP_HEADER_B_OFST 0x00E0
#define UDP_HEADER_A_LEFT_OFST 0x00C0
#define UDP_HEADER_B_LEFT_OFST 0x00E0
#define UDP_HEADER_A_RIGHT_OFST 0x0100
#define UDP_HEADER_B_RIGHT_OFST 0x0120
#define UDP_HEADER_X_OFST (0)
#define UDP_HEADER_X_MSK (0xFFFF << UDP_HEADER_X_OFST)
#define UDP_HEADER_ID_OFST (16)