Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/wiimote/src/external/wiicpp/log/gyrosample.h @ 12095

Last change on this file since 12095 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
6class GyroSample : public Sample
7{
8public:
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
18private:
19        float roll_;
20        float pitch_;
21        float yaw_;
22};
23
24#endif
Note: See TracBrowser for help on using the repository browser.