Updated references from MPU6050 to BNO080
Dependencies: QEI2 PID Watchdog VL53L1X_Filter BNOWrapper ros_lib_kinetic
Diff: wheelchair.h
- Revision:
- 7:5e38d43fbce3
- Parent:
- 6:0cd57bdd8fbc
- Child:
- 10:e5463c11e0a0
diff -r 0cd57bdd8fbc -r 5e38d43fbce3 wheelchair.h --- a/wheelchair.h Fri Jul 20 17:54:43 2018 +0000 +++ b/wheelchair.h Sun Jul 22 06:15:03 2018 +0000 @@ -15,9 +15,9 @@ class Wheelchair { public: - Wheelchair(PinName xPin, PinName yPin, Serial* pc); + Wheelchair(PinName xPin, PinName yPin, Serial* pc, Timer* time); void move(float x_coor, float y_coor); - void turn_right(Serial); + void turn_right(); void turn_left(); void forward(); void backward(); @@ -30,6 +30,7 @@ PwmOut* y; //chair_BNO055* imu; chair_MPU9250* imu; + Serial* out; }; #endif \ No newline at end of file