GithubHelp home page GithubHelp logo

asl_robot's Introduction

ASL Robotics Project


This is a college course robotics project. Its purpose is to learn more about robotics, AI, mobility, computer vision, and decision making.

Requirements

RPi.GPIO Module: The mobility.py was designed with a Raspberry Pi in mind. If you intend to use this without a Pi, you will need to find a workaround for this package.

Raspberry Pi: This project was developed and tested using Raspberry Pi OS for the mobility testing,

Skid-Steer Mobile Robot: We used the Yahboom Raspberry Pi G1 Tank when designing and testing this project.

mobility.py


Contains the Mobility class that controls the hardcoded movements of the bot with an OOP paradigm.

Parameters
l_forward → The pin number that controls the left forward motor
r_forward → The pin number that controls the right forward motor
l_reverse → The pin number that controls the left reverse motor
r_reverse → The pin number that controls the right reverse motor
l_velocity → The pin number that controls the left velocity motor
r_velocity → The pin number that controls the right velocity motor

Functions
forward → Moves the bot forward
backward → Moves the bot backward
turn_right → Turns bot 90 degrees to the right
turn_left → Turns bot 90 degrees to the left
go_right → Moves the bot to the right
go_left → Moves the bot to the left
square → Moves the bot in a square pattern
spin → Moves the bot in a spin pattern
motor_test → Tests each wheel motor in turn
clean_up → Cleans up all the GPIO pins (should be updated to only clean motor pins)
reset_pins→ Allows new pins to be used for motors

mobility_test.py


Creates a mobility object based on the hardcoded GPIO numbers and allows the user to input a letter to test the movements.

Commands
test → Runs the motor_test function to test each motor.
x → Exits the program
f → Runs forward function
b → Runs backward function
l → Runs go_left function
r → Runs go_right function
c → Runs the square function
s → Runs the spin function

asl_robot's People

Contributors

skal-chin avatar jessycaallen 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.