// genct.cc // robert - Programme du robot APBteam // Copyright (C) 2005 Olivier Gaillard #include #include #include #include "segmLearn.hh" #include "colorTable.hh" #include "oconfig.hh" int main(int argc, char **argv) { ///////////////////////////////////////////////////////////////////////////////////////// /// Initialisation des classes OConfig *oconfig_; try { oconfig_ = new OConfig; } catch (std::string &e) { std::cerr << e << std::endl; return 1; } ColorTable tab; ///////////////////////////////////////////////////////////////////////////////////////// /// Création de la table tab.create (oconfig_->nnNbColor, true); tab.save (); return 0; }