Revision f358d0b2
Tested encoders on scout. Made hacky changes so that it works. Tom needs to clean this up.
scout/encoders/src/encoders.h | ||
---|---|---|
44 | 44 |
Encoder(int n); |
45 | 45 |
int get_ticks(); |
46 | 46 |
private: |
47 |
char filename[60]; |
|
47 | 48 |
std::fstream fticks; /**< The file in sysfs containing tick count */ |
48 | 49 |
}; |
49 | 50 |
|
Also available in: Unified diff