summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/ovision/see/test_ovision.cc
diff options
context:
space:
mode:
authordufourj2006-01-11 16:22:37 +0000
committerdufourj2006-01-11 16:22:37 +0000
commitd4fa4d87eb2040a6da63d5570893218f3dd2dc5c (patch)
tree1dfa7fed7a416e553658215c0db7657ec9884c8a /2005/i/robert/src/ovision/see/test_ovision.cc
parentc2791ab784e384c05c56e9abedfe071f2a4f2177 (diff)
D├ębut d'int├ęgration des sockets
Diffstat (limited to '2005/i/robert/src/ovision/see/test_ovision.cc')
-rw-r--r--2005/i/robert/src/ovision/see/test_ovision.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/2005/i/robert/src/ovision/see/test_ovision.cc b/2005/i/robert/src/ovision/see/test_ovision.cc
index c86c37d..765df94 100644
--- a/2005/i/robert/src/ovision/see/test_ovision.cc
+++ b/2005/i/robert/src/ovision/see/test_ovision.cc
@@ -25,7 +25,8 @@ main(int argv, char **argc)
}
OVision ovision;
ovision.init (aim);
- int t = 50;
+
+ int t = 200;
while (t--)
{
// Prends une image
@@ -42,8 +43,10 @@ main(int argv, char **argc)
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);
+ int x, y, dist;
+ double angle;
+// ovision.showInfo (z[i]);
+ ovision.getLoc (z[i], x, y, angle, dist);
}
usleep (500000);
}