abcalibrate library  v0.91
Self calibration library for the Parallax ActivityBot
abcalibrate.h
Go to the documentation of this file.
1 
41 #ifndef ABCALIBRATE_H
42 #define ABCALIBRATE_H
43 
44 #if defined(__cplusplus)
45 extern "C" {
46 #endif
47 
48 #include "servo.h"
49 #include "simpletools.h" // Include simple tools
50 #include "fdserial.h"
51 
52 
53 #ifndef _ActivityBot_EE_Start_
54 
58 #define _ActivityBot_EE_Start_ 63418
59 #endif
60 
61 #ifndef _ActivityBot_EE_Pins_
62 #define _ActivityBot_EE_Pins_ 12
63 #endif
64 
65 #ifndef _ActivityBot_EE_Trims_
66 #define _ActivityBot_EE_Trims_ 28
67 #endif
68 
69 #ifndef _ActivityBot_EE_Left_
70 #define _ActivityBot_EE_Left_ 52
71 #endif
72 
73 #ifndef _ActivityBot_EE_Right_
74 #define _ActivityBot_EE_Right_ 1052
75 #endif
76 
77 #ifndef _ActivityBot_EE_End_
78 
82 #define _ActivityBot_EE_End_ 63418 + 2052
83 #endif
84 
89 void cal_activityBot();
90 
103 void cal_servoPins(int servoPinLeft, int servoPinRight);
104 
117 void cal_encoderPins(int encPinLeft, int encPinRight);
118 
119 
120 #if defined(__cplusplus)
121 }
122 #endif
123 /* __cplusplus */
124 #endif
125 /* ABCALIBRATE_H */
126