Get the pulses

Dependents:   Robot_control

Fork of PID by Aaron Berk

Files at this revision

API Documentation at this revision

Comitter:
fabian101
Date:
Wed Oct 26 12:37:22 2016 +0000
Parent:
1:2aabd4372d05
Commit message:
pulsechecker;

Changed in this revision

PulseChecker.cpp Show annotated file Show diff for this revision Revisions of this file
PulseChecker.h Show annotated file Show diff for this revision Revisions of this file
diff -r 2aabd4372d05 -r ae80e9be91d1 PulseChecker.cpp
--- a/PulseChecker.cpp	Fri Oct 21 09:13:17 2016 +0000
+++ b/PulseChecker.cpp	Wed Oct 26 12:37:22 2016 +0000
@@ -6,10 +6,10 @@
 PulseChecker::PulseChecker(){
 }
 
-int PulseChecker::getDistanceHor() {
+int PulseChecker::getDistanceX() {
     return  motorHor.getPulses();
 }
 
-int PulseChecker::getDistanceVer() {
+int PulseChecker::getDistanceY() {
     return  motorVer.getPulses();
 }
diff -r 2aabd4372d05 -r ae80e9be91d1 PulseChecker.h
--- a/PulseChecker.h	Fri Oct 21 09:13:17 2016 +0000
+++ b/PulseChecker.h	Wed Oct 26 12:37:22 2016 +0000
@@ -8,8 +8,8 @@
 public:
 
 PulseChecker();
-int getDistanceHor();
-int getDistanceVer();
+int getDistanceX();
+int getDistanceY();
 
 private: