Giter Club home page Giter Club logo

linon_sdk's Introduction

About

Linon SDK is drive simulator​ sample. The purpose of it is to create an open source simulation environment.

Summary

Linon SDK consists of Controllor and Simurator (Agent and Enviroment). It provides base of Controlor and Agent. Enviroment expected to be made by User.

Simurator is made by unity. Controllor can be use any language.

The communication method is defined as follows for ease of use.

  • UDP communication is used for continuous information that needs to be conveyed in real time.
  • TCP communication is used for Event signals.
  • MMAP(memory-mapped file) is used to send and receive images.

summary

Quick start

Simurator (Unity)

  1. Install Unity. https://unity3d.com/jp/get-unity/download
  2. Create 3D Project.
  3. Install Package.
    1. Open Project
    2. Assets -> Import package -> custom package
    3. Select /unity/package/AICarSet.unitypackage and Base.unitypackage, and import them.
  4. Create Rode (Option)
    1. Install EasyRoads3D https://assetstore.unity.com/packages/tools/terrain/easyroads3d-pro-v3-469?locale=ja-JP
    2. Create Road
  5. Add car
    1. From Project window, drug and drop Assets -> AICar -> Prehub -> AICarSet.
    2. Adjust car position, move on the road and rotate its direction.

Controllor (Python)

  1. Install Miniconda https://docs.conda.io/en/latest/miniconda.html
  2. Open Miniconda and create vitual env.
  3. Install some librallies.
$ pip install matplotlib pandas numpy
$ conda install -c conda-forge opencv
# option if you want to use AI
$ conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.3 -c pytorch
  1. Install Jupyter Notebook.
$ pip install jupyter
  1. Start Jupyter Notebook.
$ jupyter notebook
  1. Open Sample_Car_controal.ipynb.

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.