Giter VIP home page Giter VIP logo

train-platform's Introduction

Introduction

Train-Platform is my graduation project which is intended both as a theory reference for scientists to understand related work and as a experiment tool for engineers to practice their controller design.

Features

This project initially tends to study cooperative control theory and methods. Besides this requirement, I spent much time for extensive functions and now this platform includes:

  • dynamics model
  • controller design
  • computer simulation
  • visualization
  • documentation

Configuration

  1. Gurobi

  2. spdlog

After you configure these third-party, you should change address information in makefile.

Getting Started

  1. dp

    make dp_ref
    ./dp_ref
    
  2. leader mpc

    make leader
    ./leader
    
  3. follow mpc

    make follow
    ./follow
    
  4. data-driven mpc

    make data_driven_leader
    ./data_driven_leader
    

File Structrue

train-platform
├─ README.md
├─ db
├─ examples
│  └─ demo
├─ include
├─ logs
├─ makefile
├─ src
│  ├─ calculate
│  │  └─ follow_MPC.cpp
│  ├─ communication
│  ├─ config
│  │  └─ logger.cpp
│  ├─ control
│  │  ├─ follow_controller.cpp
│  │  └─ predictor.cpp
│  ├─ environment
│  │  ├─ read_speed_limit.cpp
│  │  └─ read_speed_max.cpp
│  ├─ model
│  │  └─ dynamic_model.cpp
│  └─ programming
├─ user
│  ├─ analysis
│  ├─ result
│  └─ visualization
└─ utils
   └─ exception

Model

continuous form

$$ \dot{x} = v \tag{1} $$

$$ Ma = -A - Bv-T_fCv^2-F_e+u \tag{2} $$

discrete form

$$ v_{i+1}^2 - v_{i}^2 = 2a_is \tag{3} $$

$$ Ma_i = -A-Bv_i-T_fCv_i^2-F_e+u_i \tag{4} $$

train-platform's People

Contributors

hzn18 avatar

Stargazers

 avatar

Watchers

James Cloos 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.