pgdrive icon indicating copy to clipboard operation
pgdrive copied to clipboard

Camera setup

Open smitsavaliya-1258 opened this issue 3 years ago • 1 comments

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

smitsavaliya-1258 avatar Jul 08 '21 07:07 smitsavaliya-1258

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

QuanyiLi avatar Jul 09 '21 08:07 QuanyiLi