Skip to content

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

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

Closed
BruceGeLi opened this issue Jan 20, 2025 · 1 comment
Labels
stale No activity. Will be closed soon.

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

Copy link

stale bot commented Apr 26, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale No activity. Will be closed soon. label Apr 26, 2025
@stale stale bot closed this as completed May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale No activity. Will be closed soon.
Projects
None yet
Development

No branches or pull requests

1 participant