-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a clear calibration settings option and update calibration messages
- Loading branch information
1 parent
2c10836
commit 721d9ca
Showing
15 changed files
with
268 additions
and
34 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
360 Dev/ActivityBot360/ActivityBot360 Modified/ActivitiyBot Clear Calibration Settings.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
ActivityBot Display Calibration Results.c | ||
Clear calibration data. ActivityBot360 will use default values | ||
and may not perform as well. | ||
*/ | ||
|
||
#include "simpletools.h" | ||
#include "servo360.h" | ||
#include "abcalibrate360.h" | ||
|
||
int main() | ||
{ | ||
cal_clear(); | ||
} | ||
|
9 changes: 9 additions & 0 deletions
9
360 Dev/ActivityBot360/ActivityBot360 Modified/ActivitiyBot Clear Calibration Settings.side
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ActivitiyBot Clear Calibration Settings.c | ||
>compiler=C | ||
>memtype=cmm main ram compact | ||
>optimize=-Os | ||
>-m32bit-doubles | ||
>-fno-exceptions | ||
>defs::-std=c99 | ||
>-lm | ||
>BOARD::ACTIVITYBOARD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
Learn/Examples/Robots/ActivityBot360/ActivitiyBot Clear Calibration Settings.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
ActivityBot Display Calibration Results.c | ||
Clear calibration data. ActivityBot360 will use default values | ||
and may not perform as well. | ||
*/ | ||
|
||
#include "simpletools.h" | ||
#include "servo360.h" | ||
#include "abcalibrate360.h" | ||
|
||
int main() | ||
{ | ||
cal_clear(); | ||
} | ||
|
9 changes: 9 additions & 0 deletions
9
Learn/Examples/Robots/ActivityBot360/ActivitiyBot Clear Calibration Settings.side
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ActivitiyBot Clear Calibration Settings.c | ||
>compiler=C | ||
>memtype=cmm main ram compact | ||
>optimize=-Os | ||
>-m32bit-doubles | ||
>-fno-exceptions | ||
>defs::-std=c99 | ||
>-lm | ||
>BOARD::ACTIVITYBOARD |
17 changes: 17 additions & 0 deletions
17
Learn/Examples/Robots/ActivityBot360/ActivitiyBot Display Calibration Results.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
ActivityBot Display Calibration Results.c | ||
Display interpolation table values from calibration | ||
http://learn.parallax.com/activitybot/calibrate-your-activitybot | ||
*/ | ||
|
||
#include "simpletools.h" | ||
#include "servo360.h" | ||
#include "abcalibrate360.h" | ||
|
||
int main() | ||
{ | ||
cal_displayResults(); | ||
} | ||
|
9 changes: 9 additions & 0 deletions
9
Learn/Examples/Robots/ActivityBot360/ActivitiyBot Display Calibration Results.side
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ActivitiyBot Display Calibration Results.c | ||
>compiler=C | ||
>memtype=cmm main ram compact | ||
>optimize=-Os | ||
>-m32bit-doubles | ||
>-fno-exceptions | ||
>defs::-std=c99 | ||
>-lm | ||
>BOARD::ACTIVITYBOARD |
16 changes: 16 additions & 0 deletions
16
Learn/Examples/Robots/ActivityBot360/ActivitiyBot Display Calibration.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
ActivityBot Display Calibration.c | ||
Display interpolation table values from calibration | ||
http://learn.parallax.com/activitybot/calibrate-your-activitybot | ||
*/ | ||
|
||
#include "simpletools.h" | ||
#include "servo360.h" | ||
#include "abcalibrate360.h" | ||
|
||
int main() | ||
{ | ||
cal_displayData(); | ||
} |
9 changes: 9 additions & 0 deletions
9
Learn/Examples/Robots/ActivityBot360/ActivitiyBot Display Calibration.side
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ActivitiyBot Display Calibration.c | ||
>compiler=C | ||
>memtype=cmm main ram compact | ||
>optimize=-Os | ||
>-m32bit-doubles | ||
>-fno-exceptions | ||
>defs::-std=c99 | ||
>-lm | ||
>BOARD::ACTIVITYBOARD |
23 changes: 23 additions & 0 deletions
23
Learn/Examples/Robots/ActivityBot360/ActivityBot Calibrate.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
ActivityBot Calibrate.c | ||
Calibrate the ActivityBot's servos and encoders | ||
http://learn.parallax.com/activitybot/calibrate-your-activitybot | ||
*/ | ||
|
||
#include "simpletools.h" | ||
#include "servo360.h" | ||
#include "abcalibrate360.h" | ||
|
||
int main() | ||
{ | ||
cal_servoPins(12, 13); | ||
cal_encoderPins(14, 15); | ||
|
||
high(26); | ||
high(27); | ||
cal_activityBot(); | ||
low(26); | ||
low(27); | ||
} |
9 changes: 9 additions & 0 deletions
9
Learn/Examples/Robots/ActivityBot360/ActivityBot Calibrate.side
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ActivityBot Calibrate.c | ||
>compiler=C | ||
>memtype=cmm main ram compact | ||
>optimize=-Os | ||
>-m32bit-doubles | ||
>-fno-exceptions | ||
>defs::-std=c99 | ||
>-lm | ||
>BOARD::ACTIVITYBOARD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.