Skip to content
maarten990 edited this page Jun 30, 2012 · 1 revision

Tools

Here you will find a variety of helpful tools to make your life easier.

Color calibration

For color calibration, you can find the GUI calibration tool here.

Usage

  • Load in one or more images
  • select a group of pixels, either by drawing a rectangle or by using the magic wand
  • When using rectangle selection, "Get values" will overwrite any previous threshold values, while "add to values" will add to them
  • The HSV range will appear in the textfield on the right

Pushing code to the Nao

In the "tools" folder of the git repository, you will find "match_preparation.py". This is a Python script which will:

  • prompt for the location of your Naoqi folder (the one containing lib and preferences)
  • prompt for your team-number
  • detect every Nao on your network
  • for every Nao (by name) ask for his player number
  • push the naoqi folder along with a generated naoinfo.txt to each Nao

Requirements

  • the pexpect Python module (can be installed through pip)
  • a Unix-like system with rsync installed (which is most likely installed by default)
  • it might require each Nao to be in your known_hosts, though this needs more testing (should be easy to fix this problem)

Todo

  • rewrite without any OS dependancies (the current version simply calls rsync from the shell)
  • add tab-complete for the filesystem at the naoqi prompt

Clone this wiki locally