-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathincludes.h
More file actions
82 lines (73 loc) · 2.41 KB
/
Copy pathincludes.h
File metadata and controls
82 lines (73 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/****************************************************************/
/* RPi-kee */
/* File : includes.h */
/* Description : */
/* Global include file for RPi-kee project */
/* */
/* Author : MPE */
/* */
/****************************************************************/
#ifndef __INCLUDES_H
#define __INCLUDES_H
/****************************************************************/
/** Includes */
/****************************************************************/
/* Standard include */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <pthread.h>
#include <semaphore.h>
#include<unistd.h> //write
#if defined (Win32)
#include <windows.h>
#include <winsock2.h>
#elif defined (RPi)
#include <errno.h>
#include <unistd.h>
#include <pigpio.h>
#include <wiringPi.h>
#include <mcp3004.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h> /* close */
#include <netdb.h> /* gethostbyname */
#include <wand/magick_wand.h>
#else
#error "No OS defined"
#endif
/* LLIPS include */
#include "llips/llips_includes.h"
/* RPi-kee configuration */
#include "app_cfg.h"
#include "driver/DCMotor.h"
#include "driver/StepperMotor.h"
/* Global data */
#include "global_var.h"
#include "Parameters.h"
/* Hardware Layer Drivers */
#include "driver/ADC.h"
#include "driver/IR_Common.h"
#include "driver/IR_100_550.h"
#include "driver/IR_20_150.h"
/* Sub Functions */
#include "Functions/functions.h"
#include "Functions/MotorCommands.h"
#include "Functions/RPK_Protocol.h"
/* Thread Include */
#include "Threads/th_ADC_Acq.h"
//#include "Threads/th_ADC_Data_Handle.h"
#include "Threads/th_CtrlCmd.h"
#include "Threads/th_debug.h"
#include "Threads/th_ImgAcq.h"
#include "Threads/th_ImgHandle.h"
//#include "Threads/th_MotorLeftdrive.h"
//#include "Threads/th_MotorRightdrive.h"
//#include "Threads/th_OtherSensorHandle.h"
#include "Threads/th_Protections.h"
#include "Threads/th_TCPCom.h"
//#include "Threads/th_MotorXSurvey.h"
//#include "Threads/th_MotorYSurvey.h"
#endif