GithubHelp home page GithubHelp logo

arshkharbanda2010 / autonomous-drifting Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kanakkabara/autonomous-drifting

0.0 1.0 0.0 550.81 MB

Autonomous Drifting using Reinforcement Learning

Home Page: http://i.cs.hku.hk/fyp/2017/fyp17014/

Python 19.74% CMake 7.80% Jupyter Notebook 57.21% Shell 0.38% MATLAB 3.69% C++ 11.19%

autonomous-drifting's Introduction

Autonomous-Drifting

Autonomous Drifting using Reinforcement Learning

Installation

  1. sudo ./setup_env.sh
  2. cd fyp_ws
  3. catkin_make
  4. . devel/setup.bash (add source [full path to setup.bash] in your .bashrc)
  5. roscd drift_car_env/scripts/
  6. sudo pip install -e .
  7. roscd drift_car/scripts/rl
  8. sudo pip install -r requirements.txt

The first time you open Gazebo, it will download all models from the Gazebo servers, which may take some time. Run rosrun gazebo_ros gazebo to run Gazebo and install models.

Commands

To run Command
ROS Core roscore
Gazebo Simulator roslaunch drift_car_gazebo drift_car.launch
Controller roslaunch drift_car_gazebo_control drift_car_control.launch
Keyboard Teleop rosrun drift_car_gazebo_control teleop_gazebo.py
Joystick Gazebo Controller rosrun drift_car_gazebo_control joystick_gazebo.py
Joystick Car Controller rosrun drift_car_gazebo_control joystick_car.py
Double Dueling Deep Q-Network rosrun drift_car main.py

PILCO

  1. Install MATLAB, enabled with Robotics System Toolbox.
  2. Add src/drift_car/scripts/rl/modules and src/drift_car/scripts/rl/pilco to MATLAB path.
  3. Start the bridge library with rosrun drift_car_env matlab_bridge.py.
  4. To train - drift_car_learn.
  5. To apply learned controller - applyController.

Car Model

To run using the Monster Truck, rosed drift_car_gazebo drift_car.launch and toggle the comments to load truck.xacro.urdf.

autonomous-drifting's People

Contributors

kanakkabara avatar souravbhat avatar rachit2jain 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.