Skip to content

Commit

Permalink
update angle
Browse files Browse the repository at this point in the history
  • Loading branch information
hderambure committed Jan 24, 2017
1 parent 9e94228 commit 3b783aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/first_runner.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ int finisher_small_stadium(state *s, mainpos *p)
// ------------------- SECOND TRIP ---------------
//Turn the robot
turn(s, HIGH_TURNING_SPEED, 180);
update(s, gyro_angle(s));
update_angle(s, gyro_angle(s));

//Go to center
log_this(s,"\n[%s:finisher_small_stadium_2] Going to ball area\n", __FILE__);
Expand All @@ -267,7 +267,7 @@ int finisher_small_stadium(state *s, mainpos *p)
go_to_pos(s, p->s_sr_init);

turn(s, HIGH_TURNING_SPEED, 180);
update(s, gyro_angle(s));
update_angle(s, gyro_angle(s));
grab(s, MAX_GRABBING_SPEED);

//We don't want intialization next time
Expand Down

0 comments on commit 3b783aa

Please sign in to comment.