Added secondary buffer handling
DIRTY: Rover red-ball detection algorithm