first

Dependents:   17robo_fuzi 17robo_tokyo_kaede

accelerator.h

Committer:
echo_piyo
Date:
2017-09-20
Revision:
0:e7a61140ec7d

File content as of revision 0:e7a61140ec7d:

/*
* [Accelerator]
* 時間を指定し段階的な加減速を行う
*/

#ifndef MBED_ACCELERATOR_H
#define MBED_ACCELERATOR_H

#include "mbed.h"

class Accelerator{
public  :
    void setup(float Acceleration, float time);
    float duty(float target);

private :
    float a;
    float v;
};

#endif