|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
Go to the documentation of this file.
42 #if defined(__cplusplus)
52 #ifndef DOXYGEN_SHOULD_SKIP_THIS
56 #define ABD60_PIN_CTRL_L 12
57 #define ABD60_PIN_FB_L 14
59 #define ABD360_PIN_CTRL_R 13
60 #define ABD360_PIN_FB_R 15
63 #ifndef _AB360_EE_Start_
68 #define _AB360_EE_Start_ 63418
71 #ifndef _AB360_EE_Pins_
72 #define _AB360_EE_Pins_ 12
75 #ifndef _AB360_EE_mVccwL_
76 #define _AB360_EE_mVccwL_ 28
79 #ifndef _AB360_EE_bVccwL_
80 #define _AB360_EE_bVccwL_ 32
83 #ifndef _AB360_EE_mVcwL_
84 #define _AB360_EE_mVcwL_ 36
87 #ifndef _AB360_EE_bVcwL_
88 #define _AB360_EE_bVcwL_ 40
91 #ifndef _AB360_EE_mVccwR_
92 #define _AB360_EE_mVccwR_ 44
95 #ifndef _AB360_EE_bVccwR_
96 #define _AB360_EE_bVccwR_ 48
99 #ifndef _AB360_EE_mVcwR_
100 #define _AB360_EE_mVcwR_ 52
103 #ifndef _AB360_EE_bVcwR_
104 #define _AB360_EE_bVcwR_ 56
107 #ifndef _AB360_EE_End_
112 #define _AB360_EE_End_ _AB360_EE_Start_ + 60
117 #define AB360_ERROR_NONE 0 //
118 #define AB360_ERROR_CABLE_SWAP -1 //
119 #define AB360_ERROR_NO_ENC_SIG_BOTH -2 //
120 #define AB360_ERROR_NO_ENC_SIG_LEFT -3 //
121 #define AB360_ERROR_NO_ENC_SIG_RIGHT -4 //
122 #define AB360_ERROR_NO_MOTION_LEFT -5 //
123 #define AB360_ERROR_NO_MOTION_RIGHT -6 //
124 #define AB360_ERROR_NO_MOTION_BOTH -7 //
125 #define AB360_ERROR_BATTERIES_TOO_LOW -8
126 #define AB360_ERROR_BATTERIES_TOO_HIGH -9
127 #define AB360_ERROR_XFER_OUT_OF_RANGE -10
128 #define AB360_ERROR_POSSIBLE_AB_NOT_360 -11
129 #define AB360_ERROR_CONDITION_UNKNOWN -12
133 #endif // DOXYGEN_SHOULD_SKIP_THIS
135 void cal_supply5V(
int setting);
204 #ifndef DOXYGEN_SHOULD_SKIP_THIS
208 int cal_getEepromPins(
void);
212 #endif // DOXYGEN_SHOULD_SKIP_THIS
216 #if defined(__cplusplus)
void cal_servoPins(int servoPinLeft, int servoPinRight)
Set the ActivityBot 360's servo pin connections to values other than the default P12 (left servo) and...
void cal_activityBot(void)
Run the ActivityBot 360 calibration function. Let it run until the P26 and P27 lights turn off....
void cal_displayResults(void)
Indicates whether the last calibration was successful or had errors. Errors can be caused by turning ...
void cal_encoderPins(int fbPinLeft, int fbPinRight)
Set the ActivityBot 360's feedback pin connections to something other than the default P14 (left feed...
void cal_displayData(void)
Display ActivityBot 360 calibration data in the terminal. This data consists of I/O pin values for ...
Parallax Feedback 360 High Speed Servo control and monitoring functions. Uses one additional cog to c...
This library provides a simple set of functions for making the ActivityBot 360 go certain distances a...
void cal_clear(void)
Clear calibration settings. After this function is called the abdrive360 library will use standard de...