Added support for automatic actions.

This commit is contained in:
2014-06-23 16:07:58 -04:30
parent 189e4fe378
commit a2ca1382e6
2 changed files with 16 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ package ve.ucv.ciens.ccg.nxtarbot.protocol;
* <p>Bit masks used to code/decode the control instructions sent by NxtAR-cam to
* NxtAR-bot.</p>
*
* <p>Expansions 1-3 are currently unused.</p>
* <p>Expansions 2-3 are currently unused.</p>
*/
public abstract class MotorMasks {
public static final byte MOTOR_A = (byte)0x01;
@@ -27,7 +27,7 @@ public abstract class MotorMasks {
public static final byte MOTOR_C = (byte)0x04;
public static final byte DIRECTION = (byte)0x08;
public static final byte RECENTER = (byte)0x10;
public static final byte EXPANSION_1 = (byte)0x20;
public static final byte ROTATE_90 = (byte)0x20;
public static final byte EXPANSION_2 = (byte)0x40;
public static final byte EXPANSION_3 = (byte)0x80;
}