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: Control.h
- Revision:
- 1:39ada37dfdbe
- Parent:
- 0:9d5b8d0fb901
- Child:
- 2:43e1336c80e4
--- a/Control.h Fri Dec 27 02:58:06 2019 +0000 +++ b/Control.h Fri Dec 27 05:43:32 2019 +0000 @@ -1,19 +1,18 @@ #ifndef CONTROl_H -#define CONRROL_H +#define CONTROL_H #include "SBDBT.h" class control{ public: void setup(); void run(); - - void OmuniControl(); + void OmniControl(); void ModuleControl(int num, int direction); - + private: int s_time; - int Vx,VY,wl; - float bias[4] = {0.4f,0.4f,0.4f,0.4f}; + int Vx,Vy,wl; + float bias[4]; //= {0.4f,0.4f,0.4f,0.4f}; int pwm[4]; };