Giter Site home page Giter Site logo

carcalibration's Introduction

carCalibration

Table of Contents

  1. Offline Table
  • Throttle Model
  • Brake Model
  1. Online Model
  • Throttle Model
  • Brake Model

Description

carCalibration will show you how to build a data-driven longitudinal control system by machine-learning.

Dependency

  • numpy >= 1.15.4
  • pandas >= 0.22.0
  • scipy >= 1.2.0
  • tensorflow >= 1.7.0
  • keras >= 2.1.6
  • python3
if you wish to use matplotlib or plotly then you should use
  • matplotlib >= 2.2.2
  • plotly >= 2.5.1

Usage

Input Csv

  1. From Pacmod You need accel, brake, speed, steer, leftWheelSpeed, rightWheelSpeed
%time accel([0, 1]) brake([0, 1]) speed[m/s] steer[rad] leftWheelSpeed[rad/s] rightWheelSpeed[rad/s]
0 0 0.4 0 0.2 0 0
... ... ... ... ... ... ...
  1. From Imu You need x, y, z direction acceleration and pitch angle
%time x[m/s^2] y[m/s^2] z[m/s^2] pitch[rad]
0 0 0 -9.8 0
.... .... .... .... ....
  • Prepare your csv File
  • copy csv file under the data directory
  • run the following command python src/main.py

Output Csv

  • Result will output in the 'result/' directory
  • Output csv file will be below. You will get two type csv. (Brake and Throttle)
command(Throttle or Brake) speed[m/s] accceleration[m/s^2]
0.0 0 0.0
.... .... ....

References

https://arxiv.org/abs/1808.10134

carcalibration's People

Contributors

purewater0901 avatar jiang0503 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.