Git Product home page Git Product logo

rl_racer's Introduction

RL_Racer

Ros impelmnation of deep learning tecniques for robot naviagation and facial recognition

Prerequisites

Have ROS meliodic enviroment installed

Installation Guide(Facial Recognition):

pip install face_recognition

pip install opencv-python (takes ~20 minutes)

pip install numpy

chmod +x [Files name]

Installation Guide(Deep learning navigation training):

I recommend creating a conda environment using python 2.7 for this project.

Follow directions at https://www.anaconda.com/distribution/#download-section to install anaconda

Then:

conda install numpy

conda install pytorch torchvision cudatoolkit=10.1 -c pytorch (change cudatoolkit version as necessary)

Running Guide(Facial Recognition):

  1. be in outermost file

  2. run bu shortcut on a robot

  3. run roslaunch turtlebot3_bringup turtlebot3_rpicamera.launch framerate:=20

  4. rqt_image_view and select the compressed file you should see this

  5. While in RL_racer folder type into terminal $rosrun RL_racer face_finder.py

Running Guide(Deep RL agents)

To launch the gazebo simulation of small_track1 do:

roslaunch turtlebot3_gazebo small_track1.launch

  1. Launching a Deep Deterministic Policy Gradient agent (DDPG)

roslaunch deepRL train_ddpg_agent_multistart.launch

  1. Launching a Soft Actor-Critic agent (SAC)

roslaunch deepRL train_sac_agent_multistart.launch

  1. Drive robot using teleop and store experience

roslaunch deepRL make_experience.launch

  1. Launch an agent and see how it performs without noise

roslaunch deepRL test_agent.launch

rl_racer's People

Contributors

benballintyn avatar landinojr 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.