Skip to content

Commit

Permalink
now exploration msg is send also in production phase.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkohout committed Apr 19, 2024
1 parent 717bb06 commit d528c59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {

group = 'io.github.robocup-logistics'
archivesBaseName = "java-sdk"
version = '0.1.18'
version = '0.1.19'

description = ""

Expand Down
4 changes: 1 addition & 3 deletions src/main/java/com/rcll/refbox/RefboxClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ public void run() {
machineClient.ifPresent(m -> m.fetchResetMessages().forEach(rbcm::sendPrivateMsg));
robotClient.ifPresent(r -> r.fetchBeaconSignals().forEach(rbcm::sendPrivateMsg));
robotClient.ifPresent(RobotClient::clearBeaconSignals);
if (!inProduction) {
explorationClient.ifPresent(e -> e.fetchExplorationMsg().forEach(rbcm::sendPrivateMsg));
}
explorationClient.ifPresent(e -> e.fetchExplorationMsg().forEach(rbcm::sendPrivateMsg));
}
}, 0, sendIntervalInMs);
}
Expand Down

0 comments on commit d528c59

Please sign in to comment.