Realising Relative Autonomy and Adaptation in Smart Objects Systems