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.
Control.h@2:43e1336c80e4, 2019-12-27 (annotated)
- Committer:
- OishiHinata
- Date:
- Fri Dec 27 08:16:50 2019 +0000
- Revision:
- 2:43e1336c80e4
- Parent:
- 1:39ada37dfdbe
- Child:
- 3:42a8da1837f7
winter_B
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
OishiHinata | 0:9d5b8d0fb901 | 1 | #ifndef CONTROl_H |
OishiHinata | 1:39ada37dfdbe | 2 | #define CONTROL_H |
OishiHinata | 0:9d5b8d0fb901 | 3 | #include "SBDBT.h" |
OishiHinata | 0:9d5b8d0fb901 | 4 | |
OishiHinata | 0:9d5b8d0fb901 | 5 | class control{ |
OishiHinata | 0:9d5b8d0fb901 | 6 | public: |
OishiHinata | 0:9d5b8d0fb901 | 7 | void setup(); |
OishiHinata | 0:9d5b8d0fb901 | 8 | void run(); |
OishiHinata | 1:39ada37dfdbe | 9 | void OmniControl(); |
OishiHinata | 0:9d5b8d0fb901 | 10 | void ModuleControl(int num, int direction); |
OishiHinata | 1:39ada37dfdbe | 11 | |
OishiHinata | 0:9d5b8d0fb901 | 12 | private: |
OishiHinata | 0:9d5b8d0fb901 | 13 | int s_time; |
OishiHinata | 1:39ada37dfdbe | 14 | int Vx,Vy,wl; |
OishiHinata | 2:43e1336c80e4 | 15 | float bias[6]; //= {0.4f,0.4f,0.4f,0.4f}; |
OishiHinata | 2:43e1336c80e4 | 16 | int pwm[6]; |
OishiHinata | 0:9d5b8d0fb901 | 17 | |
OishiHinata | 0:9d5b8d0fb901 | 18 | }; |
OishiHinata | 0:9d5b8d0fb901 | 19 | |
OishiHinata | 0:9d5b8d0fb901 | 20 | |
OishiHinata | 0:9d5b8d0fb901 | 21 | |
OishiHinata | 0:9d5b8d0fb901 | 22 | #endif |