Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PsiSwarmV9 by
Diff: psiswarm.h
- Revision:
- 18:9204f74069b4
- Parent:
- 17:bf614e28668f
--- a/psiswarm.h Sun Jun 04 13:11:09 2017 +0000 +++ b/psiswarm.h Sun Jun 04 20:22:41 2017 +0000 @@ -57,7 +57,8 @@ * These values are used as defaults if robot specific calibration values have not been stored in EEPROM * */ - +#define LEFT_STALL 20 +#define RIGHT_STALL 20 #define BIR1W 1750 #define BIR2W 3780 #define BIR3W 3820 @@ -250,6 +251,8 @@ extern char motor_calibration_set; extern float left_motor_calibration_value; extern float right_motor_calibration_value; +extern float left_motor_stall_offset; +extern float right_motor_stall_offset; extern char base_ir_calibration_set; extern char base_colour_calibration_set; @@ -292,6 +295,7 @@ extern char encoder_event; extern char switch_event; extern char system_warnings; +extern short boot_count; extern char debug_mode; extern char debug_output;
