Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to read the layer information in object visualization, and how to read properties? #395

Open
BruceGeLi opened this issue Jan 20, 2025 · 0 comments

Comments

@BruceGeLi
Copy link

Dear developers,

Hi, I am working on some development on RLbench, I would like to read the visualization layer information using your python API, but I could not find how. More generally speaking, how to use your API to read objects' properties?

In the latest official python API (https://manual.coppeliarobotics.com/en/apiFunctions.htm), I can easily do this property reading by calling several getProperty functions, given object id and the property string. For example, for layer reading, I can call
sim.getIntProperty(idx, "layer")

In you API, only the object is accepted and the returned value need to do some bit operation. These bit operation for me is quite confusing, and I could not find any documentation for it.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant