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
- Committer:
 - takedayuya
 - Date:
 - 2019-12-28
 - Revision:
 - 1:9c7744271d72
 - Parent:
 - 0:ed8bf5304fbb
 - Child:
 - 2:8dd5298ca3a0
 
File content as of revision 1:9c7744271d72:
#ifndef CONTROL_H
#define CONTROL_H
class control{
    public:
            void setup();
            void run();
    
    private:
            void OmniControl();
            void ModuleControl(int num,int direction);
            void SolenoidControl();
            
            int s_time;
            int Vx,Vy,wl;
            float bias[4];
            int pwm[4];
            int pre_button[4];
            int PS3_R1_bit();
            int pre_PS3_R1_bit;
            int pre_button_circle[];
            int pre_button_triangle[];
            int pre_button_square[];
            int pre_button_cross[];
};
#endif