25 #define HDT_MAX_NAMECHAR 80
26 #define LCD_MENU_STRLENGTH 32
27 #define LCD_LIST_STRLENGTH 64
28 #define MENU_HEIGHT 38
29 #define KEYTM_MAX_REGIONS 32
31 #define MACHINE_SPEED 700000000
32 #define MACHINE_TYPE VEHICLE
33 #define MACHINE_NAME "EyeBot"
35 #define LIBM6OS_VERSION "1.0"
37 #define HDT_FILE "/home/pi/eyebot/bin/hdt.txt"
39 #define HDT_MAX_PATHCHAR 256
40 #define HDT_MAX_FILECHAR 40
41 #define HDT_MAX_READBUFF 128
45 typedef char* DeviceSemantics;
48 typedef unsigned short HWORD;
49 typedef unsigned long KEYCODE;
50 typedef unsigned char KEYMODE;
51 typedef unsigned short LCDMODE;
63 #define QQVGA_SIZE (QQVGA_X*QQVGA_Y*3)
66 #define QVGA_SIZE (QVGA_X*QVGA_Y*3)
69 #define VGA_SIZE (VGA_X*VGA_Y*3)
73 #define CAM1MP_SIZE (CAM1MP_X*CAM1MP_Y*3)
76 #define CAMHD_SIZE (CAMHD_X*CAMHD_Y*3)
79 #define CAM5MP_SIZE (CAM5MP_X*CAM5MP_Y*3)
90 #define FONTNAMELEN 50
92 typedef BYTE VGAcol[480][640][3];
93 typedef BYTE VGAgray[480][640] ;
94 typedef BYTE QVGAcol[240][320][3] ;
95 typedef BYTE QVGAgray[240][320];
96 typedef BYTE QQVGAcol[120][160][3];
97 typedef BYTE QQVGAgray[120][160];
98 typedef BYTE CAM1MPcol[730][1296][3];
99 typedef BYTE CAM1MPgray[730][1296];
100 typedef BYTE CAMHDcol[1080][1920][3];
101 typedef BYTE CAMHDgray[1080][1920];
102 typedef BYTE CAM5MPcol[1944][2592][3];
103 typedef BYTE CAM5MPgray[1944][2592];
111 unsigned long functions;
112 unsigned long decorations;
114 unsigned long status;
207 BOX rect[KEYTM_MAX_REGIONS];
224 char label[LCD_MENU_STRLENGTH];
234 char title[LCD_LIST_STRLENGTH];
236 int size, start, width, left, scroll;
253 XFontStruct* fontstruct;
299 char name[HDT_MAX_NAMECHAR];
311 char name[HDT_MAX_NAMECHAR];
312 char tabname[HDT_MAX_NAMECHAR];
323 char name[HDT_MAX_NAMECHAR];
324 int regaddr, ucb1400io, width, height;
334 char name[HDT_MAX_NAMECHAR];
335 char tabname[HDT_MAX_NAMECHAR];
347 char name[HDT_MAX_NAMECHAR];
348 char motorname[HDT_MAX_NAMECHAR];
350 int regaddr, clickspm;
361 char name[HDT_MAX_NAMECHAR];
362 char tabname[HDT_MAX_NAMECHAR];
365 int mintime, maxtime;
376 char name[HDT_MAX_NAMECHAR];
377 char tabname[HDT_MAX_NAMECHAR];
389 char name[HDT_MAX_NAMECHAR];
390 char encname1[HDT_MAX_NAMECHAR],encname2[HDT_MAX_NAMECHAR];
391 char encname3[HDT_MAX_NAMECHAR],encname4[HDT_MAX_NAMECHAR];
394 int wheeldist1, axesdist, wheeldist2;
404 char name[HDT_MAX_NAMECHAR];
405 int type, length, togmask, invmask, mode, buffsize, delay;
415 char name[HDT_MAX_NAMECHAR];
416 char procname[HDT_MAX_NAMECHAR];
427 char name[HDT_MAX_NAMECHAR];
428 char devname[HDT_MAX_NAMECHAR];
438 char fontName[FONTNAMELEN];
Structure defining a HDT drive.
Definition: types.h:386
struct HDT_TABLE HDT_TABLE
Structure defining a HDT Table.
struct HDT_ENTRY HDT_ENTRY
Structure defining a HDT entry.
Structure defining battery info.
Definition: types.h:176
Structure defining a HDT Device.
Definition: types.h:308
struct HDT_ENCODER HDT_ENCODER
Structure defining a HDT encoder.
struct HDT_ADC HDT_ADC
Structure defining a HDT ADC.
Structure defining the Framebuffer info for the LCD.
Definition: types.h:138
Structure defining a HDT Motor.
Definition: types.h:331
Structure defining a menu item.
Definition: types.h:222
Structure defining boxes for touchscreen use.
Definition: types.h:204
Structure defining a menu.
Definition: types.h:232
struct HDT_DEVICE HDT_DEVICE
Structure defining a HDT Device.
struct HDT_IRTV HDT_IRTV
Structure defining a HDT IRTV.
Structure defining the CPU info.
Definition: types.h:147
Structure defining a LCD fontcolour/name.
Definition: types.h:435
Structure defining a rectangular box on the LCD.
Definition: types.h:194
struct HDT_MOTOR HDT_MOTOR
Structure defining a HDT Motor.
struct HDT_SERVO HDT_SERVO
Structure defining a HDT servo.
Structure defining a HDT psd.
Definition: types.h:373
Structure defining a HDT ADC.
Definition: types.h:412
struct HDT_COM HDT_COM
Structure defining a HDT COM.
Structure representing the coordinates of a point.
Definition: types.h:186
Structure defining a HDT encoder.
Definition: types.h:344
Structure defining touchscreen presses.
Definition: types.h:213
Structure defining a HDT Table.
Definition: types.h:296
Structure defining a HDT servo.
Definition: types.h:358
Structure defining the cursor for the LCD.
Definition: types.h:129
Structure defining a Hints for the LCD.
Definition: types.h:108
Structure defining the processor info.
Definition: types.h:168
struct HDT_CAM HDT_CAM
Structure defining a HDT Camera.
Structure defining a HDT entry.
Definition: types.h:286
Structure defining a Screen for the LCD.
Definition: types.h:120
Structure defining a HDT COM.
Definition: types.h:424
Structure representing a rectangle.
Definition: types.h:277
Structure defining the memory info.
Definition: types.h:158
Structure defining a HDT Camera.
Definition: types.h:320
struct HDT_PSD HDT_PSD
Structure defining a HDT psd.
struct HDT_DRIVE HDT_DRIVE
Structure defining a HDT drive.
Structure defining an LCD.
Definition: types.h:245
Structure defining a HDT IRTV.
Definition: types.h:401