Closed klues closed 5 years ago
@ChrisVeigl @deinhofer isn't this a bug?
yes, I think you are right. Looks like a copy&paste failure. But how to fix it backwards compatible? Older models might use it this way. We could correct also in the models which are in the Asterics repository, but it would still be a problem, if you want to deploy a fixed model to an older ARE instance e.g. 3.0.
I am confused about the events
exitZone
andenterZone
of the Deadzone plugin:Documentation says: http://asterics.github.io/AsTeRICS/help/index.html?plugins&processors//Deadzone.htm
Implementation is this: https://github.com/asterics/AsTeRICS/blob/56f59f844f2a1c038ff4807ee208127d2033298b/ARE/components/processor.deadzone/src/main/java/eu/asterics/component/processor/deadzone/DeadzoneInstance.java#L264
etpEnterZone.raiseEvent();
ist called ifdist >= propRadius
, so if the values leave the radius around the centre. This is the opposite of the documentation, isn't it? The same applies to theexitZone
event.