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.
Kalman/Encoders/encoders.h@6:5a52c046d8f7, 2012-11-14 (annotated)
- Committer:
- madcowswe
- Date:
- Wed Nov 14 16:49:10 2012 +0000
- Revision:
- 6:5a52c046d8f7
1st Compiling of project sucessful.; Encoders stubbed.; Nothing is instansiated in main.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| madcowswe | 6:5a52c046d8f7 | 1 | |
| madcowswe | 6:5a52c046d8f7 | 2 | #ifndef ENCODERS_H |
| madcowswe | 6:5a52c046d8f7 | 3 | #define ENCODERS_H |
| madcowswe | 6:5a52c046d8f7 | 4 | |
| madcowswe | 6:5a52c046d8f7 | 5 | class Encoders { |
| madcowswe | 6:5a52c046d8f7 | 6 | |
| madcowswe | 6:5a52c046d8f7 | 7 | public: |
| madcowswe | 6:5a52c046d8f7 | 8 | int encoderToDistance(int encoder); |
| madcowswe | 6:5a52c046d8f7 | 9 | int distanceToEncoder(int distance); |
| madcowswe | 6:5a52c046d8f7 | 10 | |
| madcowswe | 6:5a52c046d8f7 | 11 | void resetEncoders(); |
| madcowswe | 6:5a52c046d8f7 | 12 | int getEncoder1(); |
| madcowswe | 6:5a52c046d8f7 | 13 | int getEncoder2(); |
| madcowswe | 6:5a52c046d8f7 | 14 | |
| madcowswe | 6:5a52c046d8f7 | 15 | |
| madcowswe | 6:5a52c046d8f7 | 16 | }; |
| madcowswe | 6:5a52c046d8f7 | 17 | |
| madcowswe | 6:5a52c046d8f7 | 18 | #endif //ENCODERS_H |
