Text this: Knowledge-based control with application to robots /