The openAI gym environments have the capability to print results to the screen and also render video. Is there a existing command or a wrapper/monitor that will save the time series data for the state and the actions? I would like to analyze the performance in the time-frequency domain.
I guess I could write the data to a file each time the animation is updated, but curious how others do this.