From fcc862dc34b03f78b5a09e217b7c74149d7b66ec Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:35:18 +0530 Subject: [PATCH] Update video_sync_mp4.py --- examples/pybullet/examples/video_sync_mp4.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/pybullet/examples/video_sync_mp4.py b/examples/pybullet/examples/video_sync_mp4.py index ba8956bec..3859de538 100644 --- a/examples/pybullet/examples/video_sync_mp4.py +++ b/examples/pybullet/examples/video_sync_mp4.py @@ -1,8 +1,11 @@ import pybullet as p import time +import pybullet_data #by default, PyBullet runs at 240Hz p.connect(p.GUI, options="--mp4=\"test.mp4\" --mp4fps=240") + +p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.configureDebugVisualizer(p.COV_ENABLE_SINGLE_STEP_RENDERING,1) p.loadURDF("plane.urdf")