GithubHelp home page GithubHelp logo

sw1989 / daisi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from red-panda-productions/daisi

0.0 0.0 0.0 521.15 MB

License: GNU General Public License v2.0

Shell 0.02% C++ 81.72% Python 2.91% C 7.24% XSLT 0.13% TeX 1.67% HTML 1.27% NSIS 0.37% CMake 4.45% GLSL 0.05% Roff 0.16%

daisi's Introduction

unit-tests-windows unit-tests-linux integration-tests-windows coverage-windows coverage-linux linter

DAISI

Driving Assistance Interface for Simulated Interventions.

A video showcasing the project:

DAISI Showcase

Description

DAISI is a driving simulator integrated with an intervention interface. Driving intervention algorithms can be hooked into the simulator and can take over control from the user, or give warnings.

Getting Started (Users)

The latest released version can be found under Releases. Download the version for your OS (Release version is recommended) and launch the installer.

Getting Started (Developers)

DAISI is a CMake project; setting it up is easy, as long as all of the dependencies are installed correctly.

Prerequirements

  • CMake 3.15 or higher
  • Boost 1.79.0 or higher

Windows

  • MSVC v142 - VS 2019 C++ x64/x86 build tools
  • Windows 10 SDK (10.0.19041.0)
  • C++ CMake tools for windows

All other dependencies are in 3rdParty

Linux

  • GCC 11
wget https://github.com/red-panda-productions/ipc-lib/releases/download/v1.1.0/ipclib.deb
sudo apt install ./ipclib.deb libplib-dev libexpat1-dev libopenscenegraph-dev freeglut3-dev libvorbis-dev libsdl2-dev libopenal-dev libenet-dev libjpeg-dev libpng-dev libcurl4-openssl-dev libmysqlcppconn-dev libmsgpack-dev ninja-build

Optional for testing:

  • A local MySQL database with:
    • Username: SDATest
    • Password: PASSWORD

Installation

CLI

  1. Clone the repository
git clone https://github.com/red-panda-productions/speed-dreams.git
  1. Configure CMake
cmake -B './build' -G Ninja
  1. Build
cd build
cmake --build .
  1. Optionally run the tests
ctest -V

CLion or Visual Studio

  1. Clone the repository
git clone https://github.com/red-panda-productions/speed-dreams.git
  1. Open speed-dreams/source-2.2.3
  2. Configure your project to use x86 compiler
  3. Wait for CMake configuration to finish
  4. Use build all, do not assume CLion or Visual Studio will correctly figure out which files have changed, they seem to have trouble understanding the relations between the different modules

CMake options

  • COVERAGE_OUTPUT_FOLDER=PATH where to generate the coverage run scripts. Default: speed-dreams/source-2.2.3
  • OPTION_PACKAGING=BOOL whether to configure the installer generator or not. Default: ON
  • OPTION_INTEGRATION_TESTS=BOOL whether to configure the integration tests. Default: OFF
  • OPTION_SD_CMAKE_BUILD_LOGS=BOOL whether to show debug logs while configuring cmake. Default: OFF

Usage

One example algorithm is shipped with the source code and can be found in speed-dreams/source-2.2.3/data/blackbox. Note that this is windows only, for more samples or to compile one for linux go to SDALib.

To start an experiment with a blackbox select the blackbox executable and start the run. The blackbox will automatically be started and connected to DAISI.

Documentation can be found here.

Project structure

The src/simulatedDrivingAssitance folder contains most DAISI specific code and tests.

Code responsible for managing the connection to the driving algorithms can be found in src/simulatedDrivingAssitance/backend.

Code responsible for loading intervention settings can be found in src/simulatedDrivingAssitance/frontend.

Acknowledgments

This project is a fork of the Speed Dreams project. All changes to their code are documented in CHANGES.txt.

daisi's People

Contributors

kungfudonkey avatar larsdekwant avatar sjoeman1 avatar suppergerrie2 avatar voidleech avatar shoekzema avatar lucasdissie avatar noutheesink avatar sindarin27 avatar meaganium avatar klieverse avatar maikvink avatar evavankessel avatar casalderhout avatar

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.