Odometry communication

Dependencies:   PID QEI chair_BNO055 ros_lib_kinetic3

Dependents:   wheelchaircontrolrealtime1

Fork of wheelchaircontrol by Jesus Fausto

Revision:
14:9caca9fde9b0
Parent:
12:921488918749
Child:
17:7f3b69300bb6
--- a/wheelchair.cpp	Thu Aug 09 16:38:54 2018 +0000
+++ b/wheelchair.cpp	Mon Aug 13 18:22:54 2018 +0000
@@ -34,7 +34,7 @@
     out = pc;
     out->printf("wheelchair setup done \n");
     ti = time;
-    wheel = new QEI(Encoder1, Encoder1, NC, EncoderReadRate);
+    wheel = new QEI(Encoder1, Encoder2, NC, EncoderReadRate);
     myPID.SetMode(AUTOMATIC);
 }