Last change
on this file since 10256 was
9780,
checked in by georgr, 11 years ago
|
WiiCpp library successfully added - won't work without libbluetooth-dev
|
File size:
435 bytes
|
Line | |
---|
1 | #ifndef GYRO_SAMPLE_H |
---|
2 | #define GYRO_SAMPLE_H |
---|
3 | |
---|
4 | #include "sample.h" |
---|
5 | |
---|
6 | class GyroSample : public Sample |
---|
7 | { |
---|
8 | public: |
---|
9 | GyroSample(float r, float p, float y); |
---|
10 | GyroSample(const string& line); |
---|
11 | ~GyroSample() {} |
---|
12 | inline float roll() const { return roll_; } |
---|
13 | inline float pitch() const { return pitch_; } |
---|
14 | inline float yaw() const { return yaw_; } |
---|
15 | |
---|
16 | virtual void save(ofstream& out); |
---|
17 | |
---|
18 | private: |
---|
19 | float roll_; |
---|
20 | float pitch_; |
---|
21 | float yaw_; |
---|
22 | }; |
---|
23 | |
---|
24 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.