Robot-assisted elderly care in smart homes