summaryrefslogtreecommitdiffstats
path: root/Srf10.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-04-19 01:00:05 +0200
committerneoraider <devnull@localhost>2007-04-19 01:00:05 +0200
commite7eeeb0d4e825a175c67cd1c0256c91362517ebb (patch)
tree32cd6997837c9decb909dc36824ea7abc896c88e /Srf10.h
parent847645b3cc8dd32b51f9c0a42d0b4308fa40e4a5 (diff)
downloadrc2007-rescue-e7eeeb0d4e825a175c67cd1c0256c91362517ebb.tar
rc2007-rescue-e7eeeb0d4e825a175c67cd1c0256c91362517ebb.zip
Entfernungssensoren in Ordnung gebracht, Hindernisumfahrung implementiert.
Diffstat (limited to 'Srf10.h')
-rw-r--r--Srf10.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Srf10.h b/Srf10.h
index c7417b8..1b69018 100644
--- a/Srf10.h
+++ b/Srf10.h
@@ -19,6 +19,7 @@ private:
int firmware;
long distance;
+ bool has_distance;
Srf10Units unit;
@@ -39,6 +40,7 @@ public:
long updateDistance();
long getDistance() {return distance;}
+ bool hasDistance() {return has_distance;}
};
#endif