Robotic Edge Resource Allocation for Agricultural Cyber-Physical System