Skip to content

kpraturu/robocup-software

 
 

Repository files navigation

GT RoboJackets RoboCup SSL Build Status

Join the chat at https://gitter.im/RoboJackets/robocup-software

The Georgia Tech RoboJackets team competes in the annual RoboCup Small Size League (SSL) competition. This repository contains all of the software that we run on the main field laptop and on our robots. More information on how our software works can be found on our documentation page, our wiki or on our website. Also, check out our 2014 qualification video to see our robots in action!

Here is a screenshot of our 'soccer' program: Screenshot of the 'soccer' program

The Competition

The soccer game is played between two teams of six robots each on a field with overhead cameras. The field vision computer processes images from the cameras and sends out (x,y) coordinates of the ball and the robots. Each team has a laptop that accepts the data from the vision computer and uses it to strategize, then send commands to robots on the field.

The official RoboCup site has more information on the competition.

Project Layout

soccer/

The soccer folder contains the code to build the 'soccer' program, which is the main program in control when running our robots.

simulator/

Code for the RoboCup simulator is located here. This allows us to quickly test our soccer strategy on the computer. Keep in mind though that just because something works well in the simulator doesn't mean it'll be the same in real life.

firmware/

The firmware folder contains the code that runs on the robot (soccer/robot) and on the radio base station. See the firmware/robot README for more info.

common/

Code that's shared between the different programs in our project is stored here.

run/

Compiled programs and some configuration files are stored here.

Setup

Here's a quick guide to getting this RoboCup project setup on your computer. We recommend and only provide directions for installing on Ubuntu Linux, Arch Linux, and Mac OS X, although it shouldn't be too difficult to port to other operating systems.

  1. Clone the repository
git clone git://github.com/RoboJackets/robocup-software
  1. Install the necessary software

There are a few setup scripts in the util directory for installing required packages, setting up udev rules, etc. See ubuntu-setup, arch-setup, and osx-setup for more info.

$ cd robocup-software
$ util/<SYSTEM>-setup
  1. Build the project
$ make

We use CMake as our build system and have a simple makefile setup that invokes CMake.

After running make, several programs will be placed in the run folder. See the soccer docs for instructions on running the soccer program.

Documentation

We use Doxygen for documentation. This allows us to convert specially-formatted comments within code files into a nifty website that lets us easily see how things are laid out. Our compiled doxygen documentation can be found here:

http://robojackets.github.io/robocup-software/

Note: The doxygen documentation site above is updated automacally using circle-ci. See our autoupdate-docs.sh file for more info.

Testing

We use gtest for unit-testing our software, which can be run by running make tests. To add a test to be run with the rest of the bunch, add a new file in soccer/tests.

License

This project is licensed under the Apache License v2.0. See the LICENSE file for more information.

About

Georgia Tech RoboJackets software for the RoboCup Small Size League

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 68.7%
  • C 14.1%
  • Python 13.1%
  • CMake 1.1%
  • MATLAB 1.0%
  • Verilog 0.7%
  • Other 1.3%