2017 hongo b team
Dependencies: Alpha_Movements BoolProcess DataCaller mbed
ArrowShooter.h
- Committer:
- Komazawa_sun
- Date:
- 2017-09-08
- Revision:
- 0:7318c0dde997
File content as of revision 0:7318c0dde997:
#ifndef ARROW_SHOOTER_H #define ARROW_SHOOTER_H #include "mbed.h" #include "Alpha_ApprI2C_ID.h" #include "ApprI2CMaster.h" #include "MotorDriver.h" #include "ThrowData_MD.h" #include "CtrlMD.h" class ArrowShooter { public: ArrowShooter(I2C *_master, double _strt_inval = 0.01); double fire(); void set_pwm(double pwm, double inval = 0.01); private: ApprI2CMaster to_slave; ThrowData i2c_md; MotorDriver *_MD; CtrlMD motor; Timer time; }; #endif