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_V6 by
Diff: Fahren.h
- Revision:
- 9:bdbf4447b55e
- Parent:
- 7:862d80e0ea2d
--- a/Fahren.h Sun May 06 14:17:07 2018 +0000 +++ b/Fahren.h Sun May 06 15:18:14 2018 +0000 @@ -18,7 +18,7 @@ class Fahren{ public: - Fahren(Controller& controller, EncoderCounter& counterLeft, EncoderCounter& counterRight, Regler& regler, int reglerEin); //Konstruktor + Fahren(Controller& controller, EncoderCounter& counterLeft, EncoderCounter& counterRight, Regler& regler, int reglerEin, IRSensor& iRSensor); //Konstruktor virtual ~Fahren(); @@ -36,6 +36,7 @@ EncoderCounter& counterLeft; EncoderCounter& counterRight; Regler& regler; + IRSensor& iRSensor; Ticker ticker; void getSpeed(); @@ -51,6 +52,7 @@ short stopLeft; float SpeedR; float SpeedL; + float disF; static const float PERIOD; int reglerEin;