├── client - The DriveBuild client (which is also available as Python package)
├── examples - A simple example of a formalized test
├── levels - The custom BeamNG level
├── mainapp - The MainApp
├── simnode - The SimNode
└── ai_stub - Basic scheme for AIs
DriveBuild uses PostgreSQL.
- Install PostgreSQL
- Open psql command command line
- Create a database (
CREATE DATABASE drivebuild;
) - Create a database user and grant access (
CREATE USER drivebuild WITH LOGIN SUPERUSER CREATEDB CREATEROLE INHERIT NOREPLICATION CONNECTION LIMIT -1 PASSWORD 'password';
) - Connect to the database (
\c drivebuild
) - Apply database scheme (
\i absolute/path/to/tableScheme.sql
) NOTE: The path is required to have slashes in its path even though being on Windows - Create DriveBuild user (
INSERT INTO users VALUES ('test', 'test');
)
The instructions for installing the MainApp and SimNodes as well as for using the client can be found in the appropriate subdirectories.
All projects come with requirements.txt
files which specify all dependencies.