Added bump sensors to higher level create #9

Merged
merged 1 commit into from Aug 10, 2012
Jump to file or symbol
Failed to load files and symbols.
+16 −0
Split
@@ -517,4 +517,20 @@ public int getAngle() {
if(gc_angle < 0) gc_angle = gc_angle + 360;
return gc_angle;
}
+
+ public boolean getLBump(float lag) {
+ return lowCreate.get_create_lbump(lag) == 1;
+ }
+
+ public boolean getRBump(float lag) {
+ return lowCreate.get_create_rbump(lag) == 1;
+ }
+
+ public boolean getLBump() {
+ return lowCreate.get_create_lbump(this.lag) == 1;
+ }
+
+ public boolean getRBump() {
+ return lowCreate.get_create_rbump(this.lag) == 1;
+ }
}