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.
Dependents: ActiveCaster_ ActiveCaster_2
Platform.h
- Committer:
- e5119053f6
- Date:
- 2022-01-24
- Revision:
- 0:5e4f1e288e2a
File content as of revision 0:5e4f1e288e2a:
#ifndef PLATFORM_h
#define PLATFORM_h
#include "define.h"
class Platform{
public:
/*********** 変数宣言 ***********/
/*********** 関数宣言 ***********/
Platform(int dir1 = 1, int dir2 = 1, int dir3 = 1, int dir4 = 1);
Platform(int dir1 = 1, int dir2 = 1, int dir3 = 1);
Platform();
void platformInit(coords);
void setPosi(coords);
coords getPosi(int, int, double);
void VelocityControl(coords);
private:
coords Posi;
int preEncX, preEncY;
double pre_angle_rad;
bool init_done;
int rotateDir[4];
};
#endif