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

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
elkmug
Posts: 8
Joined: Fri Nov 10, 2017 7:05 pm

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

Post 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
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

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

Post 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)
elkmug
Posts: 8
Joined: Fri Nov 10, 2017 7:05 pm

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

Post 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
mcres
Posts: 2
Joined: Wed Jan 27, 2021 1:40 pm

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

Post 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.
Post Reply