summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/ovision/see/test_ovision.cc
diff options
context:
space:
mode:
authordufourj2005-06-22 08:24:48 +0000
committerdufourj2005-06-22 08:24:48 +0000
commit58c6fc6fa7beb2e8a57f49b94e95c9c0eb3e08b8 (patch)
tree6149b4d1731a24202653cd84e3cb6dd9e7d75215 /2005/i/robert/src/ovision/see/test_ovision.cc
parentcc275044597eef4136ebc48090510da365368d0f (diff)
Correction du calcul de la position de la quille et ajout de log
Diffstat (limited to '2005/i/robert/src/ovision/see/test_ovision.cc')
-rw-r--r--2005/i/robert/src/ovision/see/test_ovision.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/2005/i/robert/src/ovision/see/test_ovision.cc b/2005/i/robert/src/ovision/see/test_ovision.cc
index 25e7e88..c86c37d 100644
--- a/2005/i/robert/src/ovision/see/test_ovision.cc
+++ b/2005/i/robert/src/ovision/see/test_ovision.cc
@@ -38,6 +38,13 @@ main(int argv, char **argc)
// double x, y;
// if (ovision.getBall (x, y))
// std::cout << x <<"----" << y << std::endl;
+
+ std::vector<Zone> &z = ovision.getSkittles ();
+ for (unsigned i=0; i < z.size (); ++i)
+ {
+ int x, y, dist, angle;
+ ovision.getLoc (z[i], x, y, dist, angle);
+ }
usleep (500000);
}
return 0;