Mar 11, 2022
Openpilot common/basedir.py
This library gets the path to the base directory and stores the pathname in BASEDIR.
I think that PC is a class that possesses methods to return information about the system running Openpilot. An analysis of PC is outside of the scope of this short article.
If there is a PC variable instantiated I think that the persist path will be created with the name: /absolutepath/.comma/persist. Else, the persist path will just be /persist .