Task-and-Motion Planning