The effects of switching time on shared human-robot control