Git Product home page Git Product logo

ssl-client's Introduction

ssl-client

Client base code #ssl #robocup #ssl-vision #grSim

Description

This repository was created for the purpose of helping beginner teams and include the files in another Qt project. This project is capable of:

  • receive field and robot information from ssl-vision
  • receive field and robot information from grSim
  • Send commands to robots on grSim

Almost every material present here can be found at:

RoboCup/ssl-vision

RoboCup/grSim

WarBots-RoboCup-SSL

Feel free to ask and contribute too :)

Dependencies

Tested with: Qt 5.15.1, protoc 3.6.1, 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, run the script on scripts folder.
  2. Go to folder /include/ssl-client/protobuf-files/pb/proto and run:
sh compile.sh
  • You can intentionally run the project without running the script above. The expected behavior is that the first build fails, as in the image below:
  • Then go to Build -> Clean All Projects for All Configurations and rebuild after this step;
  • After that, the code should run normally. In the first build the software will identify the absence of the files generated by the compile.sh script and will generate the files automatically. Unfortunately, this process is done after the first build, so it is necessary to clean and rebuild the project.

Usage example

  1. Open the grSim.

  2. Turn off all robots.

  3. Put them all out of bounds.

  4. Get one of the blue team robots, put it inside the field and turn on.

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

  6. In Qt Creator IDE open the project thru the ssl-Clienty.pro file.

  7. Inside main, on RoboCupSSLClient declaration, paste the Vision Multicast adress and the Vision Multicast port inside constructor.

  1. Inside main too, paste the Vision Multicast adress and the Command listen port inside setPortAndAddress if you want to send some info to grSim.

  1. Run the Qt Project!

Author: Renato Sousa

ssl-client's People

Contributors

joseviccruz avatar lhcavalcanti avatar renatoosousa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ssl-client's Issues

Problema em mexer o rob么 no simulador

Bom dia!
Eu segui o passo-a-passo que est谩 no Read-me, mas tive dificuldade em fazer o rob么 se mover no grSim, porque o final do passo-a-passo n茫o deixa claro que 茅 necess谩rio executar o ./client, ap贸s ter seguido todos os passos.
Assim, ap贸s seguir todos os passos, a 煤nica coisa que foi poss铆vel fazer foi abrir o grSim.

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.