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: Omni/Omni.h
- Revision:
- 0:5d1c1999d61d
diff -r 000000000000 -r 5d1c1999d61d Omni/Omni.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Omni/Omni.h Mon May 07 06:58:54 2018 +0000 @@ -0,0 +1,16 @@ +#ifndef OMNI_H_ +#define OMNI_H_ +#include "Motor_3.h" +#include "mbed.h" +#include "math.h" +class Omni{ +public: + Omni():_Vx(0),_Vy(0),_argular(0){} + void mv_x(double speed); + void mv_y(double speed); +protected: + double _Vx; + double _Vy; + double _argular; +}; +#endif; \ No newline at end of file