Text this: ROSA: a knowledge-based solution for robot self-adaptation