Skip to content

Commit

Permalink
right for positive increase in toaster_simu teleop by keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg8978 committed Jun 22, 2016
1 parent 41dced6 commit 942206c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toaster_simu/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,14 +591,14 @@ int main(int argc, char** argv) {
case (SDLK_LEFT):
{
if (pressed)
y = 1.0;
y = -1.0;
else y = 0.0;
break;
}
case (SDLK_RIGHT):
{
if (pressed)
y = -1.0;
y = 1.0;
else y = 0.0;
break;
}
Expand Down

0 comments on commit 942206c

Please sign in to comment.