Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: QEI2 PID VL53L1X_Filter
Diff: wheelchair.h
- Revision:
- 25:58ec657a44f2
- Parent:
- 24:d2f234fbc20d
--- 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