![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
a
Dependencies: Servo ServoArm mbed
Fork of PES_Official-TestF by
Diff: Sources/Greifer.cpp
- Revision:
- 15:915f8839fe48
- Parent:
- 13:6c1f8e35b242
- Child:
- 17:4e1be70bdedb
--- a/Sources/Greifer.cpp Wed May 10 19:53:08 2017 +0000 +++ b/Sources/Greifer.cpp Thu May 11 18:57:45 2017 +0000 @@ -26,7 +26,7 @@ int Greifer::take() { - this->greifer->position(-150.0f); + this->greifer->position(-155.0f); static int time = 0; if( time < 10 ){ time++; @@ -50,4 +50,9 @@ time = 0; return 1; } +} + +void Greifer::nullPos() +{ + this->greifer->position(0.0f); } \ No newline at end of file