closenessGage
by user_59954 / Nov 20, 2026 / Neurons 68 / Synapses 8
Once error_correctionX and error_correctionY have signaled that they are finished, closenessGage will start. The goDown neuron is connected to Spatial Pointer Incremental and moves the arm down in the z direction. The circuit takes a 1x64x1 area that represents the y values of the ball. Since the ball should always be the same distance from the camera at pickup, the y values of the ball can be used to calculate when the ball has been reached. Since error_correctionY uses MP accumulation, it is not always centered perfectly on the ball. Therefore there is a range of neurons that could represent the top of the ball. If the neurons at (0,13,0) and (0,18,0) are active, and (0,25,0) is not, ballReached will fire. The 18th neuron represents the lowest neuron that can represent the top, while 25 is one higher than the highest. BallReached is connected to confidence, which will only activate after continuous fires from ballReached. Confidence will stop the arm from moving down, and activates closeGrippers, which closes the grippers.
