Unlocking the Power of Edge Computing for CPS