Digital twin problem

I am trying to control both real and virtual robot in Issac sim simultaneously and I do that. But the robot gets initialized with the simulated, which makes real robot not safe. How can i used the real robot joint state and update in simulation instead of other way around (simple-joint-control from sdk used for reference). Code attached below:

simple_joint_control.ipynb (15.1 KB)

Thank you