Kobayashi Akihiro / ActiveCaster

Dependents:   ActiveCaster_ ActiveCaster_2

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Platform.h Source File

Platform.h

00001 #ifndef PLATFORM_h
00002 #define PLATFORM_h
00003 
00004 #include "define.h"
00005 
00006 class Platform{
00007 public:
00008     /*********** 変数宣言 ***********/
00009 
00010     /*********** 関数宣言 ***********/
00011     Platform(int dir1 = 1, int dir2 = 1, int dir3 = 1, int dir4 = 1);
00012     Platform(int dir1 = 1, int dir2 = 1, int dir3 = 1);
00013     Platform();
00014     void platformInit(coords);
00015     void setPosi(coords);
00016     coords getPosi(int, int, double);
00017     void VelocityControl(coords);
00018 
00019 private:
00020     coords Posi;
00021     int preEncX, preEncY;
00022     double pre_angle_rad;
00023     bool init_done;
00024     int rotateDir[4];
00025 };
00026 
00027 #endif