Updated references from MPU6050 to BNO080
Dependencies: QEI2 PID Watchdog VL53L1X_Filter BNOWrapper ros_lib_kinetic
Diff: wheelchair.h
- Revision:
- 30:c25b2556e84d
- Parent:
- 29:4519f4cdcb5d
- Child:
- 33:f3585571f11e
--- a/wheelchair.h Mon Jul 01 16:36:47 2019 +0000 +++ b/wheelchair.h Mon Jul 01 21:38:57 2019 +0000 @@ -103,7 +103,7 @@ * the chair, then the chair will safely halt and allow movement in the * * direction opposed to where an object is detected. * ************************************************************************ */ - void assistSafe_thread(); + void ToFSafe_thread(); /************************************************************************* * This method is a thread that will constantly be checking the value * @@ -213,8 +213,8 @@ // Expected data used to compare whether of not there is a ledge. This serves as a ground base // Array is used for calibrating the time of flight sensors // Used to calculate stdev and mean on - int ledgeArrayLF[100]; - int ledgeArrayRF[100]; + + /* Pointers for the joystick speed */ PwmOut* x; @@ -232,6 +232,8 @@ QEI* wheel; // Pointer to encoder QEI* wheelS; // Pointer to encoder VL53L1X** ToF; // Arrays of pointers to ToF sensors + + };