summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/ovision/see/ovision.cc
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/ovision/see/ovision.cc')
-rw-r--r--2005/i/robert/src/ovision/see/ovision.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/2005/i/robert/src/ovision/see/ovision.cc b/2005/i/robert/src/ovision/see/ovision.cc
index 8b7b28d..220bd89 100644
--- a/2005/i/robert/src/ovision/see/ovision.cc
+++ b/2005/i/robert/src/ovision/see/ovision.cc
@@ -4,7 +4,7 @@
/// Constructeur
OVision::OVision (bool useSocket)
: oconfig_ (0), img_ (0), colorTab_ (0), segm_ (0), eraser_ (0),
- group_ (0), mag_ (0), step_ (0), aim_ (Group::undefined) //map_ (0),
+ group_ (0), mag_ (0), v4l_ (0), step_ (0), aim_ (Group::undefined) //map_ (0),
{
// socket_ = 0;
}
@@ -31,18 +31,18 @@ OVision::init (const Group::ZoneType aim)
// Initialisation des classes
if (aim == Group::redSkittle)
{
- colorTab_ = new ColorTable ("../runtime/rc/colortableGreen.z");
+ colorTab_ = new ColorTable ("../runtime/rc/colortableRed.z");
oconfig_->nnInfluLum = 0.4;
oconfig_->groupColor.clear ();
ObjectColor tmp;
tmp.label = "redSkittle";
- tmp.color = 0;
+ tmp.color = 3;
tmp.type = aim;
oconfig_->groupColor.push_back (tmp);
}
else
{
- colorTab_ = new ColorTable ("../runtime/rc/colortableRed.z");
+ colorTab_ = new ColorTable ("../runtime/rc/colortableGreen.z");
oconfig_->nnInfluLum = 0.4;
ObjectColor tmp;
oconfig_->groupColor.clear ();