Diff: OBROT.h
- Revision:
- 1:a46109178200
- Parent:
- 0:4877273ec8cc
- Child:
- 2:cefcd4cb1777
--- a/OBROT.h Wed Oct 14 03:55:39 2015 +0000 +++ b/OBROT.h Thu Oct 15 03:56:01 2015 +0000 @@ -7,6 +7,11 @@ class XBee; class Steering; class ShootingSystem; +class I2CServo; +class I2CMotor; +class Shooter; +class AmmoSupplier; +class AmmoPusher; namespace I2CDeviceID{ enum ID{ @@ -44,6 +49,18 @@ virtual void updateAction(); + I2CServo** initSteeringServo(); + I2CMotor** initSteeringTire(); + XBee** iniXBee(); + I2CServo* initAngleManager(); + AmmoPusher* initAmmoPusher(); + AmmoSupplier* initAmmoSupplier(); + Shooter* initShooter(); + I2CServo* initPositionManager(); + + mShootingSystem = new ShootingSystem( angleManagerServo, ammoPusher, + ammoSupplier, shooter, positionManager ); + static OBROT* mInstance; Steering* mSteering;