TRR 2018 / Mbed 2 deprecated biniou-TRR2019-DLVV

Dependencies:   mbed MPU6050

Revision:
15:0f89d1ff860d
Parent:
9:1b54bac6d9a7
--- a/chassis_mode.cpp	Fri Oct 04 23:31:08 2019 +0000
+++ b/chassis_mode.cpp	Sat Oct 05 01:32:50 2019 +0000
@@ -9,13 +9,25 @@
 {
     b_CHASSIS_Mode.mode(PullUp);
     if(b_CHASSIS_Mode.read()) {
-        b_CHASSIS_with_pushbutton = false;
-        d_CHASSIS_inversion = -1.0;
-        d_CHASSIS_dist_one_step_odom = 0.066;
-    } else {
         b_CHASSIS_with_pushbutton = true;
         d_CHASSIS_inversion = 1.0;
         d_CHASSIS_dist_one_step_odom = 0.066;
+        
+        
+        
+        
+        
+      //  b_CHASSIS_with_pushbutton = false;
+      //  d_CHASSIS_inversion = -1.0;
+      //  d_CHASSIS_dist_one_step_odom = 0.066;
+    } else {
+  //      b_CHASSIS_with_pushbutton = true;
+   //     d_CHASSIS_inversion = 1.0;
+    //    d_CHASSIS_dist_one_step_odom = 0.066;
+    
+            b_CHASSIS_with_pushbutton = false;
+        d_CHASSIS_inversion = -1.0;
+        d_CHASSIS_dist_one_step_odom = 0.066;
     }
     return;
 }
\ No newline at end of file