Dependencies: PID_ PWMOut YMotorDriverBase YMotorDriverPusher YMotorDriverServo YMotorDriverShooter YMotorDriverSupplier
Diff: YMotorDriver.h
- Revision:
- 2:2e3b56f045f5
- Parent:
- 0:44b89a084daf
- Child:
- 4:7b3ed02bf4cc
diff -r 793d739ebf5e -r 2e3b56f045f5 YMotorDriver.h --- a/YMotorDriver.h Sun Aug 23 15:19:34 2015 +0000 +++ b/YMotorDriver.h Wed Oct 14 06:05:13 2015 +0000 @@ -7,6 +7,14 @@ class YMotorDriver{ public: + enum MotorTypeID{ + STEERING_0_ID, + STEERING_1_ID, + STEERING_2_ID, + SHOOTER_ID, + GENERAL_ID, + }; + YMotorDriver(); ~YMotorDriver(); @@ -20,12 +28,14 @@ static const char mYMotorDriverSupplierAddress[]; static const char mYMotorDriverPusherAddress[]; static const char mYMotorDriverShooterAddress[]; + static const char mYMotorDriverPositionManagerAddress[]; static const size_t mNumOfYMotorDriverBaseAddress; static const size_t mNumOfYMotorDriverServoAddress; static const size_t mNumOfYMotorDriverSupplierAddress; static const size_t mNumOfYMotorDriverPusherAddress; static const size_t mNumOfYMotorDriverShooterAddress; + static const size_t mNumOfYMotorDriverPositionManagerAddress; char mAddress; };