Skip to content
Mixed Team Communication protocol
C++ Makefile C
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of fumanoids:master.
Latest commit ab31e26 Jun 25, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Added orientation to the documentation Dec 2, 2016
Makefile handling of implicit signed/unsigned conversions improved Aug 10, 2015 README structure added and infos on using the demo Dec 14, 2013
mitecom-handler.cpp Use 0 as invalid robotID Aug 6, 2015
mitecom-handler.h initial public version, including example code (but no documentation … Dec 14, 2013
mitecom-main.cpp extending report Aug 10, 2015
mitecom-network.cpp document network functions Aug 10, 2015
mitecom-network.h handling of implicit signed/unsigned conversions improved Aug 10, 2015
mitecom-roledecider.cpp add roledecider Jan 24, 2014
mitecom-roledecider.h add roledecider Jan 24, 2014

Mixed Team Communication protocol

TODO: Introduction





Design Principles


Running the example

To compile the example, check out the project and type make. Next, start the created mitecom binary. It requires 4 parameters: the local port to use, the port to broadcast to, the ID of the robot and the ID of the team. You need to start at least two instances.

If you have multiple computers, just run ./mitecom 12321 12321 X 1 (replace X with individual robot IDs on each computer). If you only have one computer, you can swap ports by running

./mitecom 12321 12345 1 1

in one terminal and

./mitecom 12345 12321 2 1

in another.



File Overview

The following files are provided:

mitecom-data.h         Contains the definition of data structures and enums
mitecom-handler.*      De/serializing functions

mitecom-network.*      Example network handling code
mitecom-roledecider.*  Example (common) logic to decide a role
mitecom-main.cpp       Example main function demonstrating the functionality

To adapt the protocol, you need at least mitecom-data.h and mitecom-handler.*. The other functionality may already be available in your framework, alternatively you can use the logic from the example code (network, main).

Related Works



We welcome contributions to this project.


This project was sponsored under a project grant of the RoboCup Federation.

You can’t perform that action at this time.