X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmainboard%2Fcommands_traj.c;fp=projects%2Fmicrob2010%2Fmainboard%2Fcommands_traj.c;h=e0e6a1b4e522efbf3a2e77cf1d6374a556445cf0;hp=0bd04b50058be823f08547183ca2aee1b45b9155;hb=f1fab48d45873bc23dccbae5db393afd2942570c;hpb=8b483b080955caa558615ec69cac0fb4eb7e04ef diff --git a/projects/microb2010/mainboard/commands_traj.c b/projects/microb2010/mainboard/commands_traj.c index 0bd04b5..e0e6a1b 100644 --- a/projects/microb2010/mainboard/commands_traj.c +++ b/projects/microb2010/mainboard/commands_traj.c @@ -831,7 +831,7 @@ static void auto_position(void) goto intr; strat_reset_pos(ROBOT_WIDTH/2 + 100, COLOR_Y(ROBOT_HALF_LENGTH_FRONT), - COLOR_A(-90)); + COLOR_A(-90) + ROBOT_ANGLE_FRONT); strat_hardstop(); trajectory_d_rel(&mainboard.traj, -180); @@ -851,7 +851,7 @@ static void auto_position(void) goto intr; strat_reset_pos(ROBOT_HALF_LENGTH_FRONT, DO_NOT_SET_POS, - 180); + 180 + ROBOT_ANGLE_FRONT); strat_hardstop(); trajectory_d_rel(&mainboard.traj, -170);