Skip to content

Commit

Permalink
Update RandomWalkPlan.java
Browse files Browse the repository at this point in the history
removing unnecessary beep stuff
  • Loading branch information
lightyz committed Apr 4, 2016
1 parent 90b4f8b commit af5ffe0
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ public ControlMode getControlMode() {

@Override
public void start(final RobotController controller) throws Exception {
// final ToneGenerator tg = new ToneGenerator(AudioManager.STREAM_NOTIFICATION,100);

// Laser scan data
float[] ranges;
// Temporary variables
Expand All @@ -65,7 +63,6 @@ public void start(final RobotController controller) throws Exception {

// If a wall is close, stop, turn a random amount, and continue moving
if (shortestDistance < minRange) {
// tg.startTone(ToneGenerator.TONE_PROP_BEEP2,5000);
controller.publishVelocity(0, 0, 0);
waitFor(1000);

Expand Down

1 comment on commit af5ffe0

@lightyz
Copy link
Contributor Author

@lightyz lightyz commented on af5ffe0 May 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after the warning issue was completed we decided that we wouldn't put the beep directly in this plan

Please sign in to comment.