logger_mp.info(f"==> episode directory does not exist, now create one.\n")
self.data_info()
self.text_desc()
self.is_available=True# Indicates whether the class is available for new operations
# Initialize the queue and worker thread
@ -73,12 +80,6 @@ class EpisodeWriter():
},
"sim_state":""
}
deftext_desc(self):
self.text={
"goal":"Pick up the red cup on the table.",
"desc":"Pick up the cup from the table and place it in another position. The operation should be smooth and the water in the cup should not spill out",
"steps":"step1: searching for cups. step2: go to the target location. step3: pick up the cup",