QoS metrics-in-the-loop for endowing runtime self-adaptation to robotic software architectures