Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Kalman/Encoders/encoders.cpp
- Revision:
- 6:5a52c046d8f7
diff -r a229f40c1210 -r 5a52c046d8f7 Kalman/Encoders/encoders.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Kalman/Encoders/encoders.cpp Wed Nov 14 16:49:10 2012 +0000
@@ -0,0 +1,23 @@
+
+#include "encoders.h"
+//stub implementation of encoders
+
+int Encoders::getEncoder1(){
+ return 0;
+}
+
+int Encoders::getEncoder2(){
+ return 0;
+}
+
+void Encoders::resetEncoders(){
+ return;
+}
+
+int Encoders::encoderToDistance(int encoder){
+ return encoder;
+}
+
+int Encoders::distanceToEncoder(int distance){
+ return distance;
+}
\ No newline at end of file
