Skip to content

🎮 Client base code to receive and control VSS robots in FIRA simulator.

Notifications You must be signed in to change notification settings

robocin/fira-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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:

About

🎮 Client base code to receive and control VSS robots in FIRA simulator.

Topics

Resources

Stars

Watchers

Forks

Languages