![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
vf
Dependencies: Servo ServoArm mbed
Fork of PES_Official by
Diff: Sources/Robot.cpp
- Revision:
- 6:ba26dd3251b3
- Parent:
- 5:1aaf5de776ff
- Child:
- 10:f76476943a6c
diff -r 1aaf5de776ff -r ba26dd3251b3 Sources/Robot.cpp --- a/Sources/Robot.cpp Wed Apr 26 08:05:25 2017 +0000 +++ b/Sources/Robot.cpp Wed Apr 26 14:09:08 2017 +0000 @@ -3,7 +3,7 @@ /* Work in progress -------------------------------------------- */ -Robot::Robot(PwmOut* left, PwmOut* right, DigitalOut* enableSignal, DigitalOut* leds, AnalogIn* FarbVoltage, AnalogIn* frontS, AnalogIn* leftS, AnalogIn* rightS ) +Robot::Robot(PwmOut* left, PwmOut* right, DigitalOut* enableSignal, DigitalOut* leds, AnalogIn* FarbVoltage, AnalogIn* frontS, AnalogIn* leftS, AnalogIn* rightS, Servo* Arm ) { this->powerSignal = enableSignal; this->left = left; @@ -19,7 +19,7 @@ this->leftS = leftS; this->rightS = rightS; - this->arm = arm; + this->Arm = Arm; }