Skip to content

Latest commit

 

History

History
72 lines (43 loc) · 2.12 KB

README.md

File metadata and controls

72 lines (43 loc) · 2.12 KB

fira-client

Client base code #vss #LARC #ssl-vision #FiraSim

Description

This repository was created for the purpose of RoboCin selection program. This project is capable of:

  • receive field and robot information from FiraSim
  • Send commands to robots on grSim

Almost every material present here can be found at:

RoboCup/ssl-vision

Robocin/FIRASim

Feel free to ask and contribute too :)

Dependencies

Tested with: Qt 5.8.0, protoc 3.x, Ubuntu 20.04 LTS.

First Steps

  1. If you have protobuf installed, check which version you use with the command:
protoc --version
  1. If you do not , follow the instructions in C++ Installation - Unix.

  2. According to its version download the referent in protobuf/tags.

  3. Extract the downloaded file and go to /protobuf-3.6.1/src/ (example version).

  4. Copy the google folder and paste it into /ssl-Client/net

  5. Go to folder /ssl-Client/net/pb/proto/ and run:

sh compile.sh

Obs: when building the program, if something referring to google/protobuf/stubs/common.h has any errors, it will probably be an incompatibility version problem with protobuf (net/google).

Usage example

  1. Open the FiraSim.

  2. Get the Vision multicast adress, Vision multicast port and Command listen port on grSim.

  3. Go to /ssl-Client/main.cpp and paste the Vision Multicast adress and the Vision Multicast port on visionCliente initialization.

  4. Go to /ssl-Client/main.cpp and paste the Vision Multicast adress and the Command listen port on commandCliente initialization.

  5. Fill the function defineObjective with the code to define an objective to each robot.

  6. Run the file compile.sh to compile the code.

  7. Run the bin main.

Contributors: