Replies: 2 comments
-
There is an option to disable mouse picking entirely, would that help?
It is different from resetDebugVisualizerCamera (in the other issue), but perhaps there is some bug/inference between mouse pick and getCameraImage. |
Beta Was this translation helpful? Give feedback.
-
I indeed saw that mouse picking could be disabled, but it's a cool feature and I'd rather keep it. I wondered if the two could be connected, I'll eventually investigate that, see if I can avoid that interference. Even though its a different method, do you know why the resetDebugVisualizerCamera call interferes with mouse picking ? It could be a good clue to understand the problem at hand. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Erwin,
I noticed a weird behavior while trying to wrap the generation of segmented images in the qiBullet project.
When I call the getCameraImage method with the ER_SEGMENTATION_MASK_OBJECT_AND_LINKINDEX flag, mouse picking operations behave weirdly (as if more energy was added to the constraint, see gif below).

If I use the ER_NO_SEGMENTATION_MASK flag, the mouse picking behaves fine (see gif below).

It seems similar to what your describe in #1958, more precisely in your last answer.
You can find the snippet I used to generate the gifs below. In this snippet, qiBullet is only used to spawn the Pepper robot, I exposed the camera related code in the getImageTest method. I also tested with the humanoid provided in pybullet_data/humanoid/humanoid.urdf, I obtain the same behavior
Beta Was this translation helpful? Give feedback.
All reactions