Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified src/algorithms/Exploration.class
Binary file not shown.
2 changes: 1 addition & 1 deletion src/algorithms/Exploration.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public Exploration(int timeLimit, int coverageLimit, Robot robot, Map map, boole
this.map = map;
this.limited = limited;
this.firstMove = false;
this.updateAndroid = true;
this.updateAndroid = false;
}

public void run() {
Expand Down
Binary file modified src/robot/Constant.class
Binary file not shown.
2 changes: 1 addition & 1 deletion src/robot/Constant.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class Constant {
// range of long range sensor (tiles)
public static final int SENSOR_LONG_RANGE_MAX = 5;

public static final int SPEED = 1;
public static final int SPEED = 10;
public static final DIRECTION START_DIR = DIRECTION.NORTH;

public static final int GOAL_ROW = 18;
Expand Down
Binary file modified src/robot/Robot.class
Binary file not shown.
Binary file modified src/simulator/Simulator$1.class
Binary file not shown.
Binary file modified src/simulator/Simulator$1MTFastestPath.class
Binary file not shown.
Binary file modified src/simulator/Simulator$1MTRealRun.class
Binary file not shown.
Binary file modified src/simulator/Simulator$2.class
Binary file not shown.
Binary file modified src/simulator/Simulator$3.class
Binary file not shown.
Binary file modified src/simulator/Simulator$4$1.class
Binary file not shown.
Binary file modified src/simulator/Simulator$4.class
Binary file not shown.
Binary file modified src/simulator/Simulator$5$1.class
Binary file not shown.
Binary file modified src/simulator/Simulator$5.class
Binary file not shown.
Binary file modified src/simulator/Simulator$6.class
Binary file not shown.
Binary file modified src/simulator/Simulator$7$1.class
Binary file not shown.
Binary file modified src/simulator/Simulator$7.class
Binary file not shown.
Binary file modified src/simulator/Simulator.class
Binary file not shown.
8 changes: 5 additions & 3 deletions src/simulator/Simulator.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ class MTFastestPath extends SwingWorker<Integer, String> {
protected Integer doInBackground() throws Exception {
bot.reset();
map.paintComponent(map.getGraphics());
bot.setRealRun(true);
//bot.setRealRun(true);
/*
Communication comms = new Communication();
comms = comms.getComms();
System.out.println("Open comms in fastest path");
Expand All @@ -177,16 +178,17 @@ protected Integer doInBackground() throws Exception {
getWayPoint(msg);
}
}
}
}*/

FastestPath fastestPath = new FastestPath(bot, map);
fastestPath.run(wayPointY, wayPointX);
/*
try {
TimeUnit.MILLISECONDS.sleep(3000);
System.out.println("Reached Way Point");
} catch (InterruptedException e) {
System.out.println("Error in waiting in way point.");
}
}*/
FastestPath fastestPath2 = new FastestPath(bot, map);
fastestPath2.run(Constant.GOAL_ROW, Constant.GOAL_COL);

Expand Down