//Calculate number of loops needed to meet time iteration
currentTimeThreshold = (int) (RobotMap.CURRENT_LIMIT_TIME_THRESHOLD_SECONDS/(period*1000));
//initialize NPoint Averager for each channel
for(int i=0; i<NUM_OF_PDP_CHANNELS; i++)
channelCurrent[i] = new NPointAverager(currentTimeThreshold);
Current time threshold is not greater than or equal to 1, 1 divided by a very large number, (1/20*1000).
Current time threshold is not greater than or equal to 1, 1 divided by a very large number, (1/20*1000).