summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/ovision/see/genct.cc
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/ovision/see/genct.cc')
-rw-r--r--2005/i/robert/src/ovision/see/genct.cc36
1 files changed, 36 insertions, 0 deletions
diff --git a/2005/i/robert/src/ovision/see/genct.cc b/2005/i/robert/src/ovision/see/genct.cc
new file mode 100644
index 0000000..aae2530
--- /dev/null
+++ b/2005/i/robert/src/ovision/see/genct.cc
@@ -0,0 +1,36 @@
+// genct.cc
+// robert - Programme du robot APBteam
+// Copyright (C) 2005 Olivier Gaillard
+
+#include <iostream>
+#include <vector>
+#include <string>
+
+#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;
+}
+
+