Robot table logic