Gruppe 3
/
PES3
hallo
Fork of PES1 by
Diff: Roboter.h
- Revision:
- 19:adae367247d4
- Parent:
- 18:3ee1b02ed3aa
- Child:
- 20:a90e5b54bf7b
diff -r 3ee1b02ed3aa -r adae367247d4 Roboter.h --- a/Roboter.h Tue May 09 15:25:54 2017 +0000 +++ b/Roboter.h Fri May 12 12:25:34 2017 +0000 @@ -16,8 +16,9 @@ Roboter(AnalogIn* distance, DigitalOut* bit0, DigitalOut* bit1, DigitalOut* bit2, PwmOut* pwmL, PwmOut* pwmR, Servo* servo1, Servo* servo2, EncoderCounter* counterLeft, EncoderCounter* counterRight, DigitalOut* enableMotorDriver); - void bandeAusweichen(); - float readSensor1(); + void ausweichen1(); + int ausweichen2(); + int readSensors(); int pickup(); void anfahren(float cam); int geradeFahren(); @@ -25,6 +26,7 @@ int stateAuswahl(float cam, int temp); void initSpeedcontrol(); void speedCtrl(); + int back();