mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-11 02:15:41 +00:00
Update video_sync_mp4.py
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user