Fully integrated ToF/IMU codes

Dependencies:   QEI2 PID Watchdog VL53L1X_Filter ros_lib_kinetic

Revision:
20:3c1b58654e67
Parent:
19:5376c858e574
Child:
21:d1faccb96146
--- a/wheelchairControlSideTof/wheelchair.h	Tue Jul 02 17:45:37 2019 +0000
+++ b/wheelchairControlSideTof/wheelchair.h	Tue Jul 02 21:17:03 2019 +0000
@@ -214,7 +214,8 @@
     double vel;
     double test1, test2;
     bool forwardSafety;
-    bool sideSafety; //to check if can turn
+    bool leftSafety; //to check if can turn left
+    bool rightSafety; //to check if can turn right
     double curr_yaw, curr_velS;                                                            // Variable that contains current relative angle
 
 private: