Made default auto mode mode 5
And changed dashboard a little.
Change-Id: I7777521ed221b783d61a286cb59cad15f54626b0
diff --git a/y2016/actors/autonomous_actor.cc b/y2016/actors/autonomous_actor.cc
index 7b3fc60..f298420 100644
--- a/y2016/actors/autonomous_actor.cc
+++ b/y2016/actors/autonomous_actor.cc
@@ -1092,6 +1092,7 @@
break;
case 5:
+ case 15:
TwoBallAuto();
return true;
break;
diff --git a/y2016/dashboard/dashboard.cc b/y2016/dashboard/dashboard.cc
index 22a77fa..16ad077 100644
--- a/y2016/dashboard/dashboard.cc
+++ b/y2016/dashboard/dashboard.cc
@@ -124,7 +124,9 @@
AddPoint("big indicator", big_indicator);
AddPoint("superstructure state indicator", superstructure_state_indicator);
- AddPoint("auto mode indicator", auto_mode_indicator);
+ if(auto_mode_indicator != 15) {
+ AddPoint("auto mode indicator", auto_mode_indicator);
+ }
#endif
// Get ready for next iteration. /////
diff --git a/y2016/dashboard/www/index.html b/y2016/dashboard/www/index.html
index 3821b48..b7f943f 100644
--- a/y2016/dashboard/www/index.html
+++ b/y2016/dashboard/www/index.html
@@ -90,7 +90,7 @@
default:
$("#bigIndicator").css("background", "#000000");
$("#bigIndicator").css("color", "#444444");
- $("#bigIndicator").text("No ball, no target");
+ $("#bigIndicator").text("No ball");
break;
}
@@ -218,7 +218,8 @@
}
#autoModeIndicator {
- background: #FF0000;
+ background: #444444;
+ color: #AAAAAA;
}
</style>
</head>