Real-time digital twin with reinforcement learning for industrial manipulator applications