v0.1.9
This commit is contained in:
@@ -25,8 +25,10 @@ class MujocoConfig(Config):
|
||||
class render:
|
||||
save_video = False
|
||||
video_fps = 30
|
||||
height = 480
|
||||
width = 640
|
||||
height = 480
|
||||
# width = 1920
|
||||
# height = 1080
|
||||
|
||||
class domain_rand:
|
||||
# With randomization
|
||||
|
||||
@@ -145,7 +145,7 @@ class MujocoSimulator:
|
||||
vid_path,
|
||||
fps=self.cfg.render.video_fps,
|
||||
)
|
||||
self.vid_frame_skip = int(1 / (self.cfg.render.video_fps * self.sim_dt * 2))
|
||||
self.vid_frame_skip = int(1 / (self.cfg.render.video_fps * self.sim_dt))
|
||||
logger.info(f"Simulation video saved at: {vid_path}")
|
||||
self.vid_count += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user