diff --git a/src/utilspositions.c b/src/utilspositions.c index 93157be..1bc0abf 100644 --- a/src/utilspositions.c +++ b/src/utilspositions.c @@ -178,7 +178,7 @@ void init_main_positions(state *s, mainpos *p){ position s_sr_init={.x = (S_SR_S_0_X + S_SR_S_2_X)/2,.y = (S_SR_S_0_Y + S_SR_S_2_Y)/2}; position s_sr_ballareaposition = {.x = S_BA_1_X ,.y = S_BA_1_Y }; - position s_fr_endingposition = {.x = (S_SR_E_0_X + S_SR_E_2_X)/2 ,.y = (S_SR_E_0_Y + S_SR_E_2_Y )/2 }; + position s_sr_endingposition = {.x = (S_SR_E_0_X + S_SR_E_2_X)/2 ,.y = (S_SR_E_0_Y + S_SR_E_2_Y )/2 }; position l_sr_init = {.x = side*(L_SR_S_0_X + L_SR_S_2_X)/2, .y = (L_SR_S_2_Y + L_SR_S_0_Y)/2}; position l_sr_dodgefirst = {.x = side*(L_O2_0_X - ROBOT_WIDTH)/2, .y = L_O2_0_Y - WHEELS_TO_END};