Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/7Robot/Eurobot2015
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreN7 committed May 14, 2015
1 parent 0c4a0b0 commit 3bf62b6
Show file tree
Hide file tree
Showing 4 changed files with 203 additions and 186 deletions.
6 changes: 3 additions & 3 deletions AsservHitchbot.X/actions_ax12.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void Faire_Actions_AX12(void)
{
int num = Num_Action_Done;
char Action_ToDo;
if (num != Num_Action_ToDo && Delay_90 < 90000) {
if (num != Num_Action_ToDo && !Delay_90_Over) {
num++;
if (num == NUM_ACTIONS_BUFFER) {
num = 0;
Expand Down Expand Up @@ -305,7 +305,7 @@ void open_popcorn_d(void) {
}

void close_popcorn_d(void) {
PutAX(popcorn_d,AX_GOAL_POSITION,522); //rabat la piece 700
PutAX(popcorn_d,AX_GOAL_POSITION,500); //rabat la piece 700
__delay_ms(50);
SendDone();
}
Expand All @@ -317,7 +317,7 @@ void open_popcorn_g(void) {
}

void close_popcorn_g(void) {
PutAX(popcorn_g,AX_GOAL_POSITION,502); //ferme l'attrape popkorn
PutAX(popcorn_g,AX_GOAL_POSITION,522); //ferme l'attrape popkorn
__delay_ms(50);
SendDone();
}
Expand Down
Loading

0 comments on commit 3bf62b6

Please sign in to comment.