From my experiments with a one line robot book-ended by two sense Cubelets, it appears that the battery and passive Cubelets contribute to the computation of the weighted average read by the act Cubelets.
This can be tested using the bar graph Cubelet.
What is going on here? I will be explaining this behavior of the Cubelets to a club soon and would like to let them know the nature of this behavior. In short, it seems the passive Cubelet is not truly passive as it seems to be factored into the computation of the weighted average governing the behavior of the act Cubelets…
You’ve found one of the more subtle aspects of Cubelets! Without going into too much detail… Cubelets are all robots and they coordinate their actions by “talking” to each other. What they communicate is a “block value,” a simple number. The weighted average is a calculation of the numbers that are shared from Cubelet to Cubelet.
The weighted average is the result of the numbers that are passed to a given Cubelet and the “distance” a given Cubelet is from any other Cubelet. The further away any Cubelet is, the lower the contribution to the weighted average. This is why a Passive Cubelet doesn’t directly alter a block value but is factored in as a measure of distance.
Sorry, that is a rather complicated answer, but your intuition is guiding you in the right direction!
This reply was modified 1 year, 6 months ago by Stu Barwick.