GitXplorerGitXplorer
p

carCalibration

public
8 stars
8 forks
0 issues

Commits

List of commits on branch master.
Unverified
51de764e0922d00b91ec9094d920c74a9b2d5bf2

Merge remote-tracking branch 'origin/master'

ppurewater0901 committed 6 years ago
Unverified
d73c3d17ad386711986a5f09aecc4b9a4e6e26a6

change output digit

ppurewater0901 committed 6 years ago
Unverified
fd92f37f37f3671e16eab6ae77be4e7e33e96f4a

revise main

jjiang0503 committed 6 years ago
Unverified
1bd377f2f3f9071a961b00fe582268b50e8602a1

revise main file

ppurewater0901 committed 6 years ago
Unverified
a9af260b11bea2e10e5e4ff4dd62853fffffd064

revise main file

ppurewater0901 committed 6 years ago
Unverified
b8dbb4590b1fcc20cf37eac7c4d05cadb7726d66

change file

ppurewater0901 committed 6 years ago

README

The README file for this repository.

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