GithubHelp home page GithubHelp logo

rover's Introduction

rover

Python Code and other info for a 4 wheeled robot controlled by a Raspberry Pi.

I'm new to robotics and Python, but not to computers and programming. I'm definitely learning a lot.

##Updates October 29, 2015

  • Rover now uses move2.py to move forward and backward 2 seconds using 4 wheels. An improvement over move.py which is monolithic, move2.py includes functions moveForward(intTime) and moveBackward(intTime) to move the rover for a period of seconds. My first Python functions!

November 7, 2015

  • wrote moveturn.py to test turning
  • purchased a Mental Beats battery back for untethered greatness!
  • seems not to have enough power to turn
  • added turnLeft(intTime) but it is actually a right turn. Will fix it later.
  • Pin 7 controls left motors in forward direction
  • Pin 11 - Left motors in backward direction
  • Pin 15 - Right side motors forward
  • Pin 13 - right side motors backwards

April 18, 2016

  • Fixed left/right turn function names
  • Turns appear underpowered on carpet, but probably need to by a Pi Servo Hat as the Raspberry Pi is known to have inaccurate PWM signals.
  • Created rover.py as a module to store movement functions.
  • Wrote backforth.py to use command line argument for number of repetitions and it imports rover.py
  • square2.py moves the rover in a square where the robot travels 2 seconds in each direction. Slight problem with turns but may be fixed with Pi Servo Hat.

rover's People

Contributors

rickhenderson avatar

Stargazers

 avatar

Watchers

 avatar Diana 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.