I only deleted the code that cfg.events.pop("push_robot", None):
if play:
# Effectively infinite episode length.
cfg.episode_length_s = int(1e9)
cfg.observations["actor"].enable_corruption = False
#cfg.events.pop("push_robot", None)
But during play, the robot did not receive external force.
But during train,the robot is pushed.