Coder Social home page Coder Social logo

omni_robot's Introduction

Omni Wheeled Robot Control

An omni wheeled robot with configuration as shown below is controlled. Three operations are performed namely

  1. Find the angle of the robot with the wall
  2. Make the robot parallel to the wall
  3. Translate it to a distance of 30cm from the wall

Robot Configuration

This is the configuration of the wheels and form of the robot.

Installation

Download the folder containing the input, output and source files. Alternately input files can be created using the same format as provided. Choose a local directory in your system and add its path.

$ cd /LocalDirectory 
$ git clone https://github.com/nilayoza97/omni_robot.git

Compile and Run

$ make
$ ./omni_control

Method Explanation

  1. To find the angle, simply extend the sensor distance lines and form a rectancle with the inclined robot. The triangle formed with the wall gives you the angle Theta.

  2. The robot is made parallel to the wall by connecting all the wheels which form the circle and then finding the length of the arc to be traced by all the wheels in order to cover an angle Theta with the wall.

  3. Translating the robot to 30cm from the wall requires the current distance of the robot from the wall, which can be found out by using simple geometry as shown. Then give the pulse command to the side motors (as viewed from the top) so that they cover the required distance to bring the robot 30cm away from the wall. The front and rear motors will act as caster wheels in this operation as there is no need for rotation.

Note : The robot rotates from the centre of the body.

omni_robot's People

Contributors

nilayoza97 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.