Do NOT modify!
Dependencies: mbed Servo ServoArm
Fork of PES_Yanick by
Sources/Arm.cpp@4:67d7177c213f, 2017-04-19 (annotated)
- Committer:
- beacon
- Date:
- Wed Apr 19 12:23:52 2017 +0000
- Revision:
- 4:67d7177c213f
- Child:
- 6:ba26dd3251b3
l;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
beacon | 4:67d7177c213f | 1 | /*#include "Robot.h" |
beacon | 4:67d7177c213f | 2 | |
beacon | 4:67d7177c213f | 3 | Arm::Arm(Servo joint){ |
beacon | 4:67d7177c213f | 4 | init(joint); |
beacon | 4:67d7177c213f | 5 | } |
beacon | 4:67d7177c213f | 6 | |
beacon | 4:67d7177c213f | 7 | Arm::Arm(){ |
beacon | 4:67d7177c213f | 8 | |
beacon | 4:67d7177c213f | 9 | } |
beacon | 4:67d7177c213f | 10 | |
beacon | 4:67d7177c213f | 11 | void Arm::init(Servo joint){ |
beacon | 4:67d7177c213f | 12 | this.joint = joint; |
beacon | 4:67d7177c213f | 13 | } |
beacon | 4:67d7177c213f | 14 | |
beacon | 4:67d7177c213f | 15 | void Arm::down(){ |
beacon | 4:67d7177c213f | 16 | //do stuff |
beacon | 4:67d7177c213f | 17 | } |
beacon | 4:67d7177c213f | 18 | |
beacon | 4:67d7177c213f | 19 | void Arm::neutral(){ |
beacon | 4:67d7177c213f | 20 | //do stuff |
beacon | 4:67d7177c213f | 21 | } |
beacon | 4:67d7177c213f | 22 | |
beacon | 4:67d7177c213f | 23 | void Arm::back(){ |
beacon | 4:67d7177c213f | 24 | //do stuff |
beacon | 4:67d7177c213f | 25 | } |
beacon | 4:67d7177c213f | 26 | |
beacon | 4:67d7177c213f | 27 | void Arm::setAngle(float angle){ |
beacon | 4:67d7177c213f | 28 | //do stuff |
beacon | 4:67d7177c213f | 29 | } |
beacon | 4:67d7177c213f | 30 | */ |