Welcome to the EyeBot  Version 7 - RPi1
A Controller For Various Hardware IO
Data Structures | Macros | Typedefs | Variables
types.h File Reference

Defines types used for the EyeBot 7. More...

#include <X11/Xlib.h>
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <math.h>

Go to the source code of this file.

Data Structures

struct  HINTS
 Structure defining a Hints for the LCD. More...
 
struct  SCREEN
 Structure defining a Screen for the LCD. More...
 
struct  CURSOR
 Structure defining the cursor for the LCD. More...
 
struct  FBINFO
 Structure defining the Framebuffer info for the LCD. More...
 
struct  INFO_CPU
 Structure defining the CPU info. More...
 
struct  INFO_MEM
 Structure defining the memory info. More...
 
struct  INFO_PROC
 Structure defining the processor info. More...
 
struct  INFO_MISC
 Structure defining battery info. More...
 
struct  COORD_PAIR
 Structure representing the coordinates of a point. More...
 
struct  BOX
 Structure defining a rectangular box on the LCD. More...
 
struct  TOUCH_MAP
 Structure defining boxes for touchscreen use. More...
 
struct  TOUCH_EVENT
 Structure defining touchscreen presses. More...
 
struct  MENU_ITEM
 Structure defining a menu item. More...
 
struct  LIST_MENU
 Structure defining a menu. More...
 
struct  LCD_HANDLE
 Structure defining an LCD. More...
 
struct  RECT
 Structure representing a rectangle. More...
 
struct  HDT_ENTRY
 Structure defining a HDT entry. More...
 
struct  HDT_TABLE
 Structure defining a HDT Table. More...
 
struct  HDT_DEVICE
 Structure defining a HDT Device. More...
 
struct  HDT_CAM
 Structure defining a HDT Camera. More...
 
struct  HDT_MOTOR
 Structure defining a HDT Motor. More...
 
struct  HDT_ENCODER
 Structure defining a HDT encoder. More...
 
struct  HDT_SERVO
 Structure defining a HDT servo. More...
 
struct  HDT_PSD
 Structure defining a HDT psd. More...
 
struct  HDT_DRIVE
 Structure defining a HDT drive. More...
 
struct  HDT_IRTV
 Structure defining a HDT IRTV. More...
 
struct  HDT_ADC
 Structure defining a HDT ADC. More...
 
struct  HDT_COM
 Structure defining a HDT COM. More...
 
struct  EYEFONT
 Structure defining a LCD fontcolour/name. More...
 

Macros

#define VEHICLE   1
 
#define PLATFORM   2
 
#define WALKER   3
 
#define DEBUG   1
 
#define NUMBER_TRY   10
 
#define HDT_MAX_NAMECHAR   80
 
#define LCD_MENU_STRLENGTH   32 /* for storage declaration */
 
#define LCD_LIST_STRLENGTH   64 /* for storage declaration */
 
#define MENU_HEIGHT   38
 
#define KEYTM_MAX_REGIONS   32
 
#define VERSION   "1.0"
 
#define MACHINE_SPEED   700000000
 
#define MACHINE_TYPE   VEHICLE
 
#define MACHINE_NAME   "EyeBot"
 
#define ID   1
 
#define LIBM6OS_VERSION   "1.0"
 
#define HDT_FILE   "/home/pi/eyebot/bin/hdt.txt"
 
#define HDT_MAX_PATHCHAR   256
 
#define HDT_MAX_FILECHAR   40
 
#define HDT_MAX_READBUFF   128
 
#define IOBOARD   1
 
#define QQVGA_X   160
 
#define QQVGA_Y   120
 
#define QQVGA_SIZE   (QQVGA_X*QQVGA_Y*3)
 
#define QVGA_X   240
 
#define QVGA_Y   320
 
#define QVGA_SIZE   (QVGA_X*QVGA_Y*3)
 
#define VGA_X   640
 
#define VGA_Y   480
 
#define VGA_SIZE   (VGA_X*VGA_Y*3)
 
#define CAM1MP_X   1296
 
#define CAM1MP_Y   730
 
#define CAM1MP_SIZE   (CAM1MP_X*CAM1MP_Y*3)
 
#define CAMHD_X   1920
 
#define CAMHD_Y   1080
 
#define CAMHD_SIZE   (CAMHD_X*CAMHD_Y*3)
 
#define CAM5MP_X   2592
 
#define CAM5MP_Y   1944
 
#define CAM5MP_SIZE   (CAM5MP_X*CAM5MP_Y*3)
 
#define QQVGA   0
 
#define QVGA   1
 
#define VGA   2
 
#define CAM1MP   3
 
#define CAMHD   4
 
#define CAM5MP   5
 
#define FONTNAMELEN   50
 

Typedefs

typedef char * DeviceSemantics
 
typedef unsigned short HWORD
 
typedef unsigned long KEYCODE
 
typedef unsigned char KEYMODE
 
typedef unsigned short LCDMODE
 
typedef int COLOR
 
typedef char BYTE
 
typedef BYTE VGAcol[480][640][3]
 
typedef BYTE VGAgray[480][640]
 
typedef BYTE QVGAcol[240][320][3]
 
typedef BYTE QVGAgray[240][320]
 
typedef BYTE QQVGAcol[120][160][3]
 
typedef BYTE QQVGAgray[120][160]
 
typedef BYTE CAM1MPcol[730][1296][3]
 
typedef BYTE CAM1MPgray[730][1296]
 
typedef BYTE CAMHDcol[1080][1920][3]
 
typedef BYTE CAMHDgray[1080][1920]
 
typedef BYTE CAM5MPcol[1944][2592][3]
 
typedef BYTE CAM5MPgray[1944][2592]
 
typedef struct HDT_ENTRY HDT_ENTRY
 Structure defining a HDT entry.
 
typedef struct HDT_TABLE HDT_TABLE
 Structure defining a HDT Table.
 
typedef struct HDT_DEVICE HDT_DEVICE
 Structure defining a HDT Device.
 
typedef struct HDT_CAM HDT_CAM
 Structure defining a HDT Camera.
 
typedef struct HDT_MOTOR HDT_MOTOR
 Structure defining a HDT Motor.
 
typedef struct HDT_ENCODER HDT_ENCODER
 Structure defining a HDT encoder.
 
typedef struct HDT_SERVO HDT_SERVO
 Structure defining a HDT servo.
 
typedef struct HDT_PSD HDT_PSD
 Structure defining a HDT psd.
 
typedef struct HDT_DRIVE HDT_DRIVE
 Structure defining a HDT drive.
 
typedef struct HDT_IRTV HDT_IRTV
 Structure defining a HDT IRTV.
 
typedef struct HDT_ADC HDT_ADC
 Structure defining a HDT ADC.
 
typedef struct HDT_COM HDT_COM
 Structure defining a HDT COM.
 

Variables

int CAMWIDTH
 
int CAMHEIGHT
 
int CAMMODE
 

Detailed Description

Defines types used for the EyeBot 7.

Author
Remi Keat & MArcus Pham