Giter VIP home page Giter VIP logo

ackermann-line-follower-robot's Introduction

Ackermann Line Follower Robot

This is a simulation of a line follower robot that works with steering control based on Stanley: The Robot That Won the DARPA Grand Challenge and computer vision techniques.

The steering control is applied to a vehicle that has an embedded camera and uses Ackermann steering mechanism. The simulation was made using the CoppeliaSim simulator EDU version 4.0.0.

Alt text

Requirements

  • CoppeliaSim
  • Python 3.8
  • OpenCV

Install Python OpenCV:

pip install python-opencv

How to Run

To run this simulation, download CoppeliaSim and clone this repository. Copy the CoppeliaSim remoteApi library file present in CoppeliaSim files to the simulation directory in this repository. This file is usually found inside the CoppeliaSim/programming/remoteApiBindings/lib/lib folder.

The library file is different for each operating system, so you will need to copy different files if you are on different systems. If you are using Linux, copy the remoteApi.so file. But, if you are using Windows or MacOS, copy the remoteApi.dll file or copy remoteApi.dylib file, respectively.

For instance, with Ubuntu 18 Linux:

git clone https://github.com/lucasmazz/ackermann-line-follower-robot.git
cp CoppeliaSim/programming/remoteApiBindings/lib/lib/Ubuntu18_04/remoteApi.so ackermann-line-follower-robot/simulator

Then, open the simulation scene simulation.ttt present in the root folder of this repository with CoppeliaSim simulator. Next, run the run.py script also present in the root folder of this repository, as follows:

cd ackermann-line-follower-robot
python run.py --debug --speed 20 --k 0.2

Enjoy.

ackermann-line-follower-robot's People

Contributors

lucasmazz avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

mdecourse zazgf

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.