bullet3
bullet3 copied to clipboard
How to let BulletClient not print "argv[0]=" at initialization
I have pybullet==3.2.5
, and when I try to create a PyBullet client connection via bullet_client.BulletClient(connection_mode=p.DIRECT)
, at the very beginning, it will output "argv[0]=". This could be not very pleasant if I want to build many connections. A minimal example is the following:
import pybullet as p
from pybullet_utils import bullet_client as bc
for _ in range(10):
client = bc.BulletClient(connection_mode=p.DIRECT)
This will output
argv[0]=
argv[0]=
argv[0]=
argv[0]=
argv[0]=
argv[0]=
argv[0]=
argv[0]=
argv[0]=
argv[0]=
Any idea to solve this? Thanks.