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

Camera setup #466

Open
smitsavaliya-1258 opened this issue Jul 8, 2021 · 1 comment
Open

Camera setup #466

smitsavaliya-1258 opened this issue Jul 8, 2021 · 1 comment

Comments

@smitsavaliya-1258
Copy link

did anyone have proper code to setup rgb camera in python. As in documentation only little discerptions is given.

@QuanyiLi
Copy link
Collaborator

QuanyiLi commented Jul 9, 2021

Hi, Smitsavaliya

We are going to refactor the whole project, and thus the doc is still an old version. PGDrive supports camera observation on personal laptops and even headless clusters, but the code and config are too confusing to make this function public, which we will address soon. But I prepare a demo script for you to use the image observation, we have tested the image observation and got some agents who can drive with RGB information. Note that it is only a workaround, we will release a new version with an updated document in one month, which is cleaner and easier to use.

Directly pull the main and a script named pgdrive/tests/vis_functionality/vis_rgb_cam.py is a demo

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

2 participants