leggedrobotics / raisimGym

Other
140 stars 45 forks source link

Option to Pan and Save a Recording during policy testing #18

Closed haloted closed 5 years ago

haloted commented 5 years ago

Hi Jemin, Is there an option to pan and to save a recording in RaisimOgre?

Cheers, Ted

jhwangbo commented 5 years ago

The recording is automatically done. Check the data folder. You can delete setYawPitchDist function in the step method to freely move around the camera

Cheers

haloted commented 5 years ago

The recording is done automatically in training at a fixed time. However in testing, there is the option to press the recording button on the panel, that didn't work. And I can freely move the camera by deleting the setYawPitchDist function as described.

jhwangbo commented 5 years ago

can you be more specific? did it give you an error message?

haloted commented 5 years ago

No it didn't give me an error message. I just couldn't find the video file inside the data folder, only the default.yaml and Environmental.hpp files were present.

jhwangbo commented 5 years ago

It now saves the video to the install directory which is not optimal. You can call video recording from python side and directly specify the path