Page 1 of 1

pybullet: Synthetic Cameras default to open. Is there a way to change this behavior?

Posted: Fri Dec 08, 2017 4:39 am
by elkmug
Upate: I didn't notice there was a dedicated pybullet section. Is there a way I can move this post?

You can close them manually either via window widget or the view menu,
but I'm hoping there's way to set them not to open in the first place

configureDebugVisualizer doesn't appear to have a setting for this.
Am I missing something?

Thanks,

Jeff

Re: pybullet: Synthetic Cameras default to open. Is there a way to change this behavior?

Posted: Fri Dec 08, 2017 3:08 pm
by Erwin Coumans
Can you try the COV_ENABLE_RGB_BUFFER_PREVIEW, COV_ENABLE_DEPTH_BUFFER_PREVIEW, COV_ENABLE_SEGMENTATION_MARK_PREVIEW flags
in configureDebugVisualizer?

enable = 0 or 1

Code: Select all

pybullet.configureDebugVisualizer(pybullet.COV_ENABLE_RGB_BUFFER_PREVIEW,enable)

Re: pybullet: Synthetic Cameras default to open. Is there a way to change this behavior?

Posted: Fri Dec 08, 2017 3:56 pm
by elkmug
All three switches work.
When set to 0 their respective windows do not open and they are not available in the view menu.
When set to 1 they return. :D

Thanks,
Jeff

Re: pybullet: Synthetic Cameras default to open. Is there a way to change this behavior?

Posted: Fri Mar 19, 2021 9:41 am
by mcres
In case someone come accross this post, but is looking for how to completely close the Explore, Test and Params tabs like I did (e.g. for recording videos):

Code: Select all

pybullet.configureDebugVisualizer(COV_ENABLE_GUI, 0)
Additionally, you can also press the 'g' key to toggle.