importpybulletaspimportpybullet_dataimporttimeimportpathlib# Initialize PyBulletphysicsClient=p.connect(p.GUI)p.setAdditionalSearchPath(pybullet_data.getDataPath())# Create ground planeplaneId=p.loadURDF("plane.urdf")# Add texture to the groundimage_path=pathlib.Path(__file__).parent.joinpath("tarmac.png").as_posix()textureId=p.loadTexture(image_path)p.changeVisualShape(planeId,-1,textureUniqueId=textureId)# Set gravity and run simulationp.setGravity(0,0,-9.81)whileTrue:p.stepSimulation()time.sleep(1./240.)