summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/ovision/see/skittle.hh
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/ovision/see/skittle.hh')
-rw-r--r--2005/i/robert/src/ovision/see/skittle.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/2005/i/robert/src/ovision/see/skittle.hh b/2005/i/robert/src/ovision/see/skittle.hh
index fb5ff77..b41d154 100644
--- a/2005/i/robert/src/ovision/see/skittle.hh
+++ b/2005/i/robert/src/ovision/see/skittle.hh
@@ -45,7 +45,7 @@ class Skittle
/// Enum pos
enum Pos {up, down, farAway, error};
/// Courbure
- double bend_;
+ Pos bend_;
/// Position de la bande réfléchissante
Pos reflectBand_;
@@ -58,6 +58,9 @@ class Skittle
bool analyse (const Zone &zone, const std::vector<Zone> &listReflectBand);
/// Affiche les infos sur la quille
void show () const;
+ /// Recupère les données
+ inline void get (Pos &standing, double &pcX, double &pcY)
+ {standing = bend_; pcX = pcX_; pcY = pcY_;}
private:
/// Recherche de la composante principale