pgdrive
pgdrive copied to clipboard
Camera setup
did anyone have proper code to setup rgb camera in python. As in documentation only little discerptions is given.
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