]> git.droids-corp.org - aversive.git/blobdiff - projects/microb2010/common/i2c_commands.h
lots of work in opponent avoidance and strats
[aversive.git] / projects / microb2010 / common / i2c_commands.h
index fa17fcad97cba160a7c4a4e3a821659d11e5eced..b5c9d36897e6ee80ae32d5209255621ef6b12818 100644 (file)
@@ -32,6 +32,7 @@
 #define I2C_RIGHT_SIDE   1
 #define I2C_AUTO_SIDE    2
 #define I2C_CENTER_SIDE  3
+#define I2C_NO_SIDE      4
 
 #define I2C_COLOR_YELLOW 0
 #define I2C_COLOR_BLUE   1
@@ -108,6 +109,8 @@ struct i2c_req_cobboard_status {
 
 #define I2C_COBBOARD_SPK_DEPLOY  0x01 /* deploy the spickle */
 #define I2C_COBBOARD_SPK_AUTOHARVEST 0x02 /* auto harvest the cobs */
+#define I2C_COBBOARD_SPK_NO_MOVE 0x04 /* if enabled, don't change state */
+#define I2C_COBBOARD_SPK_WEAK 0x08 /* if enabled, current limit */
        uint8_t lspickle;
        uint8_t rspickle;
 };