Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Roboshark_V8 by
Fahren.h
- Committer:
- Jacqueline
- Date:
- 2018-04-23
- Revision:
- 1:a95ba1510438
- Parent:
- 0:6d0671ae4648
- Child:
- 4:767fd282dd9c
File content as of revision 1:a95ba1510438:
#ifndef FAHREN_H_
#define FAHREN_H_
#include <mbed.h>
#include "EncoderCounter.h"
#include "Controller.h"
class Fahren{
public:
Fahren(Controller& controller, EncoderCounter& counterLeft, EncoderCounter& counterRight); //Konstruktor
virtual ~Fahren();
void geradeaus();
void rechts90();
void rechts180();
void links90();
private:
Controller& controller;
EncoderCounter& counterLeft;
EncoderCounter& counterRight;
//Variablen die in der Klasse Fahren verwendet werden
double speedRight;
double speedLeft;
short initialClicksLeft;
short initialClicksRight;
short wegLinks;
short wegRechts;
short stopRight;
short stopLeft;
};
#endif
