remove unused is_legged_robot checking