GithubHelp home page GithubHelp logo

juancasado / aliensoccer Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 401.33 MB

Soccer robot

Home Page: http://www.mrblissfulgrin.com

License: GNU General Public License v3.0

C++ 92.77% MATLAB 1.06% C 4.80% Processing 1.34% Shell 0.02%
arduino robocup robotics-competition robotics robot robots scoccer robot-soccer

aliensoccer's Introduction

AlienSoccer

This project was made by a team of three students that I was part of at Complubot.

We built two robots that played soccer coordinately with a ball that emited infrared light. The robots were able to detect the ball as well as recognize certain parts of the field like the white limitational lines on it that the robots couldn't cross. Also they detected the field's walls as well as each other using ultrasounds. Both robots where identically built and the operated with the same software, anyway we had different game modes like goalkeeper or player to modify their behavior.

View in prezi (Spanish)

Main caracteristics

  • High modularity: the robots had eight processors distributed along them, each one was in charge of a specific task, making every part of the robot independent of the others. We detected wich parts where connected to the robot and operate eith them. Also one independant part could make all its functionality without the others. This made much easier the building procces because we could work in multiple parts of the robot at the same time, also testing them was faster. If one part was damaged during a game we could replace it completely with a new one in less than a minute, also the same part could operate in any robot.
  • Friendly interface: the robots had a set of buttons, a cirular array of leds and a speaker so at any moment we could be displaying whatever the robots were seeing by their sensors. Having a nice interface was critical mainly because it made testing much easier and faster.
  • Fast processing: We had had eight Arduino processors distributed along each robot so we where doing hadrware parallelism at any time, the robots could reach a max cycle of sensor refresing of 50ms including processing the information, and decision making.

Parts of the robots

  • Compass: The robots could know where they were facing to target the enemy goal.
  • Ultrasounds: The robots could measure distances of the walls and detect objects.
  • Ball sensor: Each robot had a "donut" of sensor arroun it, the function of this "donut" was to determine the possition and distance of the ball.
  • UI: thanks to a set of buttons, a speaker and a circular array of leds we could "talk" to the robot.
  • Floor sensors: We had four arrays of six sensors each that could read the wite lines of the field.
  • Motors: Along with the ball sensors this was one of the critical parts of the robot. The robots had for motor each disposed in an X form to make an omnidirectional platform. Each motor was ruled by one proccesor wich made PID control to the motor, the four motor processors were ruled by another one wich made PID control with the facing possition and the ball position and distance to decide the target velocities of the motors, the processors comunicated by i2c.
  • Main board: we had an arduino Mega as master of all the other seven processors, here the robots made the most critical decissions.

Mr.BlissfulGrin

Complubot

Promotional video

Imperdibles2.0 Imperdibles2.0 Share the video with: https://youtu.be/aCtYLtXQVko

Fist tests

FistTest

Share the video with: https://youtu.be/rDMKiselTD4

Images

Complubot Complubot Complubot Complubot Complubot Complubot Complubot Complubot Complubot Complubot Complubot Complubot Complubot

Project done by Juan Casado Ballesteros

Mr.BlissfulGrin

aliensoccer's People

Contributors

juancasado avatar

Stargazers

 avatar  avatar

Watchers

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