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.
Diff: include/dynamics.hpp
- Revision:
- 26:53b793b7a82f
- Parent:
- 25:8a34b8d6cc6e
- Child:
- 28:21773a6fb6df
--- a/include/dynamics.hpp Tue Nov 19 20:42:01 2013 +0000 +++ b/include/dynamics.hpp Sun Nov 24 06:00:21 2013 +0000 @@ -1,5 +1,8 @@ #include "mbed.h" +#include "QEI.h" +#include "include/motor.hpp" + #ifndef DYNAMICS_HPP #define DYNAMICS_HPP @@ -11,16 +14,19 @@ class Kangaroo { public: - Kangaroo(); + Kangaroo(Motor M1, Motor M2, QEI e1, QEI e2); void zero(); void start(); void run(); void stop(); void updatePose(); + void testEncoders(Serial pc); private: QEI enc1; QEI enc2; + Motor m1; + Motor m2; }; #endif \ No newline at end of file