Giter VIP home page Giter VIP logo

drivebuild's Introduction

DriveBuild

PyPI - Package PyPI PyPI - Python Version PyPI - Wheel

Directory structure

├── 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

Setup DBMS

DriveBuild uses PostgreSQL.

  1. Install PostgreSQL
  2. Open psql command command line
  3. Create a database (CREATE DATABASE drivebuild;)
  4. Create a database user and grant access (CREATE USER drivebuild WITH LOGIN SUPERUSER CREATEDB CREATEROLE INHERIT NOREPLICATION CONNECTION LIMIT -1 PASSWORD 'password';)
  5. Connect to the database (\c drivebuild)
  6. 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
  7. Create DriveBuild user (INSERT INTO users VALUES ('test', 'test');)

Install

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.

drivebuild's People

Contributors

trackersb avatar timbleman avatar masskro0 avatar

Stargazers

 avatar  avatar Alessio Gambi avatar

Watchers

Alessio Gambi avatar  avatar

Forkers

timbleman

drivebuild's Issues

Self intersecting lane markings

Is your feature request related to a problem? Please describe.
When roads are self intersecting their road markings are potentially as well. Currently SimNodes throw some internal Python error and generated the whole environment leaving out the affected road markings.

Describe the solution you'd like
Either find a method which does not include the generation of offset lines or detect potential points where road markings are self intersecting beforehand and generate multiple separate road markings which smoothly follow each other.

Describe alternatives you've considered
This feature could also be solved by the introduction of crossings in the road markings.

Allow keeping the movement mode

Currently each waypoint is forced to specify a movement mode. It would be more convenient to allow to "keep" the previously specified movement mode.
However, the initial state must still set a movement mode.

Problems connecting to the psql database

Hello,

I have problems running DriveBuild on my main computer. I have installed PostgreSQL multiple times now and configured it and app.cf and config.py multiple times now, however as soon as i run the example start.py I get the error "Running tests errored: Login or password incorrect.". The psql database is the same as on my laptop, username and password are both 'test'. I also looked at the place in the code where the error is thrown (AIExchangeService.py) and printed out the password and username, both are test aswell. Encoding is set to UTF-8.

Problems running DriveBuild on my laptop

Hello,

I have installed DriveBuild on my laptop and can run xml files, roads and waypoints are correctly displayed. However, as soon as i attach a camera to the vehicle BeamNG crashes after just a few seconds. I could imagine, that this is not an issue of DriveBuild, but BeamNG, there is a separate branch for my Intel HD 620 GPU for the regular Steam version.

Example for trace collection

Is there an example how the trace collection works to get information after a simulation run? (E.g. for determining the driving distance)

Car does not drive

Hello,

I installed DriveBuild according to the installation instructions. I can run DriveBuild without any errors and my created XML files have the right format, since a colleague of mine tested it and they work for him. The problem is that my car can neither drive in manual mode nor in _BEAMNG mode. My car spawns in the middle of the road and the waypoints are set right with enough tolerance. The ego car just stands in his spawn location and nothing happens. The moose test example doesn't work either, I have the same problem there. Neither mainapp nor simnode throw any errors. What could be the cause?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.