Updated with Statistics Library
Dependencies: QEI2 chair_BNO055 PID Watchdog VL53L1X_Filter ros_lib_kinetic
Diff: wheelchair.h
- Revision:
- 28:e01253eb6c6f
- Parent:
- 27:da718b990837
--- a/wheelchair.h Fri Jun 28 21:16:26 2019 +0000 +++ b/wheelchair.h Fri Jun 28 23:52:23 2019 +0000 @@ -75,7 +75,7 @@ void velocity_thread(); void rosCom_thread(); void assistSafe_thread(); - + void emergencyButton_thread(); /* Move x millimiters foward using PID*/ void pid_forward(double mm); @@ -128,6 +128,12 @@ PwmOut* x; PwmOut* y; + //Pointers for PCB + PwmOut* on; + PwmOut* off; + + DigitalIn* e_button; //Pointer to e_button + chair_BNO055* imu; // Pointer to IMU Serial* out; // Pointer to Serial Monitor Timer* ti; // Pointer to the timer