3 void interpolation_table_setup();
6 volatile int abd_trimFL, abd_trimFR, abd_trimBL, abd_trimBR, abd_trimticksF, abd_trimticksB;
8 volatile int abd_elCntL;
9 volatile int abd_elCntR;
10 volatile int abd_elCntL;
11 volatile int abd_elCntR;
12 volatile int abd_cntrLidx;
13 volatile int abd_cntrRidx;
20 #ifndef interactive_development_mode 23 if(!abd_intTabSetup) interpolation_table_setup();
25 print(
"=== LEFT SERVO ===\n\n");
26 print(
"Table Entries = %d\nZero Speed Index = %d\n\n", abd_elCntL, abd_cntrLidx);
27 print(
"Index\tServo Drive\tEncoder Ticks/Second\n");
28 print(
"-----\t-----------\t--------------------\n");
29 for(
int r = 0; r < abd_elCntL; r++)
31 print(
"%d\t%d\t\t%d\n", r, abd_spdrL[r], abd_spdmL[r]);
34 print(
"\n\n=== RIGHT SERVO ===\n\n");
35 print(
"Table Entries = %d\nZero Speed Index = %d\n\n", abd_elCntR, abd_cntrRidx);
36 print(
"Index\tServo Drive\tEncoder Ticks/Second\n");
37 print(
"-----\t-----------\t--------------------\n");
38 for(
int r = 0; r < abd_elCntR; r++)
40 print(
"%d\t%d\t\t%d\n", r, abd_spdrR[r], abd_spdmR[r]);
46 #endif // interactive_development_mode 49 #ifndef interactive_development_mode 52 if(!abd_intTabSetup) interpolation_table_setup();
54 print(
"trimFL %d, trimFR %d, trimBL %d, trimBR %d, trimticksF %d, trimticksB %d\n",
55 abd_trimFL, abd_trimFR, abd_trimBL, abd_trimBR, abd_trimticksF, abd_trimticksB);
57 #endif // interactive_development_mode This library takes care of encoder monitoring and servo signalling, and provides a simple set of func...
void drive_displayInterpolation(void)
Displays the interopolation table stored in EEPROM by the calibration step. For more info...
void drive_trimDisplay(void)
Display the trim settings.