Commit 1a92cf56 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Lets actually clear the destination stuff so that old destinations

are cleared in the display!
parent 12ea0901
......@@ -307,12 +307,16 @@ public class RoboTrack extends JApplet {
robbie.gotdest = true;
}
else {
// Consume next two tokens and clear strings.
// Consume next two tokens and clear strings/values.
str = tokens.nextToken();
str = tokens.nextToken();
robbie.dx = 0;
robbie.dy = 0;
robbie.dor = 500.0;
robbie.dx_meters = "";
robbie.dy_meters = "";
robbie.dor_string = "";
robbie.gotdest = false;
}
// Store these as strings for easy display.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment