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

accessing camera for RL #30

Closed
JGittles opened this issue Apr 10, 2021 · 2 comments
Closed

accessing camera for RL #30

JGittles opened this issue Apr 10, 2021 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@JGittles
Copy link

Hi. I was trying to figure out how I can access the depth camera stream for some RL applications.

is there any documentation on how I can access this information? I noticed older iterations had a __dev.py folder with a list of features but the newest master doesn't seem to contain this.

Thanks!

@JacopoPan JacopoPan added the documentation Improvements or additions to documentation label Apr 10, 2021
@JacopoPan
Copy link
Member

Hey @JGittles,

you can simply use class VisionAviary (look at its observation space)

The obs returned by obs, reward, done, info = env.step(..), should include a Box(H,W) for floats, representing the depth information, under obs['drone_id']['dep']

Some of the options with which those frames are captured (frequency, resolution) are specified in BaseAviary

#### Create attributes for vision tasks ####################

@JGittles
Copy link
Author

Awesome thanks! I'll give it a look.

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

No branches or pull requests

2 participants