Skip to content

Commit

Permalink
backout debugging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolSpy3 committed May 29, 2024
1 parent fb89c8c commit 7a1bcad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false

- name: Setup Webots
id: setupWebots
Expand Down
8 changes: 3 additions & 5 deletions plugin/controller/src/main/java/DeepBlueSim.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ public void uncaughtException(Thread arg0, Throwable arg1) {
Thread.currentThread().setUncaughtExceptionHandler(eh);
}

System.out.println(
"This is a small change that will force the plugin to recompile!");
ConnectionProcessor.setThreadExecutor(queuedMessages::add);

final Supervisor robot = new Supervisor();
Expand All @@ -84,9 +82,9 @@ public void uncaughtException(Thread arg0, Throwable arg1) {
Simulation.registerPeriodicMethod(() -> {
Node self = robot.getSelf();
double[] pos = self.getPosition();
// webotsSupervisorSim.set("self.position.x", pos[0]);
// webotsSupervisorSim.set("self.position.y", pos[1]);
// webotsSupervisorSim.set("self.position.z", pos[2]);
webotsSupervisorSim.set("self.position.x", pos[0]);
webotsSupervisorSim.set("self.position.y", pos[1]);
webotsSupervisorSim.set("self.position.z", pos[2]);
});

Timer simPauseTimer = new Timer();
Expand Down

0 comments on commit 7a1bcad

Please sign in to comment.