Git Product home page Git Product logo

sumobots's Introduction

Follow these steps to build the Sumo Robot code for the Arduino.

STEP 1: Import the folder "SumoRobot" inside "Arduino_Library" as a library in Arduino.
To do this open Arduino (now sigh loudly wishing that this was a real IDE) and import the library using "Sketch" > "Include Library" > "Add .ZIP Library". You can point to the folder (even if it is not a zip file) and Arduino will import it. Arduino will copy this library to a different folder, the location of which depends on your OS. Make sure you make changes to files in this location only otherwise Arduino will not pick up the changes.

STEP 2: Make sure that you have included the correct robot header file in the SumoRobot.cpp file
Open the SumoRobot.cpp file in your favourite text editor (Notepad, etc)
Look for the line #include "Robot1Config.h"
Here, we are using the Robot1Config.h file to define the pins for the robot. If the pins listed on the robot config file do not match the ones on your robot, you need to change them in the file or use a different file.

STEP 3: Open any Arduino project from the "Arduino_Projects" directory with Arduino and load it to your robot.





PROJECTS:
1) Manual: Use the "Manual" project to manually drive the robot and debug it using the Android app
2) StayInside: The "StayInside" project has code that makes the robot stay inside the ring

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.