]> git.droids-corp.org - aversive.git/blobdiff - projects/microb2010/mainboard/strat.c
work on trajectory, update cobboard and ballboard too
[aversive.git] / projects / microb2010 / mainboard / strat.c
index 864b00b562fe8ca0cbd5d7caf4b4bb6597088bf1..6743d370fa6474be6442aeb7004feca85077ae73 100644 (file)
@@ -81,7 +81,7 @@ struct strat_infos strat_infos = {
 
 void strat_set_bounding_box(void)
 {
 
 void strat_set_bounding_box(void)
 {
-       if (get_color() == I2C_COLOR_RED) {
+       if (get_color() == I2C_COLOR_YELLOW) {
                strat_infos.area_bbox.x1 = 300;
                strat_infos.area_bbox.y1 = 200;
                strat_infos.area_bbox.x2 = 2720; /* needed for c1 */
                strat_infos.area_bbox.x1 = 300;
                strat_infos.area_bbox.y1 = 200;
                strat_infos.area_bbox.x2 = 2720; /* needed for c1 */