Giter VIP home page Giter VIP logo

deadreckoning's Introduction

DeadReckoning

Code for Dead Reckoning with 2 mice

For setting up the Raspberry Pi with laptop the following steps must be followed -

  1. Install VNC Viewer
  2. Install Putty
  3. The links to installation and detailed steps are given here - https://beebom.com/how-use-windows-laptop-as-monitor-raspberry-pi/

To start using the evdev module -

  1. Install evdev by the command - sudo apt-get install -y python3-evdev
  2. Install evtest by the command - sudo install evtest

The evtest module is used to get the port number of the mice. The evdev module is used to read data from the mice.

The code has three files -

  1. calib.py - Python file for Calibration that gives out X1, Y1, X2, Y2. It can be used for calibrating the DPI of mice as well as for calculating the distance between mice.
  2. dr.py - Dead Reckoning file that gives out X, Y and Theta as the mouse moves.
  3. motor_dr.py - Python file which integrates the function of running the motor as well as dead reckoning. This can be extended for purpose of curve following.

deadreckoning's People

Contributors

pranavadlinge avatar

Watchers

 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.