Robot's source code

Dependencies:   mbed

Revision:
71:95d76c181b22
Parent:
63:fd9af0693e50
Child:
89:d05001d85a02
--- a/Odometry/Odometry.cpp	Fri Apr 10 15:23:05 2015 +0000
+++ b/Odometry/Odometry.cpp	Fri Apr 10 18:01:54 2015 +0000
@@ -89,6 +89,8 @@
 
 void Odometry::update(float dt)
 {
+    this->dt = dt;
+    
     delta_left = m_qei_left->getPulses() - m_pulses_left;
     m_pulses_left = m_qei_left->getPulses();
     delta_right = m_qei_right->getPulses() - m_pulses_right;