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:
- 0:9d5b8d0fb901
- Child:
- 1:39ada37dfdbe
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Control.h Fri Dec 27 02:58:06 2019 +0000 @@ -0,0 +1,23 @@ +#ifndef CONTROl_H +#define CONRROL_H +#include "SBDBT.h" + +class control{ + public: + void setup(); + void run(); + + void OmuniControl(); + 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 pwm[4]; + +}; + + + +#endif \ No newline at end of file