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 » Fri Dec 08, 2017 4:39 am

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: 4150
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 » Fri Dec 08, 2017 3:08 pm

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 » Fri Dec 08, 2017 3:56 pm

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

Post Reply