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.
Omni/Omni.h@0:5d1c1999d61d, 2018-05-07 (annotated)
- Committer:
- himarsmty
- Date:
- Mon May 07 06:58:54 2018 +0000
- Revision:
- 0:5d1c1999d61d
s
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| himarsmty | 0:5d1c1999d61d | 1 | #ifndef OMNI_H_ |
| himarsmty | 0:5d1c1999d61d | 2 | #define OMNI_H_ |
| himarsmty | 0:5d1c1999d61d | 3 | #include "Motor_3.h" |
| himarsmty | 0:5d1c1999d61d | 4 | #include "mbed.h" |
| himarsmty | 0:5d1c1999d61d | 5 | #include "math.h" |
| himarsmty | 0:5d1c1999d61d | 6 | class Omni{ |
| himarsmty | 0:5d1c1999d61d | 7 | public: |
| himarsmty | 0:5d1c1999d61d | 8 | Omni():_Vx(0),_Vy(0),_argular(0){} |
| himarsmty | 0:5d1c1999d61d | 9 | void mv_x(double speed); |
| himarsmty | 0:5d1c1999d61d | 10 | void mv_y(double speed); |
| himarsmty | 0:5d1c1999d61d | 11 | protected: |
| himarsmty | 0:5d1c1999d61d | 12 | double _Vx; |
| himarsmty | 0:5d1c1999d61d | 13 | double _Vy; |
| himarsmty | 0:5d1c1999d61d | 14 | double _argular; |
| himarsmty | 0:5d1c1999d61d | 15 | }; |
| himarsmty | 0:5d1c1999d61d | 16 | #endif; |