2017_Bteam_alpha_master_ashi
Dependencies: Alpha_Movements BoolProcess DataCaller MD_PID mbed angle
Fork of 2017_Bteam_alpha_master by
ArrowShooter.h
- Committer:
- hirotayamato
- Date:
- 2017-09-27
- Revision:
- 10:94527f9ac652
- Parent:
- 0:7318c0dde997
File content as of revision 10:94527f9ac652:
#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