added code for PCB on and off, added pointers to e_button and pwm pins
Dependencies: QEI2 chair_BNO055 PID VL53L1X_Filter
Dependents: wheelchairControlSumer2019
Diff: wheelchair.h
- Revision:
- 25:58ec657a44f2
- Parent:
- 24:d2f234fbc20d
diff -r d2f234fbc20d -r 58ec657a44f2 wheelchair.h --- a/wheelchair.h Sat Oct 27 10:10:14 2018 +0000 +++ b/wheelchair.h Sat Oct 27 16:47:50 2018 +0000 @@ -82,10 +82,15 @@ void pid_twistA(); void pid_twistV(); + + void odomMsg(); + void showOdom(); + /* functions with a predetermined path demmo*/ void desk(); void kitchen(); void desk_to_kitchen(); + private: /* Pointers for the joystick speed*/ PwmOut* x; @@ -96,6 +101,5 @@ Timer* ti; // Pointer to the timer QEI* wheel; // Pointer to encoder QEI* wheelS; // Pointer to encoder - }; #endif \ No newline at end of file