Skip to content
Snippets Groups Projects
Commit 9acf8567 authored by Johannes Mey's avatar Johannes Mey
Browse files

actually add the safety zone

parent 396455c9
No related branches found
No related tags found
No related merge requests found
Pipeline #6933 failed
......@@ -50,6 +50,7 @@ public class StarterMain {
safetyZone.addCoordinate(new Coordinate(
IntPosition.of(coordinate[0], coordinate[1], coordinate[2])));
}
zoneModel.addSafetyZone(safetyZone);
model.setZoneModel(zoneModel);
model.MqttWaitUntilReady(2, TimeUnit.SECONDS);
......@@ -102,7 +103,7 @@ public class StarterMain {
.setEnableOrientation(false)
.setEnableTwistAngular(false)
.setEnableTwistLinear(false)
.setPublishRate(200)
.setPublishRate(1000)
.build();
mainHandler.publish(dataConfigTopic, dataConfig.toByteArray());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment